Creating the service principal requires http
See original GitHub issueModule: 2
Lab/Demo: 02
Description of issue
The command az ad sp create-for-rbac -n "https://<spName>" --role owner --scopes subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>
seems to require http instead of https.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11 (9 by maintainers)
Top Results From Across the Web
Work with Azure service principal using the Azure CLI
Learn how to create and use service principals with the Azure CLI. Use service principals to gain control over which Azure resources can...
Read more >Azure create servicePrincipal results in Insufficient ...
I am trying to create a new service principal using the command below using azure cli v2.0. az ad sp create-for-rbac --name ServicePrincipalName ......
Read more >Create a service principal
The service principal requires the legacy Azure Active Directory Graph > Application.ReadWrite.OwnedBy permission and the User Access Administrator role for the ...
Read more >Creating a Service Principal with the Azure CLI
A service principal is an identity your application can use to log in and access Azure resources. In this post I'll show you...
Read more >Create a Microsoft Azure service principal
You create a special programmatic account — a Microsoft Azure service principal — to generate the required credentials. Before you begin. Roles required:....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’ve merged an update that suggests using
api://for now.using
api://on the lab VM worksI think the best approach is using the Cloud Shell without any
api://orhttps://, which is the most common way of doing it (that is normally used for defining APP ID URI of App Registration).