Skip to content

Managed Identity Auth for Cosmos DB for Deployment and Updates to the Application #693

@JediMaster12

Description

@JediMaster12

I have been following the manual steps to build out Simple Chat Instances, then using vscode to push the code to the App Service with everything on Private Endpoints. I have run into the following error which prevents the app from starting or causes issues with intial deployment as it can't make the cosmos db or the collections in the Cosmos DB account using Managed Identity. I have seen this on initial deployment as well as updates. I switch to Key based auth and it works just fine.

Initial Deployment Error

Image

Update Error

Image

This is the RBAC Role inside of Cosmos I assigned using PowerShell

Image

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions