Connect Azure OpenAI to the AI assistant
Lees dit artikel in het Nederlands
If your organization works with Microsoft and Copilot, you can run the AI features of OGSM.online on your own Azure OpenAI. The requests then run under your own contract with Microsoft. All data the AI features use goes only to your own Azure OpenAI resource. This applies to the AI assistant, with the content of your OGSMs, the conversations and the attachments. The AI assistant is available on the Pro subscription. It also applies to the suggestions for titles and new items, which work on every subscription. You can choose Azure OpenAI on every subscription, as long as the use of AI is allowed.
You set this up in two steps. First you prepare a model in Azure and Microsoft Foundry. Then you enter the details of that model in OGSM.online. You need access to Azure and you must be a super admin in OGSM.online. For the other AI settings, read the article: AI settings
Prepare a model in Azure
- Create an Azure OpenAI resource at portal.azure.com in a European region, for example Sweden Central.
- Open the resource in Microsoft Foundry (ai.azure.com).
- Under Deployments, deploy a model. Note: the connection only works with OpenAI GPT models, such as gpt-5.4-mini. Other models in Foundry, such as those from Mistral, DeepSeek or Grok, don’t work (yet).
- Choose Data Zone Standard (EU) as the deployment type if it is offered. Otherwise, choose Global Standard.
- Note the name you give the deployment. That is the deployment name you will enter in OGSM.online.
Not every region offers every model. UK West, for example, does not offer gpt-5.4-mini. If you don’t see the model, create a new resource in another European region. A deployment always uses the region of its resource.
Find the endpoint and the key
Besides the deployment name, you need the endpoint and a key. You find them in the Azure portal on the resource, under Keys and Endpoint. You can use either Key 1 or Key 2 as the key.
The endpoint is the address of your resource. It has one of these forms:
https://<resource>.openai.azure.comhttps://<resource>.services.ai.azure.comhttps://<resource>.cognitiveservices.azure.com
If you paste a longer address, such as the URL of a project in Foundry, that is fine. OGSM.online keeps only the address of the resource.
Set up Azure OpenAI in OGSM.online
- Go to the Admin > OGSM menu and scroll to the AI section.
- Set Allow the use of AI to AI functionality is available for users.
- On the Pro subscription, also set Allow AI assistant to AI assistant is available for users. This setting is off by default.
- Under AI model, choose Azure OpenAI. A card with the Azure fields appears.
- Enter the details from Azure:
- Endpoint: the address of your resource, for example
https://my-resource.openai.azure.com. - Deployment name for the AI assistant: the name you gave the deployment in Foundry. It can differ from the name of the model. Without the Pro subscription, this field is called Deployment name for the AI suggestions.
- Deployment name for short tasks (optional): for short tasks, such as suggesting a title, a smaller and cheaper model is often enough. If you leave this field empty, OGSM.online uses the deployment above.
- API key: Key 1 or Key 2 of the same resource as the endpoint.
- Endpoint: the address of your resource, for example
- Click Save Azure settings. OGSM.online saves the fields in the card and tests the connection right away. The result appears below the button.

The rest of the page saves automatically, as always. The fields in the Azure card are only saved with Save Azure settings.
After saving, the API key field stays empty. Below it, you see that a key is saved, with its last 4 characters. Leave the field empty to keep that key. If you change the endpoint, enter the key again as well. If you leave the key field empty, the change is not saved and the old endpoint and key stay as they were. If you switch back to Mistral, which needs no key, OGSM.online forgets the Azure key. That way a key is never sent to an address other than the one it belongs to.
The connection test
After saving, OGSM.online first tests the deployment of the AI assistant. If you entered a different deployment for short tasks, that one follows. If everything works, you see a message below the button, for example ‘Connection tested. Azure OpenAI answers through deployment “gpt-5.4-mini”.’ With a deployment for short tasks, the message names both: ‘Connection tested. Azure OpenAI answers through both deployments, “gpt-5.4-mini” and “short-tasks”.’
If the test fails, you only see a red message in the card. It starts with ‘Saved, but’, so your details are stored. Correct them and save again. The first error decides which message you see:
- ‘Saved, but Azure doesn’t know the deployment “…” at this endpoint. Check the deployment name in Foundry.’ You see this message when a deployment name is wrong. It names the deployment that doesn’t exist. That can also be the deployment for short tasks. Copy the name from Foundry again and check that the deployment belongs to the same resource as the endpoint.
- ‘Saved, but Azure refuses the key. Check that the key and the endpoint belong to the same resource.’ Copy both the key and the endpoint again from Keys and Endpoint on the same resource.
- ‘Saved, but the endpoint can’t be reached. Check the address of the resource.’ Check that the address has one of the three forms above and that the resource still exists.
- ‘Saved, but the test question to Azure failed (error code …).’ Azure returned a different error. With error code 400, the model in your deployment usually doesn’t support what OGSM.online needs. Use an OpenAI GPT model instead, as described under preparing the model. With other codes, such as 429 or 500, try again later with the button. If it still fails, send the error code to help@toolsfactory.nl.

If a required field is missing or the endpoint is not an Azure address, OGSM.online saves nothing. This also happens when you change the endpoint without entering the key again. You then see ‘Change not saved’ and a message at the field. The test does not run.
Information security and privacy
With Azure OpenAI, your organization chooses the processor and the region. Microsoft processes the requests under your own contract, and the terms of your Azure account apply. With Data Zone Standard (EU), processing stays within the EU. With Global Standard, Microsoft may also process a request in a region outside the EU. Microsoft bills the usage through your Azure subscription.
All data the AI features use goes only to your own Azure OpenAI resource. This includes attachments in a conversation with the AI assistant (Pro subscription). OGSM.online converts Word and PowerPoint files to text on its own server, without an external service. Only that text goes to Azure. From Word, the text, headings and tables are kept; from PowerPoint, the text of each slide in slide order. Layout, images, formatting and speaker notes are left out. OGSM.online converts Excel files to CSV on its own server, one block per worksheet, and sends them only to Azure as well. This happens with every provider, so Excel files never go to Mistral. If converting a file fails, the AI assistant is told that the attachment was skipped. PDFs and images go to Azure directly.
OGSM.online’s helpdesk chat, the question mark at the bottom right, keeps running on Mistral (EU). It has no access to the data in your OGSMs: it only sees the question you type and looks up the answer in the help articles.
OGSM.online stores the key per organization. Only super admins can change it. Nobody can read the key back: the settings show only its last 4 characters.
