question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Creating the service principal requires http

See original GitHub issue

Module: 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
drguthalscommented, Oct 26, 2021

I’ve merged an update that suggests using api:// for now.

1reaction
unaihuete93commented, Oct 26, 2021

using api:// on the lab VM works

I think the best approach is using the Cloud Shell without any api:// or https://, which is the most common way of doing it (that is normally used for defining APP ID URI of App Registration).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found