Merged
Conversation
…ure#7278) Improved error handling for 403 (Forbidden) during custom create upload. Users now see a clear message about required roles with links to prerequisites and RBAC documentation. Bumped version to 0.0.5-preview. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR bumps the azure.ai.models azd extension to 0.0.5-preview and improves the user experience for permission-related failures during azd ai models custom create, adding more explicit guidance when the upload location request fails with 403 (Forbidden).
Changes:
- Add a dedicated 403-handling branch in
custom_create.gowith guidance and documentation links. - Bump extension version to
0.0.5-preview(version.txt,extension.yaml). - Add a
0.0.5-previewentry to the extensionCHANGELOG.md.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| cli/azd/extensions/azure.ai.models/internal/cmd/custom_create.go | Adds special-case output and guidance for 403 errors when requesting an upload location. |
| cli/azd/extensions/azure.ai.models/version.txt | Updates extension version string to 0.0.5-preview. |
| cli/azd/extensions/azure.ai.models/extension.yaml | Updates extension manifest version to 0.0.5-preview. |
| cli/azd/extensions/azure.ai.models/CHANGELOG.md | Adds release note entry for 0.0.5-preview describing the 403 UX improvement. |
saanikaguptamicrosoft
approved these changes
Mar 24, 2026
github-actions bot
added a commit
to weikanglim/azure-dev
that referenced
this pull request
Mar 24, 2026
- Update cli/version.txt to 1.23.12 (released 2026-03-24) - Add 1.23.12 changelog entry: revert -e flag regression, telemetry fixes (Azure#7276) - Add 1.23.11 changelog entry: --timeout flag, Copilot init improvements, security fixes, CopilotService gRPC extension (Azure#7221) - Update azure.ai.agents to 0.1.18-preview - Add 0.1.18-preview changelog: azd ai agent init from template (Azure#7147/Azure#7256) - Add 0.1.17-preview changelog: banner, container settings (Azure#7225) - Add 0.1.16-preview changelog: files command group, security hardening, breaking change to show/monitor commands (Azure#7190) - Create cli/azd/extensions/azure.ai.agents/AGENTS.md with contributor guidance, error handling conventions, and release preparation steps (Azure#7111/Azure#7225) - Update azure.ai.models to 0.0.5-preview - Add 0.0.5-preview changelog: improved 403 error handling (Azure#7279) - Add Error Handling in Extensions section to extensions-style-guide.md (Azure#7111) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the
azure.ai.modelsextension to version0.0.5-previewand focuses on improving the user experience when encountering permission errors during the custom model creation process. The most significant change is enhanced error handling for 403 (Forbidden) errors, providing users with clearer guidance and links to relevant documentation. Other changes include version updates across related files.Error handling improvements:
custom createuploads incustom_create.go. The new logic displays a clear error message, guidance on required roles, and links to prerequisites and RBAC documentation to help users resolve permission issues.Version updates:
0.0.5-previewinextension.yaml,version.txt, and added a corresponding entry to theCHANGELOG.md. [1] [2] [3]