You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.
Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for Azure AI Foundry accounts in the Azure CLI Cognitive Services module by upgrading to the 2025-06-01 API version and implementing new functionality for AI Foundry account management.
Upgrades azure-mgmt-cognitiveservices package from 13.5.0 to 13.7.0
Adds --allow-project-management parameter for creating AI Foundry accounts
Enables --kind parameter updates for converting between OpenAI and AIServices account types
Updates all tests to use the new API version and improves test reliability
Reviewed Changes
Copilot reviewed 23 out of 37 changed files in this pull request and generated no comments.
File
Description
setup.py
Bumps azure-mgmt-cognitiveservices dependency to version 13.7.0
requirements.py3.*.txt
Updates package version in all platform-specific requirement files
test files
Adds decorator imports, updates API versions, and improves test implementations with better resource management
Azure Pipelines successfully started running 3 pipeline(s).
CarlOchs
changed the title
[Cognitive Services] az cognitiveservices account: Add support for AI Foundry accounts in create and update subcommands
[Cognitive Services] az cognitiveservices account:Add support for AI Foundry accounts in create and update subcommands
Sep 18, 2025
Azure Pipelines successfully started running 3 pipeline(s).
CarlOchs
changed the title
[Cognitive Services] az cognitiveservices account:Add support for AI Foundry accounts in create and update subcommands
[Cognitive Services] az cognitiveservices account: Add support for AI Foundry accounts in create and update subcommands
Sep 19, 2025
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
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.
Related command
az cognitiveservices account create
az cognitiveservices account update
Description
This PR adds initial support for AI Foundry Service account management:
--allow-project-managementargument (defaulttruefor AIServices kind), which is required for creating an AI Foundry accountkindduring an updateTesting Guide
Creating AI Foundry Service account
az cognitiveservices account create -g testazcli -n testaifoundry--kind AIServices --allow-project-management true --sku S0 --assign-identity -l eastus --yesUpgrade Azure OpenAI account to AI Foundry/Rollback to Azure OpenAI
History Notes
[Cognitive Services]
az cognitiveservices account create: Add--allow-project-managementargument[Cognitive Services]
az cognitiveservices account update: Add--kindargument for OpenAI<->AIServices accountThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.