Reset Environment with service Principle #526
Unanswered
h-karthik12
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I even tried from Azure DevOps it fails in the Command as well as in the ci-cd tasks |
Beta Was this translation helpful? Give feedback.
0 replies
-
In order for Service Principals to be permitted to talk to the Admin endpoint, they first need to be registered with the Admin endpoint per the "Registering an admin management application" section of these docs. Service Principals created by PAC via |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to reset the env with service principle and i have added the SP as the system Admin. When i run the
pac admin reset --environment https://envurl.com
i get this error
Error: The service principal with id '8ce***' for application 3afcf*** does not have permission to access the path 'https://10.0.7.17:20054/providers/Microsoft.BusinessAppPlatform/scopes/admin/environments?`$expand=permissions&api-version=2020-08-01' in tenant 764****.
Not sure what is that i am missing. I can do the same with normal user. Is this feature not available for SP or some privileges needed to be added?
Beta Was this translation helpful? Give feedback.
All reactions