My Web App does not have access to my key vault using managed identity

Ezra 0 Reputation points
2025-03-13T16:37:59.43+00:00

I have set up a key vault and a web app. The web app has a managed identity, which has the role "Key Vault Secrets User". My key vault has public network access enabled with "enable from selected networks". The box "Allow trusted Microsoft services to access your resource" is checked. However, when I run my app, I get this log: "Client address is not authorized and caller is not a trusted service."

When I allow access from all networks, the access works fine.

What am I missing?

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
807 questions
0 comments No comments
{count} votes

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.