Questions tagged [azure-service-principal]

235 questions
0
votes
1 answer

Difference between Role Assignments and appRoleAssignments in Microsoft Azure

What is the difference between Role Assignments and appRoleAssignments in Microsoft…
0
votes
1 answer

How to get appRoleAssignedTo for Microsoft Azure Applications?

I am trying to get appRoleAssignedTo for my Azure Tenant, now suppose if I have 10 applications under that tenant I will have to make 10 different calls by passing the servicePrincipal Id for all the 10 applications. GET…
0
votes
1 answer

How to query service principle details with service principle with Azure python sdk

I want to query service principle expire datatime with Azure python SDK. I have already a service principle with "GlobalReader" permission. I can authenticate with below code. >>> from azureml.core.authentication import…
Veerendra K
  • 2,145
  • 7
  • 32
  • 61
0
votes
2 answers

Azure AD - Can a Service Principal assign itself RBAC role in an Azure Subscription?

I have a Web API that is protected by Azure AD. I have created an app registration for the Web API that only allows users from that Azure AD to access the API (i.e. single tenant). This process also created a Service Principal in that tenant. What I…
Gaurav Mantri
  • 128,066
  • 12
  • 206
  • 241
0
votes
2 answers

How to use $expand while making microsoft API call?

I am trying to get all servicePrincipals for a tenant using this API call, I want to expand it to get ServicePrincipals role assignment, I am using the following GET request but I am not getting the required…
0
votes
1 answer

Which one to use with my API App, is it Managed Identity or Azure AD Service Principal

I have an API App that i created and i would like to grant the API App access to my Azure Blob Storage Account and assign the required RBAC permissions to the API App to the Blob Storage Account. Let's say i want to give "Storage Account…
0
votes
1 answer

Why does user account is being used but not the Service Principal?

I have logged in using my account "emj" and executed the following Azure CLIs on Jenkins az account show az login --service-principal -u <> -p <> -t > az account set -s <> az account show and below is…
One Developer
  • 99
  • 5
  • 43
  • 103
0
votes
1 answer

Reset the client secret of Azure Service Principal using powershell

Using powershell commands i want to reset the Service Principal client secret. I followed the below steps from the article https://learn.microsoft.com/en-us/powershell/azure/create-azure-service-principal-azureps?view=azps-5.8.0 but it didnot reset…
0
votes
1 answer

Insufficient privileges to complete the operation in Azure Active Directory

I am a guest user in a tenant with owner role in one of the subscriptions. There is an Azure AD app that is created and of which I am an owner. I can see it in my - 'Owned Applications', however, when I open the app it says - No Access. Insufficient…
0
votes
0 answers

Use Azure service principal on VM

I have a service account that I am using together with node and it works as expected, msRestNodeAuth.loginWithServicePrincipalSecret however when I deploy it to our VM with the same client-id,secret etc. it stops working. It keeps telling me…
0
votes
1 answer

Create database inside Azure Cosmos DB account with RBAC

I use java version 4 SDK for azure cosmos db. I want to create database inside azure cosmos db account with service principal, not with masterkey. I assigned to service principal DocumentDB Account Contributor and Cosmos DB Operator built-in-role…
0
votes
1 answer

Authentication Key in Azure App registration?

How to find Authentication Key in Azure App registration? Where to find/create it?
Yash Tamakuwala
  • 1,789
  • 1
  • 24
  • 33
0
votes
1 answer

When an application object in app registrations is changed, how to update the service principal that is provisioned from it

For an Azure multi-tenant application, when we make any changes to the application object, the changes are only reflected in its service principal object in the application's home tenant (the tenant where the application is registered). How about…
0
votes
1 answer

Technical Query : Reason behind some Service principal features

Recently observed that one can create multiple Service principals with the same name in Azure AD : Note: They have different clientIds but same name. This in turn creates issues while creating users within Azure SQL. So any reason why same name App…
Nandan
  • 3,939
  • 2
  • 8
  • 21
0
votes
1 answer

How to obtain bearer token for azure service principal with Angular?

I need to get the bearer access token for azure service principal. I want to use it in Angular application to embed power bi report. Given that I have principial Id and secret and tenant id, how can I obtain it? to be more specific: I have service…