I have following setup in my azure. I have Private network setup. in which my azure functions are running. I am using managed identity to access KeyVault information.
so far i have tried creating private endpoint, added system identity in azure function. added same user with proper role assignment in key vault, Updated IP address from Custom domain section in azure function to add in Key Vault's Firewalls and Virtual Network section, updated all nuget packages in my project. but none of those approach resolved Error:
Azure.Identity.AuthenticationFailedException: ManagedIdentityCredential authentication failed: Service request failed - 400 Bad Request
Also, My code is using ManagedIdentityCredential for credentials. but nothing is working.