Azure-Samples / Azure-Samples/get-started-with-ai-chat

[Auto] AI Gallery Standard Validation

Open
#128 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
280
Forks
401
Avg merge
3d 14h
Merged PRs (30d)
1

Description

# 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](https://aka.ms/ai-gallery/template-lifecycle)

## Repository Management:
- [ ] :warning: README.md File. [How to fix?]

- [ ] :warning: ## Features is missing in README.md.

- [x] LICENSE.md File.
- [x] SECURITY.md File.
- [x] CODE_OF_CONDUCT.md File.
- [x] CONTRIBUTING.md File.
- [x] ISSUE_TEMPLATE.md File.
- [x] Topics on repo contains ['azd-templates', 'ai-azd-templates'].

## Source code structure and conventions:
- [x] azure-dev.yml File.
- [x] azure.yml File.
- [x] infra Folder.
- [x] .devcontainer Folder.

## Functional Requirements:
- [ ] :x: azd up. [How to fix?]


Details


New environment 'ai99-18231r79' created and set as default.
Initialize bicep provider

Packaging services (azd package)

Packaging service api_and_frontend
(✓) Done: Packaging service api_and_frontend
- No artifacts were found


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%2Fai99-18231r79-1772082795

(✓) Done: Resource group: rg-ai99-18231r79 (6.715s)
(✓) Done: Storage account: stmt4gfkby2b7zy (24.871s)
(✓) Done: Log Analytics workspace: log-mt4gfkby2b7zy (28.13s)
(✓) Done: Application Insights: appi-mt4gfkby2b7zy (6.507s)
(✓) Done: Foundry: aoai-mt4gfkby2b7zy (29.799s)
(✓) Done: Azure AI Services Model Deployment: aoai-mt4gfkby2b7zy/gpt-4o-mini (2.671s)
(✓) Done: Foundry project: aoai-mt4gfkby2b7zy/proj-mt4gfkby2b7zy (41.33s)

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: d4fd58003e7c009b89689635471f39b6

- [x] azd down.

## Security Requirements:
- [x] Security scan is not performed.

Contributor guide

Open the contributing guide

Research direction

Start with README.md and inspect the infra folder, azure-dev.yml, and azure.yml. Re-run azd up to confirm the UnmatchedPrincipalType failure, then verify that the README includes a Features section and that provisioning completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, documentation, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.