This is the backend of the Office Add-in, Azure OpenAI for Word.
- Register application on Azure.
- Deploy to Azure App Services.
- Search for "App Services"
- Click "Create".
- Create a web app.
Select your resource group and choose a unique name for your app.
- Configure environment variables.
After deployed, go to its configuration section on the sidebar, and set the following environment variables.AZ_APP_ID
: the ID of the application we just registerCLIENT_ID
: same as previous variableAUTHORITY
:https://login.microsoftonline.com/<tenant ID>
REDIRECT_URI
: the value that we will fill in at the next step
- Search for "App Services"
- Add Redirect URI
Go to the page of the application we just registered. The hostname in the URI should be the one provided by App Service we create in previous step. Besides, remember to make it issue both ID token and access token.