Add Application Settings to the App Service
To access the Cosmos DB, the SharePoint Online app service needs to be configured with the application settings outlined in this article. Once you have completed this, you download the publish profile file. This file is used when publishing the SharePoint Online microservice to Azure.
Add the application settings
Navigate to the Configuration blade for the app service.
Add the application settings specified in the below table.
Name | Value |
---|---|
CosmosDbAuthKey | Primary key of the Cosmos DB |
CosmosDbContainerId | Name of the Cosmos DB container |
CosmosDbCosmosDbEndpoint | URI for the Cosmos DB |
CosmosDbDatabaseId | Name of the Cosmos DB |
WEBSITE_HTTPLOGGING_RETENTION_DAYS | 7 |
WEBSITE_LOAD_USER_PROFILE | 1 |
UpdateUserProfileProperties |
Download the publish profile file
Navigate to the Overview blade for the App Service.
Download the publish profile file.
Next Steps
Add secret to key vault in EmpowerID Tenant
Publish the SharePoint Online Microservice to Azure