azure ad create service principals with role and scopes predefined
Quite a handy command to create key features for a service principal in Microsoft Entra. ✌
az ad sp create-for-rbac --name {app-name} --role contributor --scopes /subscriptions/{subscription-id}/resourceGroups/exampleRG --json-auth
Comments