Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

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

Download the publish profile file

  1. Navigate to the Overview blade for the App Service.

  2. Download the publish profile file.

    Image Added


...

Next Steps

Publish the microservice to Azure