Questions tagged [azure-managed-identity]

Azure AD managed identities for Azure resources.

For more information, see the documentation.

795 questions
8
votes
2 answers

Can an System assigned managed service identity be added to an AAD group?

I have an Azure Data Factory V2 service running with an MSI identity. This service needs to access a Data Lake Gen 1 with thousands of folders and millions of files. For efficiency, we have a group assigned to the root of the data lake which has RX…
MarkD
  • 1,511
  • 18
  • 32
8
votes
2 answers

Is Azure Function to Function authentication with MSI supported

I created 2 Azure Function Apps, both setup with Authentication/Authorization so an AD App was created for both. I would like to setup AD Auth from one Function to the other using MSI. I setup the client Function with Managed Service Identity…
7
votes
1 answer

Managed Identity in B2B scenario across different subscription?

Can managed identity be configured for accessing Azure resources across different Azure subscriptions? Could you point me out in right direction, isn't Azure federation supposed to take care of this? Seems not feasible based on my R & D as well. Do…
Abhijeet
  • 13,562
  • 26
  • 94
  • 175
7
votes
1 answer

How to Unit test DefaultAzureCredential Method

I am getting the access token using the default azure credentials method while using the managed identity of the function app to get the access token.I am able to get the token. but now I am not sure how I will unit test that method. Here is the…
7
votes
4 answers

Azure ARM template ResourceNotFound error when referencing managed identity in key vault access policy

When deploying KeyVault service that has Access Policy to Managed Identity on enabled Logic App it fails because it doesn't exist yet. I did add dependson for the logic app. Wierd thing is this template was working for weeks now it fails every…
7
votes
1 answer

Supporting the On-Behalf-of flow with managed service identities

A very common flow for applications running in Azure and App Services is the on-behalf-of flow where the app can exchange an incoming access token along with its ClientId/ClientSecret to get access to another resource as the user. Looking at the…
Claire Novotny
  • 1,593
  • 1
  • 15
  • 19
6
votes
1 answer

How to use DefaultAzureCredential in both local and hosted Environment (Azure and On-Premise) to access Azure Key Vault?

We have a web api(.NET 5) which access some secrets from the Azure KeyVault. In local machine for development, since I am the owner the new vault created, my email has access privilege to keyvault. Hence I selected my account though VS -->Tools>…
6
votes
1 answer

Azure ARM role assignment for System Assigned Managed Identity fails the first run

My goal is to deploy a logic app with a system managed identity and a role assignment for that identity. Preferably, this is done in one ARM template. I have a setup that fails the first run, but succeeds successive runs. Correct me if I'm wrong,…
6
votes
3 answers

Is it possible to assign a system managed identity to an Azure AD Enterprise Application that requires user assignment?

I have an Azure Function app that uses the integrated Azure AD Authentication configured via the Azure portal. Via the "Express" mode setup, this creates an Azure App Registration along with Enterprise Application. By default, this Enterprise…
6
votes
2 answers

How to create Api connection to Azure KeyVault for Logic App with Managed Identity

Scenario Hi, I would like to create Logic App that gets secret from Azure KeyVault and sends authenticated request to the API with secret from vault. Problem I receive: The workflow connection parameter 'keyvault' is not valid. The API connection…
6
votes
1 answer

How can I pass a variable to the SqlAzureDacpacDeployment@1 task in azure devops pipeline

I am trying to give an application access to a database. One of the steps require that a script that create a user must be run on the database. I am doing this through the pipeline with azureSqlAzureDacpacDeployment@1 task. Secure Azure SQL Database…
6
votes
1 answer

User Assigned Identities with App Service and Azure SQL does that work?

I am trying to get App Service to connect with Azure Sql database. I can git is nicely work with System Assigned Identities with the same code, but I prefer to use User Assigned Identities (UAI), but I cannot get it work. Steps which I do: Created…
Sven
  • 195
  • 2
  • 11
6
votes
2 answers

Access Azure Table Storage with Azure MSI

I recently setup my .net core application to use MSI (Managed Identity) to communicate with Azure Blob. Does MSI work with Azure Table Storage? Can't seem to find any documentation on it. I am trying to use MSI so I don't have to manage my keys…
5
votes
2 answers

Is there a way to work with Azure Key Vault in localhost with Managed Identity on Visual Studio?

I want to add Azure Key Vault to my C# app but I'd like to run the code locally. Is there a possible way? A lot of documentation says that AKV only works on Azure env but here a Microsoft developer says in the video that the sample code they are…
5
votes
1 answer

Azure Managed IDentity - On Prem Applications

We have several apps which are built using .NET are running in VMS(on-prem) All apps will be registered to Azure AD. Can we use user managed identity to access key vault form these on-prem apps Thanks in advance
1
2
3
52 53