Azure-Samples / Azure-Samples/contoso-creative-writer

[Auto] AI Gallery Standard Validation

Open
#90 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
428
Forks
1.7k
PR merge metrics
No merged PRs in 30d

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:
- [x] README.md File.
- [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 'ai57-53734459r42' created and set as default.
Initialize bicep provider

Packaging services (azd package)

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


Packaging service web
(✓) Done: Packaging service web
- 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%2Fai57-53734459r42-1761579171

(✓) Done: Resource group: rg-ai57-53734459r42 (5.427s)

ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:

Deployment Error Details:
InvalidTemplateDeployment: The template deployment failed because of policy violation. Please see details for more information.
RequestDisallowedByPolicy: Resource 'st56lrbt7wggtjq' was disallowed by policy. Reasons: 'This request was denied due to internal policy. Anonymous blob access is not allowed. For more information, refer to https://aka.ms/denyblobaccess.'. See error details for policy resource IDs.

TraceID: 802be320dd7b53c9752e104e0d624409

- [x] azd down.

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

Contributor guide

Open the contributing guide

Research direction

Start by running azd up and inspect the infrastructure definitions in the infra folder, along with azure-dev.yml and azure.yml. Trace the storage resource named in the deployment error and address the policy violation preventing anonymous blob access; done means azd up provisions successfully under the stated Azure policy.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.