MS-AOAI-Feature-Assistants tag to Disabled. This tag opts the account out of the Assistants API surface while leaving other model and inference features unchanged.
Prerequisites
- The Azure CLI installed.
- You’re signed in to Azure with
az login. - Owner or Contributor access on the target subscription or resource group.
Disable assistants and classic agents
To disable creation, set theMS-AOAI-Feature-Assistants tag to Disabled on the Azure OpenAI account.
Re-enable assistants and classic agents
To re-enable creation, set the same tag toEnabled.
What gets disabled
When the tag is set toDisabled, the following Assistants API operations are blocked on the account:
- Create assistant
- Update assistant
- Create agent
- Update agent
- Create thread
- Create run
- Create thread and run
- Create assistant file
Enabled.