-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for User Assigned Managed identity - CosmosDB NoSQL / Container Apps #1939
Comments
I realized that if I didn't specify the "AccountKey" parameter in the connection string that the code would drop into trying to connect with a managed identity. However, I am using a user-assigned managed identity and now have this issue: fail: Azure.DataApiBuilder.Service.Startup[0]
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] It appears this is a known issue with SDK's in Azure Container Apps as referenced here: microsoft/azure-container-apps#442 You may need to modify how you are getting the credential to allow for the config file to specify the AZURE_CLIENT_ID |
Thank you for raising this issue. We are tracking this ask via #1944. Currently, only system assigned managed identities are supported. |
we are actually using a user assigened managed identity and this does work. you need to specify the clientid in an environment variable called AZURE_CLIENT_ID in the container apps app. |
What happened?
A bug happened!
Version
Microsoft.DataApiBuilder 0.9.7+e560142426d1c080b9fd7b7fabff51a276f6bf61
What database are you using?
CosmosDB NoSQL
What hosting model are you using?
Container Apps
Which API approach are you accessing DAB through?
GraphQL
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: