How to connect to App Configuration from Azure Function with User Managed Identity

Ning Zhu 131 Reputation points
2024-10-11T23:23:21.74+00:00

Hi,

I have set up a user managed identity for several Azure Functions to access some resources, in particular App Configuration. However, I am getting access errors, while switch to System Managed Identity everything is working fine.

Any changes I need for using User Managed Identity instead of System Managed Identity?

Thanks a lot!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,256 questions
Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
241 questions
0 comments No comments
{count} votes

Accepted answer
  1. hossein jalilian 9,465 Reputation points
    2024-10-11T23:43:22.75+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    You need to make a few specific changes compared to using a System-Assigned Managed Identity.

    • Assign the User-Assigned Managed Identity to the Function App
    • For User-Assigned Managed Identities, you need to set a special property called keyVaultReferenceIdentity on the Function App
    • Ensure that the User-Assigned Managed Identity has the necessary RBAC permissions to access the App Configuration

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.