Details
New environment 'ai-230' 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%2Fai-230-1758948527
(✓) Done: Resource group: rg-ai-230 (5.284s)
(✓) Done: Log Analytics workspace: log-4xmtvt3xaertq (29.222s)
(✓) Done: Storage account: st4xmtvt3xaertq (24.969s)
(✓) Done: Application Insights: appi-4xmtvt3xaertq (4.206s)
(✓) Done: Azure AI Services: aoai-4xmtvt3xaertq (31.69s)
(✓) Done: Azure AI Services Model Deployment: aoai-4xmtvt3xaertq/gpt-4o-mini (3.702s)
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: fb4741851bf7a795ea3ada650e441bf2
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 'ai-230' 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%2Fai-230-1758948527
(✓) Done: Resource group: rg-ai-230 (5.284s)
(✓) Done: Log Analytics workspace: log-4xmtvt3xaertq (29.222s)
(✓) Done: Storage account: st4xmtvt3xaertq (24.969s)
(✓) Done: Application Insights: appi-4xmtvt3xaertq (4.206s)
(✓) Done: Azure AI Services: aoai-4xmtvt3xaertq (31.69s)
(✓) Done: Azure AI Services Model Deployment: aoai-4xmtvt3xaertq/gpt-4o-mini (3.702s)
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: fb4741851bf7a795ea3ada650e441bf2
Security Requirements: