Hi @Shree
Thank you for posting this in Microsoft Q&A.
I understand you are encountering an authorization issue while attempting to perform actions on the Azure App Configuration API.
Can you please check azure roles to your application to manage azure resources.
Azure resource manager also exposes role based authorization for a given principal, which would give it rights on Azure resources. It appears the service principal doesn't have rights to read from that subscription.
Go to portal and find your subscription
, click on Access Control (IAM)
and then click on Add role assignment
with correspond service principal
which you use to acquire token.
For your reference: https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal?tabs=current
Hope this helps. Do let us know if you any further queries.
Thanks,
Navya.
If the answer is helpful, please click "Accept Answer" and kindly "upvote" it.