Questions tagged [azure-managed-identity]

Azure AD managed identities for Azure resources.

For more information, see the documentation.

795 questions
5
votes
1 answer

Can a "User Assigned Managed Identity" be used locally?

I am trying to use a User Assigned Managed Identity in one of our applications. I also read about the differences between System Assigned Managed Identity and User Assigned Managed Identity. It is very clear to me that a System Assigned Managed…
Gaurav Mantri
  • 128,066
  • 12
  • 206
  • 241
5
votes
1 answer

Azure SQL Database Connection Pooling with User Assigned Managed Identity

It seems like the EF Core connection pooling is not working correctly with User Assigned Managed identities. My web page makes 3 Ajax calls from my Angular front end to a Web API controller. The controller uses a repository class that contains the…
5
votes
4 answers

How to deploy a managed application with an identity having permissions within the managed resource group?

When deploying a marketplace managed app offer into a customer subscription, you can create an identity in the managed resource group associated with the managed application. However, in order for that identity to have any permissions, it must be…
xaxxon
  • 19,189
  • 5
  • 50
  • 80
5
votes
4 answers

Using Managed Identity in Azure Pipelines: GetUserAccessToken: Failed to obtain an access token of identity. AAD returned silent failure

I am trying to run an Azure Resource Group Deployment task in Azure Pipelines. I have deployed an Azure Pipelines self-hosted agent on an Azure VM running Windows, and in my Azure DevOps organization I have set up an Azure Resource Manager service…
5
votes
1 answer

Can Managed Identity of a Azure Function have access across multiple subscriptions?

We have created a Azure Timer Function that monitors activities of various resources of one subscription. Now we want to update it so that it can have access to more than one subscription. Is it possible to achieve the level of access for the…
Gour Gopal
  • 581
  • 7
  • 22
5
votes
3 answers

Azure storage account rejects the issuer of a managed service identity

I'm using the Microsoft.Azure.Services.AppAuthentication library (v1.0.3) for .NET to connect from Azure Function app to blob storage using managed service identity. Auth code: var tokenProvider = new AzureServiceTokenProvider(); string accessToken…
5
votes
2 answers

MSI Permissions for Graph API

My question is, do we have any documented method of granting a Manage Service Identity permissions to the Graph API as we would with an Azure App Registration in the portal? I was unable to find any Powershell options or ability to manage…
5
votes
2 answers

Azure Keyvault add Function MSI via ARM

I think Managed Service Identity is a great concept and I love keyvault. However: When I use the script using an incremental resource group deployment: Sample is modified for brevity { "type": "Microsoft.KeyVault/vaults", "name":…
Hoffmania
  • 926
  • 2
  • 7
  • 15
5
votes
2 answers

Azure Key Vault with Entity Framework "DefaultConnection" app setting

I’m trying to use Azure Key Vault for storing my web api connection strings for Entity Framework. Ideally I’d like to avoid coupling the key vault nuget packages with my data access code. My dbContext class has two constructors: public…
4
votes
2 answers

User Assigned Managed Identity for Azure Sql Server

I'm new to Azure Cloud. I'm trying to assign user assigned managed identity to Azure Sql Server for Function App Resource. I have added User who can access Azure Sql Server. Simultaneously I had tried to turn on system identity. What is exactly…
4
votes
2 answers

Connect Azure CosmosDB using Managed Identities from Azure Function App both locally and on Azure

I create a Managed Identity for a Function app and assigned it to DocumentDB Account Contributor by following the two sections…
Pingpong
  • 7,681
  • 21
  • 83
  • 209
4
votes
1 answer

Unable to Query Serverless Pool View in Azure Synapse using SQL Admin Credentials

I have set up a Serverless SQL pool in Azure Synapse that is querying a view I had set up of a linked Azure Data Lake. CREATE VIEW DeviceTelemetryView AS SELECT corporationid, deviceid, version, Convert(datetime, dateTimestamp, 126) AS…
4
votes
0 answers

DefaultAzureCredential error on macOS Big Sur (M1 chip)

Currently, we are migrating our Azure resources to communicate via Azure System Managed Identity. I encountered an issue using DefaultAzureCredential on my MacOS with M1 chip. As I understand Visual Studio for Mac is not supporting…
4
votes
1 answer

Azure Function Managed Identity to Azure Sql - Login failed for user ''

I have a C# dotnet core 3.1 Azure Function App (named func-utrngen-dev-001) that I'd like to configure to authenticate to a Sql Azure database via managed identity. Steps Taken: Created the AAD admin for sql server account Used that account to…
4
votes
3 answers

Azure.RequestFailedException in Azure.Security.KeyVault.Secrets

I have developed a service running in an Azure Virtual Machine Scale Set that accesses configuration from the Azure Key Vault. Recently, when debugging this service, I have started to receive a RequestFailedException when accessing the…
1 2
3
52 53