Connect your Azure OpenAI to the AI Advisor
On a Marketplace instance the AI Advisor runs against an Azure OpenAI resource in your own subscription. An Admin connects it once from Admin › Instance Configuration, under AI Advisor › Azure OpenAI connection. Chat data stays in your tenant and usage lands on your own Azure bill. By connecting, you accept the End User License Agreement for AI features, linked from the form. Until a connection is saved, only the customer Admin sees the AI Advisor, with a message that it is not set up yet.
Only a customer Admin can create or change the connection. A Super Admin sees a read-only summary of it. This page applies to Marketplace instances only; on Express instances the Advisor runs on Azure OpenAI resources that Dr Migrate manages.
Before you start¶
You need an Azure OpenAI resource in your subscription with at least one chat model deployment. Models from the GPT-5 and GPT-4o families are recommended; other models work, but answers may be slower or less accurate.
Choose a sign-in method¶
System identity is the recommended option: the instance signs in to your resource with its own Azure identity, so no secret is stored. To allow it, grant the instance's identity the role Cognitive Services OpenAI User on your Azure OpenAI resource: open the resource in the Azure portal, select Access control (IAM), add a role assignment for Cognitive Services OpenAI User, and assign it to the instance's identity under Managed identity. The form shows the identity's name and ID with Copy ID and Copy Azure CLI command buttons; the copied command creates the role assignment for you. Azure takes a minute or two to apply it. The Azure portal calls this identity type "Managed identity"; Dr Migrate calls the same thing "System identity".
API key is the alternative when you cannot grant the role: paste the resource's endpoint and one of its API keys. The key is stored encrypted on your instance, never shown again, and never written to configuration tables or logs.
Make the connection¶
Choose the sign-in method¶
Choose System identity or API key. With System identity, complete the role assignment shown under "Give this instance access first".
Enter the endpoint¶
With System identity, select Find my resources to list the Azure OpenAI resources the identity can reach, with name, region and resource group, and pick one to fill the endpoint. You can also paste the endpoint directly; this is the only option in API key mode, where you paste the key as well. Invalid endpoints are rejected inline with the accepted host endings named.
Pick the models¶
The Heavy model and Light model dropdowns stay disabled until the endpoint, and in API key mode the key, are valid; the form then lists the resource's deployments automatically. Embedding models are hidden. Heavy is pre-selected with the most capable reasoning chat deployment, and Light with that model's mini variant, or "Same as heavy" when there is none. Heavy answers the chat; Light handles quick background tasks. If the deployments cannot be listed, the form shows the cause.
Test and save¶
Select Test connection. Within about 15 seconds the result shows each deployment's model name and response time, or a specific failure: a missing role assignment or rejected key, a deployment name that does not exist on the resource, or an endpoint the instance cannot reach. Save and enable unlocks once the test passes. The first save installs the Advisor services on your instance, which usually takes a few minutes; you can leave the page, and the status shows Connected with the Advisor running once the install completes. Later saves, for example after editing the connection, take effect in a minute or two.
Editing the endpoint, sign-in method or key refreshes the deployment list and clears the last test result, so test again before saving.
Remove the connection¶
Remove on the connected summary asks you to confirm, then removes the connection and the stored key and permanently deletes every user's saved conversations. It cannot be undone. Turning the Enable AI Advisor switch off deletes the saved conversations in the same way. Nothing changes on the Azure OpenAI resource itself.
See AI Advisor for enabling and disabling the Advisor, and the AI Advisor user guide for how users work with it.

