azurerm_cognitive_account - Support for OpenAI to AIServices upgrade/rollback scenario#31063
Conversation
teowa
left a comment
There was a problem hiding this comment.
Hi @promisinganuj , thank you for the PR. I have added a few comments, hope you may take a look.
Review comments incorporated Co-authored-by: teowa <104055472+teowa@users.noreply.github.com>
|
@teowa , I have addressed the review comments. Please take another look. |
|
Thanks @promisinganuj , LGTM! |
…is-upgrade' into 31044-support-aoi-ais-upgrade
magodo
left a comment
There was a problem hiding this comment.
Thanks for this PR!
I have left some additional mostly minor comments that once addressed this should be good to merge 👍
|
@magodo, thanks for the review. I have responded to your feedback, please take another look. |
|
@promisinganuj Thanks! LGTM now! |
catriona-m
left a comment
There was a problem hiding this comment.
Thanks @promisinganuj LGTM!
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |


Community Note
Description
This PR it to enhance the Cognitive Services Account to support the upgrade path from Open AI account (
kind=OpenAI) to Azure AI Foundry (kind=AIServices), and rollback of such an upgrade (AIServices->OpenAI) as described here.Here is a summary of the changes:
kindattribute.project_management_enabledfromtruetofalsefor kindOpenAI.OpenAItoAIServices(upgrade) and fromAIServicestoOpenAI(rollback) without forcing new resource creating.Microsoft.CognitiveServices/accounts-AllowProjectManagementnot set tofalseforAIServicestoOpenAIrollback scenario Azure/azure-rest-api-specs#38678) where theallowed_project_managementproperty is not reset tofalseas part of the rollback.pointerpackage instead ofutils.PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_cognitive_account- Support forOpenAItoAIServicesupgrade/rollback scenario [Support for OpenAI to AIServices upgrade inazurerm_cognitive_account#31044]This is a (please select all that apply):
Related Issue(s)
Fixes #31044
AI Assistance Disclosure
AI is used only to validate the changes and ensuring the best practices are applied.
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the provider.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Note
If this PR changes meaningfully during the course of review please update the title and description as required.