how to fix azure app configuration connectivity issue using managed idnetity

Shaheda Ansari 0 Reputation points
2025-05-20T12:27:13.27+00:00

we have created Azure app configuration and used it through managed identity.

for this we follow the steps as below

enable system assigned identity in app service

In app configuration we have add role as configuration data reader to app service

use managed identity credential in program.cs class

and publish it.

after publish it gives error forbidden

RequestFailedException: Service request failed. Status: 403 (Forbidden) Headers: Date: Fri, 16 May 2025 06:38:09 GMT Connection: keep-alive x-ms-request-id: 6ec4c8d6-0a32-497e-a30e-a94712bf4a82 x-ms-client-request-id: f7a09a6f-3957-4997-916e-9742ee3ba97c x-ms-correlation-request-id: 6ec4c8d6-0a32-497e-a30e-a94712bf4a82 Strict-Transport-Security: max-age=31536000; includeSubDomains Access-Control-Allow-Origin: * Content-Length: 0

Developer technologies | .NET | .NET Runtime

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.