Questions tagged [azure-service-principal]
235 questions
1
vote
1 answer
Application Registration Limit for Azure Tenant
I wanted to know if there is any limit on the number of app registrations that can be created under one Tenant or under one root-level management group in Microsoft Azure.
I am trying to make a call to this particular…

Shambhavi Rai
- 321
- 4
- 19
1
vote
1 answer
How to generate new credentials before exipiry of the service principal secret
Hi I want to auto generate client secret for service principal before the current client secret expires automatically what would be the best approach for the same.

ashish
- 273
- 1
- 5
- 16
1
vote
1 answer
Use Powershell Az Module to Publish Revision to Developer Portal
I have a powershell script that runs within my Azure Devops Release Pipepline for my API which uses the swagger doc from my API to automatically push changes into APIM.
The missing step is that once I have made the revisions, I need to update the…

Josh
- 16,286
- 25
- 113
- 158
1
vote
1 answer
Using real data when mocking objects in unit test
I am mocking in some unit tests, and I am wondering whether is fine or recommended to use real data (I am dealing with non-sensitive data) when mocking.
For instance, I am testing the user's members which are allowed to authenticate in an…

bgarcial
- 2,915
- 10
- 56
- 123
1
vote
1 answer
Access application id of a system managed identity in Azure in C#
currently, we are developing an Azure app service application, which has a system managed identity assigned during setup of the app service. We use the managed identitiy with RBAC to access other Azure resources and that is working fine.
Now I want…

Stati
- 45
- 1
- 4
1
vote
1 answer
How can I find resource group associated with service principal?
Problem
I have an azure pipeline YAML file. It is able to run through a service connection which accesses a service principal with all the proper authority, etc.
But I am now trying to clean up the code; we have multiple service principals running…

Mike Williamson
- 4,915
- 14
- 67
- 104
1
vote
1 answer
How to grant a Service Principal read access to the Active Directory Groups?
Currently I am trying to read the ObjectId of an Active Directory Group from a GitHub Action where I am logged in with a Service Principal.
The Service Principal is a Contributor with the following additional…

Paul R.
- 182
- 2
- 10
1
vote
1 answer
Azure AD: Does the app registration process takes time to register self-signed certificate?
I am creating an application in Azure tenant with Microsoft graph API. At the same time, I am also uploading a self-signed certificate for an application.
The OAuth client can request an access token by providing the user assertion. User assertion…

Pooja_2304
- 53
- 6
1
vote
2 answers
In Azure DevOps pipelines, using variables in the powershell task results in ArgumentParseError when doing az login
I have a Powershell task as such in my pipeline:
- task: PowerShell@2
inputs:
targetType: 'inline'
script: |
az login --service-principal --username $env:servicePrincipalId --password $env:servicePrincipalKey --tenant $env:tenantId
…

Samad Ahmed
- 159
- 1
- 6
1
vote
2 answers
Azure DevOps - Service Principle Not Working
I have an Azure DevOps and trying to connect to Azure Key Vault using Service principle.
I have added the service principle in the Azure KeyVault's Access Policy with the Secret permission as 'Get & List'
But When I add a Library for a variable…

Rasmi
- 501
- 1
- 6
- 26
1
vote
0 answers
az aks update-credentials - How to ignore Resource Not Found errors
When trying to update an AKS cluster with new service principal credentials using az aks update-credentials command, it is blocked with an error about a Resource not Found (a Microsoft.OperationalInsights resource).
Is there a way to run this…

imriss
- 1,815
- 4
- 31
- 46
1
vote
0 answers
Azure ML Service Principal Password
We want to use a service principal in Azure ML to access the Workspace as described here, and are wondering how to save the SP password. It says correctly to not store it in the juypter sources, but to use os.environ['AML_PRINCIPAL_PASS'] instead.…

dashambles
- 529
- 8
- 22
1
vote
1 answer
What are the required permssions for Azure DevOps to execute Get-AzureADServicePrincipal cmdlet?
I am deploying Azure Function based application using Azure DevOps pipeline, as part of deployment the required infrastructure is also provisioned (using ARM templates). The Azure function needs to access Microsoft Graph & SharePoint REST API's, to…

user527614
- 465
- 5
- 19
1
vote
1 answer
Accessing Azure Storage via certificate based service principal credentials; azure.identity vs azure.common.credentials
I have experimented trying to access Azure Blob Storage using service principal credentials through Python SDK & have some confusions I thought the community could help with.
#1 azure.common.credentials vs…

PAN
- 11
- 4
0
votes
0 answers
Cannot Migrate my CSP application to use granular delegated admin privileges using partner center api
I cannot migrate my CSP APP with the api.partnercenter.microsoft.com/v1/customers/{}/applicationconsents api. I've used https://learn.microsoft.com/en-us/partner-center/developer/gdap-and-secure-application-model and…

rednass
- 9
- 1