Study FAQ
What should I check when creating a Microsoft Foundry project fails?
Also asked as 2
- Why can Azure CLI fail to create a child project under a Foundry account?
- Which Azure CLI and account prerequisites matter when Foundry project creation fails?
Answer
For the current Foundry Azure CLI flow, check Azure CLI 2.80.0 or later, the target subscription and resource group, and a supported region. Use an identity with permission to create the resource and project. The quickstart uses Contributor or Owner at resource-group scope.
The parent account is created with kind AIServices, SKU S0, a custom subdomain, --assign-identity, and --allow-project-management true. The last flag must be set at account creation. If Azure CLI rejects the account project command itself, check az version. If the service reports that a managed identity is required, inspect the actual account identity and project-management setting.
From a signed-in shell, run the read-only az cognitiveservices account show and az cognitiveservices account project show commands with your account, resource group, and, for the child command, project name. Query properties.provisioningState for each. The documented success value is Succeeded for both.
Quickstart: Set up Microsoft Foundry resources · az cognitiveservices account project | Microsoft Learn
Full explanation
AI-300: Provisioning Foundry Resources and Projects
Study guide · AI-300
Read the full explanation