Questions tagged [azure-service-principal]
235 questions
0
votes
1 answer
Logic App to Azure DevOps REST API with Managed Identity
Is it possible to authenticate Logic App calls to DevOps REST API using Managed Identity?
The documentation shows only SDK possibilities, but no logic app examples provided.
I tried Azure DevOps connector, but it uses your personal credentials and…
0
votes
0 answers
Azure DevOps Authentication (multi-tenant)
I have strange question.
I have two Azure tenants. Let's say "Tenant A" and "Tenant B" and there is an Azure DevOps "linked" to Tenant A—let's call it "DevOps A". I have an app registration resource in Tenant A, which is a multi-tenant. In Tenant B,…

Ali Hasan
- 121
- 8
0
votes
1 answer
How to grant a Managed Identity permissions to an Azure SQL Database using IaC?
I use GitHub actions to spin up Azure resources from scratch using Infrastructure as Code (IaC). In my case Bicep, but it could be Terraform. This includes an Azure SQL Server, a SQL Database, and a User Assigned Managed Identity. After the…

Thomas Jespersen
- 11,493
- 14
- 47
- 55
0
votes
0 answers
How to send logstash logs to Azure Event Hub using o Azure SPN as credentials
I have the SPN information (tenant-id, app-id, app-name and secret).
I only found the INPUT plugin, but in my case I need an OUTPUT plugin (official).
I tried use unofficial plugins but get some errors, so I gave up that use this solution. Has any…
0
votes
1 answer
Authentication not granted for service principal token in MS Fabric API using Python
I am trying to connect to OneLake API in Microsoft Fabric using Python in VScode.
So far I have
Registered an app in Azure with these API permissions
Then created a secret for my service principal
Then I try to get the token with this function,…

Jon
- 51
- 6
0
votes
1 answer
Change user from dbo to Azure managed identity? (confirm connection?)
Essentially, I want to eliminate the need for an account to maintain the connection and use a system-assigned managed identity to maintain the connection.
I followed the steps for this tutorial from the Microsoft documentation - Tutorial: Connect to…

anemoneyy
- 1
- 1
0
votes
1 answer
Can't set Databricks account admin using Terraform
I want to set the account admin for a service principal in order to create the Unity Catalog metastore. The Terraform code looks like this:
data "databricks_service_principal" "application" {
count = var.environment == "dev" ? 1 : 0
…

Niklas Letz
- 23
- 4
0
votes
1 answer
Creating a Security Group with Owner doesn't work using Service Principal in PowerShell
I'm trying to create an Azure security group across PowerShell and connected with a service principal.
My service principal has a Custom Role with microsoft.directory/groups/create permission allowing me to create Security Groups and Microsoft 365…

Fernando Ahumada
- 11
- 3
0
votes
2 answers
How to find the Service Connection used in Azure DevOps in the Azure Portal?
I am using an Azure DevOps pipeline where i use different Service Connections for connecting to Azure ARM and Docker. When I create a connection a corresponding service principal gets created in Azure.
I created a connection for Azure ARM
I want to…

Coder
- 39
- 6
0
votes
1 answer
azurerm service principle role attachment propagation issue
I have a service principle (enterprise application), which is granted access into many azure tenants, to allow deploying infrastructure into different azure accounts/subscriptions.
For deploying Azure resource via terraform, I am creating roles for…

Gorgon_Union
- 563
- 2
- 8
- 24
0
votes
0 answers
Append Azure Service Principal SAML notification emails instead of replacement
Unable to append the notification email addresses on separate fields in Azure Service principal's SAML certificate notification email field.
I've tried the below; however, it adds to the existing notification email but not on separate notification…
0
votes
1 answer
How to configure FluxCD in AKS to use service principal to pull from AzureDevops repo?
During the setup of a AKS cluster (with terraform, but I don't think it's relevant in this context) I want to enable and configure the flux extension.
Flux should, of course, pull the yaml-files from some Azure DevOps Repo. In my case, I am trying…

Luka Klarić
- 323
- 2
- 16
0
votes
2 answers
Azure Devops pipeline --> Git clone with service Principal
I previously was using a PAT token to authenticate with Azure DevOPS GIT in order to download submodules. Now I am trying to authenticate with a Service Principal since it is newly supported by Microsoft.
Given documentation and here, I came up with…

Michele
- 148
- 1
- 2
- 11
0
votes
2 answers
How to connect to Azure Devops from Python via SPN?
I have Python code which uses a PAT token to authorize with Azure Devops.
On a high level, the Python file extracts header from a location within the repo, authenticated to Azure Devops via PAT tokens, and copies those headers to Azure Devops…

vedant
- 1
- 1
0
votes
1 answer
Updating service principal profile is not allowed on cluster using managed identity
My AKS cluster is giving the errow below;
It's related with expired service principal. So I followed the instructions here --> https://learn.microsoft.com/en-us/azure/aks/update-credentials#update-aks-cluster-with-service-principal-credentials
I…

yatta
- 423
- 1
- 7
- 22