- Docs
- Models and integrations
- Azure OpenAI
Azure OpenAI
Azure OpenAI signs in with your Entra identity. No key exists, so there is none to export or leak. This page was written for a resource in the Canada East region.
-
Install the
azureextra (the same form as the Install page) and sign in as the identity the server will use:Terminal window pip install "nuramesh[azure]"az loginA managed identity works the same way. If
HTTP_PROXY,HTTPS_PROXYorALL_PROXYis set, theaz,azdand PowerShell sign-ins are skipped. -
Give that identity the role Cognitive Services OpenAI User on the resource (Cognitive Services User for Azure AI).
-
Create the connection through the API or the Connect dialog on the Models page of the app. The CLI cannot do it; this is its real answer:
the CLI can only connect the openai-compatible provider; every other provider is changed through the API or the appThe API call is
PUT /v1/models/connections/azure-openaiwith an admin session and a body ofendpoint(https://<name>.openai.azure.com),statusandreason. -
Test it. This is one metadata
GET, no model call:Terminal window nuramesh models test azure-openai --team my-team --human human:younuramesh models connections --team my-team -
Add the model’s catalog entry, with its processing scope (
canadaorglobal), and its price, on the Models page or through the API. Then check that a run would start:Terminal window nuramesh models check --team my-team --data synthetic
Good to know
Section titled “Good to know”- The adapter calls
<endpoint>/openai/v1/chat/completionswith a bearer token only; the model field is your deployment name. - NuraMesh does not retry an Azure OpenAI call. A 429, 500 or 503 fails that call after one request.
- A 401 or 403 names the role above and
az login, and never shows a token or the response body. - Customer data needs a catalog entry whose processing scope is
canada. Aglobalentry takes synthetic data only.
These steps were checked against the adapter with a fake transport. No live Azure call was made for this page, and only the CLI refusal in step 3 was run as a command.
Was this page helpful?