Skip to main content

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.

Procedure

Step 1 - Add the application settings

  1. Navigate to the Configuration blade for the app service.

  2. Add the application settings specified in the below table.

    NameValue
    CosmosDbAuthKeyPrimary key of the Cosmos DB
    CosmosDbContainerIdName of the Cosmos DB container
    CosmosDbCosmosDbEndpointURI for the Cosmos DB
    CosmosDbDatabaseIdName of the Cosmos DB
    WEBSITE_HTTPLOGGING_RETENTION_DAYS7
    WEBSITE_LOAD_USER_PROFILE1
    UpdateUserProfilePropertiesFunction URL for the master key

Step 2 - Download the publish profile file

  1. Navigate to the Overview blade for the App Service.
  2. Download the publish profile file.