Questions tagged [azure-managed-identity]

Azure AD managed identities for Azure resources.

For more information, see the documentation.

795 questions
0
votes
1 answer

specific the location of the managed identity in an DeployIfNotExist azure policy

I'm writing a number of azure Policies and I'd like to specify the location of the managed identity in the JSON file rather than having to specify it as I assign the policy. In my Azure portal, when I go to assign the policy the managed identity…
0
votes
1 answer

Entity framework throw connection error with azure SQL database with managed Identity

The connection string in web config saves the user name and password but I don't want to save Password in web config. I am using Entity Framework in my application. Now I am trying to use the Azure SQL database with managed identity. I tried to use…
Abhinav Sharma
  • 299
  • 1
  • 8
  • 20
0
votes
1 answer

How can my managed identity backed azure function access sharepoint?

I have an azure function, that is backed by managed identity. On the same AD there is office 365 with a SharePoint site called "demonews". How do I add permissions/add the managed identity to the group "demonews" such it can access the SharePoint…
Poul K. Sørensen
  • 16,950
  • 21
  • 126
  • 283
0
votes
4 answers

Exception while connecting to KeyVault from Azure VM

I am running my applictaion from Azure VM and trying to connect with KeyVault. But I am getting below exception Parameters: Connectionstring: [No connection string specified], Resource: https://vault.azure.net, Authority:…
zile
  • 109
  • 11
0
votes
2 answers

Authenticating Azure Web Job with MSI in Azure Data Factory

The MSI Authentication for Azure Web Job through Web Activity in ADF is giving Error 403 - This web app is stopped. issue whereas the same web job is getting invoked through Basic Authentication. The web job is hosted on Windows App Service as a…
Anish K
  • 798
  • 4
  • 13
0
votes
3 answers

Can't implement azure web app service access to azure storage container (blob) using MSI

I have an azure resource group which contains Web App Service and Storage with BLOB container. My web app (.NET Core) tries to retrieve and show an image from container. The container has no public access to content (access level is private). I…
0
votes
0 answers

Log4net ADOAppender use Azure MSI connection instead of plain connection string

Hi I posted this to the log4net user group but thought I'd post it here as well. I'm working on a project that requires Azure MSI to connection from Azure PaaS to Azure SQL. Wondering if log4net’s ADOAppender supports this already connection…
cobolstinks
  • 6,801
  • 16
  • 68
  • 97
0
votes
1 answer

Managed Identity - does it save Certificate cost?

Currently, we are using Certificate based Service Principal for our KeyVault. And this certificate is given by our customer and I assume they buy this certificate from an external certificate authority. But when we use Managed Identity, Azure…
Pratik Mehta
  • 1,310
  • 4
  • 15
  • 37
0
votes
0 answers

Spring Boot JPA Application connecting to Azure SQL via MSI

I am trying to connect to MS SQL database via a Spring boot microservice (data source). I have enables MSI on the App service and have tried to follow https://dzone.com/articles/migrating-java-applications-to-azure-app-service-p This article speaks…
0
votes
1 answer

Azure user-assigned managed service identity not working from within Azure VM

I have a VM in a scale set which has a user-assigned MSI attached to it. This MSI has read access to a specific key vault, set-up in its access policy tab. From within a VM I need to access the key vault. az CLI is installed on the VM. When trying…
baouss
  • 1,312
  • 1
  • 22
  • 52
0
votes
1 answer

User Managed Identity - how to authenticate using c#

Is there an example of how to authenticate azure resource using User Managed Identity using c#? I am using the following code to authenticate using system managed identity and it works fine. but not sure about how to pass the user managed identity…
Pratik Mehta
  • 1,310
  • 4
  • 15
  • 37
0
votes
1 answer

Can any program running in the VM or any user logged into the VM get a token using the Azure Managed Service Identity?

When we store the Service principal certificate/appKey in the VM (to access the keyvault), we could limit access to that file to just the user account running the program. Other users or accounts wouldn't have access to the secrets in keyvault. When…
sargeMonkey
  • 606
  • 1
  • 7
  • 23
0
votes
1 answer

How do I programmatically assign a User assigned managed identity to an Azure Web App Staging Slot?

I can assign the user assigned managed identity manually in the portal. How do I do it during deployment to a staging slot as part of a deployment pipeline? I can use PowerShell to set a system assigned managed identity via…
0
votes
1 answer

Configure managed identities for Azure resources

I have a few services with two deployment kinds: Virtual Machine Scale Set and RDFE based deployments. I want to add managed identities to those services, but I'm a bit puzzled about how to do so for the second type of deployment (RDFE-based). I've…
0
votes
1 answer

Managed Identities for Azure AppService to AppService Call

I am exploring a possibility to implement Managed Identities for REST API hosted in Azure App Service. This Api consumes multiple third party APIs which are outside our control and secured by AAD. Currently, we store AAD ApplicationId / Secret in…