2 Answers
Hi Babum,
Thanks for posting and sorry you’re having a bit of trouble there! It would help greatly if you could provide specifics of your problem – for instance, is this a specific hands-on lab you’re struggling with? Or are you trying to follow along with a demo which might not be compatible with our Cloud Playground? A link is useful, as well as the steps you’re taking.
We are able to provide service principles for Azure within hands-on labs which you can add as a manual service connection in DevOps, but the automatic option will not work.
If you can share some specifics we’ll take a look! Thanks 🙂
Jonathon
A Cloud Guru
Any update on this one?
Hi Jonathon, thanks a lot for getting back to me quickly.
PS C:WINDOWSsystem32> az ad sp create-for-rbac -n "bmserviceprincipal" –role contributor –scopes /subscriptions/0f39574d-d756-48cf-b622-0e27a6943bd2/resourceGroups/1-9ec0885b-playground-sandbox Changing "bmserviceprincipal" to a valid URI of "http://bmserviceprincipal", which is the required format used for service principal names Directory permission is needed for the current user to register the application. For how to configure, please refer ‘https://docs.microsoft.com/azure/azure-resource-manager/resource-group-create-service-principal-portal‘. Original error: Insufficient privileges to complete the operation. PS C:WINDOWSsystem32>
Please refer to the error here
"Directory permission is needed for the current user to register the application."