Details
New environment 'ai69-27197r59' created and set as default.
Initialize bicep provider
Packaging services (azd package)
Packaging service api_and_frontend
(✓) Done: Packaging service api_and_frontend
Provisioning Azure resources (azd provision)
Provisioning Azure resources can take some time.
Initialize bicep provider
Reading subscription and location from environment...
Subscription: Azure SDK Test Resources - AI Apps (90b334cb-854f-4207-a89c-cf44ab8673fe)
Location: Sweden Central
Creating a deployment plan
Comparing deployment state
Creating/Updating resources
You can view detailed progress in the Azure Portal:
https://portal.azure.com/#view/HubsExtension/DeploymentDetailsBlade/~/overview/id/%2Fsubscriptions%2F90b334cb-854f-4207-a89c-cf44ab8673fe%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Fai69-27197r59-1761585813
(✓) Done: Resource group: rg-ai69-27197r59 (5.944s)
(✓) Done: Log Analytics workspace: log-h2gpvydk72gls (31.158s)
(✓) Done: Storage account: sth2gpvydk72gls (24.63s)
(✓) Done: Application Insights: appi-h2gpvydk72gls (27.344s)
(✓) Done: Azure AI Services: aoai-h2gpvydk72gls (31.023s)
(✓) Done: Azure AI Services Model Deployment: aoai-h2gpvydk72gls/gpt-4o-mini (3.142s)
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:
Deployment Error Details:
UnmatchedPrincipalType: The PrincipalId 'deaf25ccdfa94a28a6a14b9247afdac4' has type 'ServicePrincipal' , which is different from specified PrinciaplType 'User'.
UnmatchedPrincipalType: The PrincipalId 'deaf25ccdfa94a28a6a14b9247afdac4' has type 'ServicePrincipal' , which is different from specified PrinciaplType 'User'.
UnmatchedPrincipalType: The PrincipalId 'deaf25ccdfa94a28a6a14b9247afdac4' has type 'ServicePrincipal' , which is different from specified PrinciaplType 'User'.
UnmatchedPrincipalType: The PrincipalId 'deaf25ccdfa94a28a6a14b9247afdac4' has type 'ServicePrincipal' , which is different from specified PrinciaplType 'User'.
TraceID: f38f964c8ef4fe67bce2e8740c418303
AI Gallery Standard Validation: NON-CONFORMING
Severity: High
Please review the warnings below. If your template is already published, it may be subject to removal from a collection.
Head to this link for more information: template-lifecycle
Repository Management:
LICENSE.md File.
SECURITY.md File.
CODE_OF_CONDUCT.md File.
CONTRIBUTING.md File.
ISSUE_TEMPLATE.md File.
Topics on repo contains ['azd-templates', 'ai-azd-templates'].
Source code structure and conventions:
Functional Requirements:
❌ azd up. [How to fix?]
Details
New environment 'ai69-27197r59' created and set as default.
Initialize bicep provider
Packaging services (azd package)
Packaging service api_and_frontend
(✓) Done: Packaging service api_and_frontend
Provisioning Azure resources (azd provision)
Provisioning Azure resources can take some time.
Initialize bicep provider
Reading subscription and location from environment...
Subscription: Azure SDK Test Resources - AI Apps (90b334cb-854f-4207-a89c-cf44ab8673fe)
Location: Sweden Central
Creating a deployment plan
Comparing deployment state
Creating/Updating resources
You can view detailed progress in the Azure Portal:
https://portal.azure.com/#view/HubsExtension/DeploymentDetailsBlade/~/overview/id/%2Fsubscriptions%2F90b334cb-854f-4207-a89c-cf44ab8673fe%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Fai69-27197r59-1761585813
(✓) Done: Resource group: rg-ai69-27197r59 (5.944s)
(✓) Done: Log Analytics workspace: log-h2gpvydk72gls (31.158s)
(✓) Done: Storage account: sth2gpvydk72gls (24.63s)
(✓) Done: Application Insights: appi-h2gpvydk72gls (27.344s)
(✓) Done: Azure AI Services: aoai-h2gpvydk72gls (31.023s)
(✓) Done: Azure AI Services Model Deployment: aoai-h2gpvydk72gls/gpt-4o-mini (3.142s)
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:
Deployment Error Details:
UnmatchedPrincipalType: The PrincipalId 'deaf25ccdfa94a28a6a14b9247afdac4' has type 'ServicePrincipal' , which is different from specified PrinciaplType 'User'.
UnmatchedPrincipalType: The PrincipalId 'deaf25ccdfa94a28a6a14b9247afdac4' has type 'ServicePrincipal' , which is different from specified PrinciaplType 'User'.
UnmatchedPrincipalType: The PrincipalId 'deaf25ccdfa94a28a6a14b9247afdac4' has type 'ServicePrincipal' , which is different from specified PrinciaplType 'User'.
UnmatchedPrincipalType: The PrincipalId 'deaf25ccdfa94a28a6a14b9247afdac4' has type 'ServicePrincipal' , which is different from specified PrinciaplType 'User'.
TraceID: f38f964c8ef4fe67bce2e8740c418303
Security Requirements: