Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.14 KB

File metadata and controls

37 lines (25 loc) · 1.14 KB

Create a new user and group in Microsoft Entra ID

This is a scenario for creating a new user and group in Microsoft Entra ID.

How to use

# Move to the scenario directory
cd infra/scenarios/create_user_group

# Log in to Azure
az login

# (Optional) Confirm the details for the currently logged-in user
az ad signed-in-user show

# Set environment variables
export ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv)

# Initialize the Terraform configuration.
terraform init

# Deploy the infrastructure
terraform apply -auto-approve

# Destroy the infrastructure
terraform destroy -auto-approve

References

API Permissions