Questions tagged [azure-managed-identity]

Azure AD managed identities for Azure resources.

For more information, see the documentation.

795 questions
1
vote
1 answer

Unable to connect Azure Logic App w/ System Assigned Managed Identity to Azure SQL Server

I'm unsure what I'm missing here, but I cannot connect from Logic App to Azure SQL. Any help is appreciated. Steps performed: 1. Enabled System Assigned Managed Identity (SAMI) for the Logic App 2. Added the SAMI in a Contributor role for the SQL…
SeaDude
  • 3,725
  • 6
  • 31
  • 68
1
vote
1 answer

Microsoft Azure Synapse deployed into Managed Resource Group cannot write to Storage Account when invoked via Trigger

UPDATE: We are deploying Synapse as part of a Managed Application, which means it is running in a Managed Resource Group. It appears as though this mechanism is causing the problem. Problem Statement: Deployed a Synapse Workspace into a Managed…
Rodney
  • 5,417
  • 7
  • 54
  • 98
1
vote
1 answer

How to write logs to azure blob storage using managed identity?

I have asp.net core 3.1 webapp which is able to access Azure blob storage using managed identity. Now I'm trying to get NLOG to connect using managed identity as well (it works with storage access key right now) but I can only find an option that…
1
vote
1 answer

How to connect to Azure SQL Server using Managed Service Identity from Django application in my local laptop

I have a Django application which connects to an Azure SQL Server through traditional username and password combination and it works fine. The library I am using for this is mssql-django. Here is the link to…
1
vote
2 answers

Possible to use Azure Managed Identity to access Cosmos DB with Entity Framework?

I'm trying to figure out if it is possible to use EF with a Cosmos DB and authenticate with Azure Managed Identity. I know you can add an interceptor for SQL databases to authenticate but I can't get it to work with Cosmos DB nor can I find any…
1
vote
2 answers

Use of Managed Identity to Access Key Vault to an app

I have created the Azure Key Vault for connection string. After the configuration setup I am able to get the data using the key-vault in ASP.Net MVC deployed in Azure. Locally, I tested the app and found no issue since I am able to connect but I am…
Jashvita
  • 553
  • 3
  • 24
1
vote
1 answer

Java how to cache DefaultAzureCredential for key vault when using Manage Identity from Server

We are operating in Azure Manage Identity environment, where I have a high performance stdin stdout process where each process request access to the Azure Key Vault for getting secrets and settings for other Azure resources/components. But we…
1
vote
1 answer

Sending events to event hub from APIM result in unauthorized when using managed identity

I am attempting to setup an APIM endpoint that sends messages to an event hub. I also want to use managed identities in order to authorize the APIM with the event hub. Note that all resources lie in the same subscription. The setup is as follows: I…
1
vote
1 answer

GetAccessPolicyAsync/SetAccessPolicyAsync not working with Managed Identity

I am updating some legacy code to work with a managed identity instead of an access key. The code: Creates a DataLakeServiceClient Uses that to get a file DataLakeFileSystemClient (var dlfsc = dlsc.GetFileSystemClient(containerName);) Calls…
1
vote
2 answers

Why do I need App Registartion in Azure and how do they relate to my App Service?

I've done some reading in regards to Azure AD, but I still can't wrap my head around it. The confusion might be there also because of how my company tries to standarize how a azure project should look like. Imagine I have two things: SPA app (served…
prostynick
  • 6,129
  • 4
  • 37
  • 61
1
vote
1 answer

Connect to Databricks from python via managed identity

I managed to connect to Databricks from python using the following code snippet: from databricks import sql connection = sql.connect( server_hostname='', http_path='', …
1
vote
2 answers

Using Managed Identity with Cosmos Db Table Api

I am trying to connect to cosmos db table api using Managed Identity. According to the documentation here, cosmos db supports Managed Identity. I couldn't find any documentation that says anything specific about table api. I am using .Net standark…
1
vote
2 answers

How to protect an Azure Function with System assigned Managed Identity

I have a simple azure function (Authorization level set to Anonymous) with an HTTP trigger public static async Task Run(HttpRequest req, ILogger log) { return new OkObjectResult("This is a response from secured function."); } I…
Ladislav Margai
  • 1,932
  • 3
  • 17
  • 28
1
vote
4 answers

What is the minimal Azure role (RBAC) that lets me read certificates from a key vault?

I have an Azure app service running in context of a managed identity. I want my app to be able to read a certificate from a key vault, using CertificateClient.DownloadCertificateAsync. I need to grant my managed identity some privileges in order to…
1
vote
1 answer

Data Factory - Azure File Linked Service - Managed Identity

When creating a new linked service for data factory I am able to select "Managed Identity" for connection to storage account\blob but this isn't an option for same storage account\file. Is this a known limitation? Works ok with blob: No option for…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200