docs: Add explicit User-Assigned Managed Identity (UAMI) example for Cosmos DB binding#128221
docs: Add explicit User-Assigned Managed Identity (UAMI) example for Cosmos DB binding#128221paulyuk wants to merge 1 commit intoMicrosoftDocs:mainfrom
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@paulyuk : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit d0e81ad: ✅ Validation status: passed
For more details, please refer to the build report. |
PRMerger Results
|
There was a problem hiding this comment.
Pull request overview
This PR adds explicit documentation for configuring Azure Cosmos DB connections using User-Assigned Managed Identity (UAMI) in Azure Functions. The existing documentation mentioned the credential and clientId properties but lacked a concrete example that developers could directly reference and copy.
Changes:
- Added a dedicated "User-assigned managed identity" subsection with property details, complete JSON configuration example, and best practice guidance
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
Summary
This PR adds a clearer example showing how to configure Cosmos DB connections using a User-Assigned Managed Identity (UAMI) with explicit app settings.
Problem
The existing documentation mentions
credentialandclientIdproperties for user-assigned managed identities but lacks a concrete JSON example.Solution
Added a new "User-assigned managed identity" subsection with:
accountEndpoint,credential,clientId)Changes
includes/functions-cosmosdb-connections.md: Added UAMI configuration exampleRelated