I’m trying to access Azure KeyVault and create Key & Secret using .NET 6.
While running the code, it’s throwing an exception 403.
This is the code:
Here is the error:
These are the roles assigned at the Azure Subscription Level:
Registered App under Microsoft Entra Id and given API permissions for that app:
I tried many ways for inserting keys, failed. Could anyone suggest what configuration I’m missing or missed during creating the resource?
1