Questions tagged [azure-managed-identity]

Azure AD managed identities for Azure resources.

For more information, see the documentation.

795 questions
0
votes
1 answer

Using Azure Active Directory Interactive when authenticating from Azure Functions to Azure SQL DB

I'm trying to authenticate access from an Azure function to Azure SQL DB using am Azure Active Directory managed identity and the Active Directory Interactive . I've successfully used the instructions at…
0
votes
1 answer

Can custom (non-azure) service be a accessed using Azure managed identity?

I am trying to utilize azure managed identities to provide me a way to authenticate/authorize actions on a non-azure service. I want to integrate my own service - as an oauth2 resource server. I would like to be able to validate the received oauth2…
Lukas Futera
  • 107
  • 9
0
votes
2 answers

Is it possible to use Azure AD on Ubuntu for connecting to Azure SQL using sqlalchemy and Python?

Is it possible to use Azure AD on Ubuntu for connecting to Azure SQL? That is, it is possible to use trusted_connection=True in sqlalchemy in Python? # Creating engine engine =…
0
votes
1 answer

Azure App Service stops working after enabling Managed Identity

I've deployed a Docker container in Azure App Services. I have a public API that I can call, which returns "Hello world". I would like to use Azure Managed Identity in my app, so I enabled it in Azure portal. I enabled the "System assigned" one,…
0
votes
2 answers

Key Vault Works on local development but not on a deployed web app

I've been working on this for several days now, and after reading many documentations on this I am absolutely out of ideas. What I've done so far: Created three web apps (DEV, UAT, PROD) and switched System Assigned to ON to create a Managed…
0
votes
2 answers

Getting issue The request to create role assignment 'xxxx--x-x-x--x-x-x-xxxxxxx' is not valid. Role assignment scope must match the scope specified

I am trying to create storage account, blob storage and then trying to create role on storage account. Below is the code storagedeploy.json: { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", …
KCS
  • 2,937
  • 4
  • 22
  • 32
0
votes
1 answer

How to delete Azure Batch Pool and Jobs using Managed Identity?

Using C# I can delete Azure Batch Pools and Jobs using Client ID and Client Secret - but currently we want to delete them by using Azure Functions using Managed Identity. Here is my current code: internal async Task
0
votes
1 answer

Trying to scale Azure SQL DB using MSI for identity not autharised to perform action

I am creating my first app function using powershell in the Azure portal, It's just to scale a SQLDB on I have tried to use this tutorial as a guide. MSI example I turned on MSI for the function and configured resources groups Giving the…
0
votes
1 answer

PHP Access to Private Azure Storage Container

My PHP application, hosted in an Azure VM, needs to access images stored in a private Azure Storage Container. Has anyone implemented a successful approach? I have 3 ideas (below). Option 1 - using Azure Managed Identity give the app a managed…
Tester_123
  • 55
  • 1
  • 7
0
votes
2 answers

In Azure Managed Service Identity - how frequently does the certificate renew

If I understand correctly - Azure Managed Service Identity provisions the certificate to your service automatically and also handles its renewal. The question is - what's the renewal frequency for that cert and can it be customized?
0
votes
2 answers

Azure Key Vault and Managed Identity - local development with REST

I have a php application hosted in Azure VM, with some secrets in Key Vault. I have set up a Managed Identity and given access to the vault. So my application can successfully get secrets from the vault, using a token obtained from Azure Instance…
0
votes
2 answers

Can I assign a user-assigned identity in Azure Logic Apps?

I am creating some Azure Logic Apps in order to monitor a workload. These Logic Apps needs a managed identity in order to post metrics to a resource in Azure monitor. As per documentation, I am sure I can create a system-managed identity for each…
cneumann
  • 118
  • 1
  • 11
0
votes
1 answer

Connect to Azure Service Bus using RBAC stopped working

I am using Managed Identity to connect to Azure Service Bus and it used to work fine. This morning, I realized that this approach wasn't working anymore locally (using Visual Studio) and also on the deployed application (using managed identity). I…
Thomas
  • 24,234
  • 6
  • 81
  • 125
0
votes
1 answer

Is there any real use of user-assigned managed identity if all my resources are in the same subscription?

I am trying to create an HDInsight cluster in a certain subscription. Now the default storage type that I am selecting is of type ADLS Gen2 and the storage instance exists in the same subscription (the UI here will anyways list only the ADLS Gen2…
0
votes
1 answer

Azure Function can write files in Data Lake, when it is bound to Event Grid, but not when it is called from Azure Data Factory

I have an Azure Function that should process zip files and convert their contents to csv files and save them on a Data Lake gen 1. I have enabled managed Identity of this Azure Functions. Then I have added this managed Identity as an OWNER on the…