Questions tagged [azure-managed-identity]

Azure AD managed identities for Azure resources.

For more information, see the documentation.

795 questions
1
vote
1 answer

Why does Azure Managed Identity show as Invalid Resource ID

I am trying to use Azure Key Vault to store the connection string for my web app. My first step was to create a managed identity for my app service. Having done this and having an object ID available I navigate to my key vault and grant the…
1
vote
1 answer

Why can't I connect to my azure blob storage account using a managed identity?

I have a python 3.8 application deployed on a kubernetes cluster on azure that has to access a blob storage container in an account in a different resource group. I'm using a managed identity to authenticate and query the container: from…
1
vote
2 answers

Is it possible to connect Azure File share (Storage account) from C# console code using Managed Identity

I was trying to upload a file to Azure file share using my C# code. using the Managed identity. The code will be deploying to an azure VM which has managed identity with the Storge account. how to connect using a console app via…
1
vote
1 answer

Have anyone successfully connected SQL Server through AAD - Managed identity for NodeJS project?

I found sample code from Microsoft docs but it doesn't seem to work. If anyone has any insight that would be helpful. Also the broad question is if that is even possible. As the NodeJS uses Tedious library, it's not clear if Tedious is able to…
mrsrizan
  • 301
  • 1
  • 8
1
vote
2 answers

Attach AWS IAM Profile to Azure VM

Is there a way where to attach an AWS IAM profile to an Azure VM. I'm trying to develop a common infrastructure for Azure and AWS and i want to use resources which are in AWS from an Azure VM. I know this can do this by exporting AWS creds to Azure…
1
vote
1 answer

KeyError: 'IDENTITY_ENDPOINT' error in Azure environment

I had deployed my application in the Azure Linux environment. I followed the official python example: https://learn.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=python import os import requests identity_endpoint =…
Sathiamoorthy
  • 8,831
  • 9
  • 65
  • 77
1
vote
2 answers

Using Managed Identity in a Azure Function to access Graph API

Short version I want to avoid username/passwords/secrets/key valults/etc. by using Managed Identity, in a PowerShell script, running on Azure Functions. It seems to fail on: Import-Module Microsoft.Graph.Authentication Connect-MgGraph -Scopes…
Raymond A.
  • 496
  • 7
  • 18
1
vote
3 answers

Unable to create Azure AKS Container Service with Managed Identity using ARM template

I am trying to create an instance of AKS Container Service with managed identity using an ARM template. No problems if I use the az CLI: az aks create -g "sa-rg" -n "aks-cluster" --enable-managed-identity However I cannot obtain the same result…
1
vote
1 answer

How to update secrets in KeyVault using functionApp managed identity

I am able to read keyvault secrets through Azure function managed identity using below URI. @Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/) I have provided get and set secrets access to FA managed identity using…
1
vote
2 answers

how to cache and refresh managed identity token

I am using azure managed identity and below code generates the required token to authenticate the api's. I am using var credential = new ManagedIdentityCredential(); var…
user584018
  • 10,186
  • 15
  • 74
  • 160
1
vote
1 answer

Trying to Connect Azure DataLake using Managed access but getting unauthorized error

string dfsUri = "https://" + accountName + ".dfs.core.windows.net"; DataLakeServiceClient dataLakeServiceClient = new DataLakeServiceClient(new Uri(dfsUri), new DefaultAzureCredential(new DefaultAzureCredentialOptions())); DataLakeFileSystemClient…
1
vote
0 answers

Assign Graph API App Permissions to Managed Identity in Azure DevOps Pipeline - Authorization_RequestDenied

I have the the following cobbled together from various sources in my devops pipeline: $MIName= "my-identity-test-mi" $RGName = "my-identity-test-rg" $Location = "eastus" $GraphAppId = "00000003-0000-0000-c000-000000000000" $PermissionName =…
1
vote
1 answer

Does Azure Managed Identity support on-prem MS SQL Database?

Update Azure Functions need to access on-prem MS SQL Databases via Azure Managed Identity. Does Azure Managed Identity support this?
Pingpong
  • 7,681
  • 21
  • 83
  • 209
1
vote
1 answer

Api-version must be specified when using azure keyvault SecretClient .net sdk

I am trying to set a secret in azure keyvault using managed identity. There are two problems which I am facing right now. Hope someone can help me with it. Code: var client = new SecretClient(new Uri("keyvaulturl"), new…
1
vote
1 answer

Azure create blob container using REST api and managed identity - 403 error

I am trying to create blob container under storage account using REST api I am using managed identity (for app service, node application) to interact with storage account. This managed identity has necessary permission on resource group and storage…