Questions tagged [azure-service-principal]
235 questions
0
votes
1 answer
What access is required for azure Service principle to list down the user information from AAD
What access is required for azure Service principle to list down the user information from AAD, Directory Read, group read, user read graph api permissions were given to the Service principal.
When using the Az AD user list command in azure CLI it…

natesh y
- 1
0
votes
1 answer
App roles & groups claim (emitted as roles) in Azure Active Directory App
I have registered an Azure AD Application with an App role called read.
User Principal
If a user principal is assigned to the app role read and the groups claim (emit_as_roles enabled) is added in the Azure AD App, only the AAD security groups show…

Johannes Schmidt
- 371
- 3
- 12
0
votes
2 answers
Azure Rest API : "Management group XYZ does not have any valid subscriptions"
I received error message:
{
"error": {
"code": "BadRequest",
"message": "Management group XYZ does not have any valid subscriptions. (Request ID: c6a2b5dc-f198-5365-804e-04240727f3a8)"
}
}
(postman) when I'm trying to get…

Kacper Gostek
- 1
- 1
0
votes
1 answer
How to add another Service principal as an owner to App Registration
I have two Apps Registered in Azure (Let's say App_One and App_Two) I want to add App_Two as an owner to App_One.
I tried to add using below AZ CLI command.
az ad app owner add --id --owner-object-id…

Container-Man
- 434
- 1
- 6
- 17
0
votes
1 answer
PowerBI api getting all reports - contact owner : I can only see the infos or workspace-report that my SPN has access
Im taking a chance after searching hours on the Microsoft website and in the examples script.
Is there anyone familiar with:
https://wabi-us-north-central-d-primary-redirect.analysis.windows.net/metadata/reports/$reportId/contacts.
I am looking to…

jmartel
- 3
- 2
0
votes
2 answers
Terraform : How do I set the value of accessTokenAcceptedVersion to 2 for a Azure Service Principal?
I have used the below terraform script to provision the service principal in Azure
resource "azuread_application" "app" {
display_name = "app"
owners = "xxxx"
}
resource "azuread_service_principal" "principal" {
application_id =…

One Developer
- 99
- 5
- 43
- 103
0
votes
1 answer
run terraform in azure pipeline to deploy to another tenant
I use 2 Azure tenants:
tenantA for storing repository and pipeline
tenantB for deploying infrastructure, terraform (backend) state file is stored here too
so I grab repo from tenantA, connect with az login to tenantB and run terraform commands. Now…

mauek unak
- 702
- 2
- 11
- 28
0
votes
2 answers
"Error: Error building ARM Config" when migrating from local to azurerm backend
I am using Terraform to create a storage container on Microsoft Azure to store remote state files. To create the storage container, I have wrote the appropriate terraform code and applied the infrastructure, using a local state file. The problem is…

ds1k99
- 1
0
votes
3 answers
Execute Azure Data Factory from Power Automate with Service Principal
In a Power Automate Flow I've configured a Create Pipeline Run step using a Service Principal. The Service Principal is a Contributor on the ADF object. It works fine when an Admin runs the Flow, but when a non-Admin runs the follow the Flow fails…

ozo
- 21
- 4
0
votes
1 answer
Least privileged access to Azure service principle to add or remove user in Azure AD group using Terraform automation
Least privileged access to Azure service principle to add or remove user from Azure AD group. We are trying to automate the process of add or remove user from Azure AD group using Terraform. What is the least privilage access we need for the service…

natesh y
- 1
0
votes
1 answer
Get "Roles and administrators" for Service Principal
In Azure Portal, when I look at a Service Principal's "Roles and administrators" tab I see several roles, including a couple of custom roles:
I can use PowerShell to get the Role Definition:
PS C:\> Get-MgRoleManagementDirectoryRoleDefinition…

RansomV
- 41
- 1
- 7
0
votes
1 answer
A ServicePrincipal, created with Microsoft Graph Service Client, won't show up as an 'Enterprise Application' in AAD. What am I missing?
I'm trying to create my app registration (Application) and enterprise application (ServicePrincipal) from code. But, though the service principal is created, it does not show when I go to Enterprise Applications in de AAD admin center.
Below is the…

E. Hekkert
- 139
- 7
0
votes
1 answer
MSoffice (source) to Azure Data Factory Gen2 (Sink) connection issue
I am trying to Connect my pipeline to Azure Data Storage Gen2. The Test Connection is successful when using Account Key to connect, but as i am importing from MS 365, Only Service Principal ID & Key are supported as shown in the image. enter image…

Naßah
- 1
- 1
0
votes
2 answers
Power BI Embedded - .net 6
We are in the process of upgrading our web application to .net 6 and Power BI embedded is an issue. We had this previously working with a master username / password but this is no longer supported.
I've followed the steps outlined here to create…

nickgru
- 51
- 2
- 7
0
votes
1 answer
How to add service principle to azure blob container to manage ACL using java (azure sdk for java)
Using the Azure SDK for Java, I have created a container in my Azure storage account. To control ACL for the newly added container, I must now add the service principle.
Is there a way to use Java to handle ACL and incorporate the service…

OnkarG
- 267
- 1
- 3
- 16