Questions tagged [azure-managed-identity]

Azure AD managed identities for Azure resources.

For more information, see the documentation.

795 questions
1
vote
1 answer

App Service cannot connect to database with Managed Identity

I have an Azure App Service which I need to grant access to a SQL Database (also in Azure Portal under my account). I want to grant it access via a Managed Identity, so I have turned on system assigned Managed Identity. Under Access control (IAM)…
1
vote
1 answer

How can you securely retrieve storage account keys?

I'm trying to programmatically set access policies on containers within a storage account. Ideally I'd like to do this using Managed Identity but it looks like it's not support at the moment (see here). So at present it looks like I need to use the…
sr28
  • 4,728
  • 5
  • 36
  • 67
1
vote
1 answer

azure data factory web activity properties

I want to use a web activity to access my storage account and I want to used System Managed Idenity to authenticate but I don't know what to write in the Resource field. Am I supposed to put the resource the data factory trying to access to, the…
1
vote
1 answer

azure function using user assigned managed id - can't write to storage queue

I have been trying to change my dotnet core 6.0 function application from a connection string based function app to use a user-assigned managed identity. I do not have a key vault set up. Right now, when I run the code locally, everything works…
dot
  • 14,928
  • 41
  • 110
  • 218
1
vote
0 answers

Get Token request returned http error: 400 and server response

I have a asp.net core 3.1 web api which adds messages to Azure Queue. In this case I am using an account to login into the VS2019 and debug the code in my local development environment. The same account is also added to the access policy for the…
1
vote
1 answer

Grant Azure Function in staging slot MSI access to the SQL Server Database

I have an Azure Function (function-name) for which I granted MSI access to the SQL Server Database using the following sql query: IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'function-name') BEGIN CREATE USER [function-name]…
user989988
  • 3,006
  • 7
  • 44
  • 91
1
vote
1 answer

Alternative approach to specify user managed identities with DefaultAzureCredential in python SDK

We are trying to authenticate DefaultAzureCredential using azure user-assigned managed identities with python SDK. The approach we see is to specify the client id as below, following the python SDK…
1
vote
0 answers

Azure Managed Identities with System Assigned and User Assigned and AZURE_CLIENT_ID

I know that when you set AZURE_CLIENT_ID to the User Assigned client id then you do not need to set the ManagedIdentityClientId when calling DefaultAzureCredential(). However, if your resource has both a System Assigned managed identity and a User…
user31673
  • 13,245
  • 12
  • 58
  • 96
1
vote
1 answer

Azure Managed ID: how to convert azure function from connection string to managed id

I have an Azure function that looks like this: [FunctionName("CreateWidgetWorkspace")] public async Task CreateWidgetWorkspace( [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "widget/workspaces")]…
dot
  • 14,928
  • 41
  • 110
  • 218
1
vote
1 answer

Accessing Eventhub in spark streaming using managed identiry

I have a requirement where I need to access the eventhub stream in spark streaming(azure data bricks) but using manged identity authentication. Currently I see only the SAS key access in all the blog and documentation but not mentioned about manged…
1
vote
1 answer

Use Graph API with System Assigned Managed Identity in Azure Function (Python)

I have successfully added application permissions to my system assigned Managed Identity/Service principal/MSI (Enterprise app) connected to a Azure Function through the following…
1
vote
1 answer

Is Managed Identity used for more than authentication?

For accessing ADLS gen 2 containers we perform mounting in Azure Databricks with the help of a Service Principal(client Id, Tenet Id, Client secret). Can we use User assigned managed identity to perform the mounting instead of service principal in…
1
vote
2 answers

Azure managed application: How to allow resources in the application access each other with system assigned identities

The way we use Azure Managed Applications is to offer an end-to-end solution to the customer. We must be able to hide the intellectual property, while offering a nice solution to the customer. Resources within the managed application resource group…
1
vote
1 answer

Azure managed identity for Azure service bus with java sdk

How can I send messages to a topic using Azure managed identity in java? Right now im using the connectionString to send the message to the topic. ServiceBusSenderClient senderClient = new ServiceBusClientBuilder() …
1
vote
0 answers

Build a custom image in Azure using Packer and Managed Identity fails

I'm trying to create a custom VM Image in Azure using Packer with Managed identity, I'm running the packer template from an Azure Ubuntu VM. But I'm getting when runing this command packer build CustomLinuxImage.json: azure-arm: Microsoft Azure: To…
naoussa
  • 107
  • 1
  • 8