1,008 questions
0
votes
0
answers
22
views
Unable to Access Blob Trigger Using Managed Identity in Azure Functions
I am trying to access a blob trigger in Azure Functions using a managed identity but am encountering issues. I have followed the instructions in the documentation and blog posts, but the issue ...
0
votes
1
answer
71
views
Spring-Boot using key vault by manage-identity
I've configured a Managed Identity to use a key vault on my Spring-Boot application inside a VM:
pom.xml
...
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>...
0
votes
1
answer
56
views
Authenticate terraform with system managed identity
Currently i am trying to use system managed identity to perform the terraform provision. But getting below error.
Error: Error building ARM Config: Authenticating using the Azure CLI is only supported ...
0
votes
0
answers
49
views
Alternate to Entra ID to authenticate Fabric API's
Is there an alternate way using managed identity or basic authentication to do some testing with Fabric update API's, as creation of Entra ID has some restrictions for me atm. Code I am using to ...
0
votes
1
answer
59
views
How do I use a User-Assigned Managed Identity to run an SQL statement on Azure SQL Database?
My goal is to run an application in a Azure DevOps Pipeline that updates an Azure Sql Database.
The Task running is of type AzureCli@2, which uses a service connection
The service connection is ...
0
votes
1
answer
80
views
Azure Blob Storage Authorization Failure – Tried Managed Identity & SAS Token Without Success
Here's a detailed and well-structured StackOverflow post for you to use:
Azure Blob Storage Authorization Failure – Tried Managed Identity & SAS Token Without Success
We are working on an Azure-...
0
votes
1
answer
61
views
MassTransit RequestClient Timeout on Azure - Possible Issue with Response Queue and Managed Identity
I am using MassTransit with Azure Service Bus in a Function App where I have a producer API sending messages via RequestClient<T>, and a consumer running in the Function App processing those ...
1
vote
0
answers
55
views
Default credentials with WorkspaceClient hosted in an Azure Web App with managed identity
I have a fast API hosted in an azure web app. I am trying to get some data from DataBricks and return it from the FastAPI. This is my context:
DbxContext.py:
import time
import pandas as pd
from ...
0
votes
0
answers
49
views
How do I troubleshoot the Azure Machine Learning error: 'Datastore (workspaceblobstore) cannot be found'?
I'm encountering the error message "Datastore (workspaceblobstore) cannot be found" in Azure Machine Learning.
Question:
What are the possible causes of this error, and how can I resolve it?
...
0
votes
2
answers
35
views
ACI mount gitrepo-url using Managed Identity from Azure DevOps
Is it possible to use Managed Identity to access a repo in DevOps on az container create ?
I have the following, although the continer hangs on build:
az container create `
--resource-group rgname`
--...
2
votes
1
answer
237
views
Managed identity refresh token not re-setting in my postgres connection of ASP.NET Core 9 Web API
I have an ASP.NET Core 9 Web API which I need to use managed identity to connect to a postgres database.
I have this code in my Program.cs and I converted them from
var connectionString = builder....
1
vote
0
answers
47
views
Azure Managed Identity assigned to VM - security
We are in the process of migrating an ASP.NET application to Azure. The app is running in IIS, in a dedicated application pool.
We've learned that the best way to implement access authorisation to ...
1
vote
1
answer
72
views
Azure function with service bus trigger - ManagedIdentityCredential performance
I am working on an Azure Function that uses a ServiceBusTrigger and queries Azure Table Storage. In order to process multiple messages as quickly as possible we're using the MaxConcurrentCalls setting ...
0
votes
1
answer
99
views
Authenticate terraform using Azure AD user assigned managed identity
I am trying to run a minimalistic terraform code in Azure functions. The terraform code will create some azure resources as part of its execution. I am trying to authenticate terraform using the user-...
0
votes
1
answer
59
views
azure.monitor.opentelemetry - not logging anything
I have a simple python script and are following this sample:
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry/samples/metrics/attributes.py
Code:
import ...
-1
votes
1
answer
149
views
ImportError: cannot > import name 'AccessTokenInfo' from 'azure.core.credentials'
I have a FAST API deployed to an Azure function. Locally everything works as expected. However when deployed I get following error. The error already occurs when doing the import:
# if I remove this ...
0
votes
0
answers
85
views
How to fetch access token from azure managed identities for accessing azure resources [closed]
I use AKS, which contains several microservices residing in its pod within its own name space. And these services have a user assigned managed identity created. These managed identities are used to ...
0
votes
1
answer
40
views
Use SqlCacheDependency on an Azure SQL when connecting with Managed Identity
I'm moving in Azure an existing application (C# & .NET 4.8.1) and I have this code:
SqlConnection con = new SqlConnection("connection_string_without_user_or_password")
con.AccessToken = ...
1
vote
3
answers
249
views
AzureWebJobsStorage Managed Identity not working
I am trying to get my azure function, containing a couple of blob and queue triggers to work with managed identity, instead of a connection string. But I am facing the error:
Azure.Storage.Blobs: ...
0
votes
1
answer
91
views
Trouble obtaining access token for managed identity with application role
I'm trying to assign an app role to my function app's system-assigned managed identity.
I believe I've followed all the required steps but my access token (obtained through DefaultAzureCredential()) ...
0
votes
1
answer
129
views
Managed Identity Authentication for Azure AI Speech - WebSocket upgrade failed: Authentication error (401)
I am trying to connect with Speech SDK using managed Identity, I dont want to use API key. I followed this article - https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-configure-...
1
vote
0
answers
121
views
Connect to Azure PostgreSQL with managed identity Object Id instead of User Id
I'm trying to find a clean way to connect to my Azure PostgreSQL DB using Managed Identities. My objective is to make this convenient for both the deployed applications (one application runs in an ...
1
vote
0
answers
34
views
Use managed identity on Azure VM for .Net application to talk to Azure Web App API through MSAL
Sorry, if any of my terminology is wrong in this question, I'm not an expert in MSAL as well as not an expert in Managed Identities.
I currently have a setup that includes 1) an Azure VM with a .Net ...
0
votes
1
answer
87
views
Durable Function error "This request is not authorized to perform this operation"
I followed quickstart-python-vscode and deployed an example Durable Functions app.
I cannot call the published function, there are the following errors in the Func App log:
[Information] func1-control-...
1
vote
1
answer
290
views
Writing to application insights from FastAPI with managed identity
I am trying to log from a FastAPI application to Azure application insights. It is working with a connection string, but I would like it to be working with managed identity. The code below does not ...
0
votes
1
answer
83
views
Unable to Create Directory in Azure File Share Using Managed Identity with Node.js
I'm using a managed identity to create and manage resources in an Azure Storage account. I've successfully created a file share without using an account key, but I'm encountering an issue when trying ...
0
votes
1
answer
78
views
Automation - Is there any chance that the Managed Identities in Container Apps being monitored?
Just wondering if possible to monitor the System-assigned or User-assigned activity.
For example if System-assigned manually OFF then email alert will trigger.
By this automation the users will be ...
0
votes
2
answers
59
views
Add Synapse Administrator role assgiment for manged identitiy - 403 authorization error
I am implementing logic that assigns roles in Azure Synapse Workspace. I have the following setup:
Marketplace app that deploys resources to customer subscriptions (it has denied assignments):
...
0
votes
1
answer
98
views
Azure ShareClient: This request is not authorized to perform this operation
I am trying to use the Azure ShareFile client to export data from a SQL Server table to an XLSX file through a function app. When I run the code in VSCode locally, the file is created successfully. I ...
0
votes
1
answer
356
views
SQL Server Error "AADSTS500133: Assertion is not within its valid time range" for Managed Identity
I created a Linked Service for an Azure SQL Database in Azure Data Factory. I then created a user in the database using the System Assigned Identity.
CREATE USER [crestlinecapitalADF-preProd] FROM ...
0
votes
0
answers
57
views
Scripting PostgreSql in Azure Pipelines with service principal
I am trying to create a custom extension that will script my PostgreSql database. I found a utility that already works.
- task: AzureCLI@2
displayName: 'Connect PostgreSQL Server'
inputs:
...
0
votes
1
answer
201
views
Create Remediation Task is Greyed Out on Managed Identity ACA built-in policy
Unable to Create Remediation Task on managed identity ACA built in policy.
Although compliance state is working fine on all resources.
Need to remediate non compliant resources. The question is, do ...
-1
votes
1
answer
146
views
Issue 429 error code after 12h when calling "login.microsoftonline.../well-known" to refresh token to call Azure SQL Database from Azure App Service
I have an Azure App Service that is called multiple times per second.
This App Service connects to an Azure SQL Database using a managed identity.
The application works correctly for about 12 hours, ...
1
vote
1
answer
140
views
Azure Managed Identity SQL Connection Failing Randomly with "Login Failed for User '<token-identified principal>'"
I'm encountering a random issue with my Azure Function App (dotnet 8 Isolated) where the SQL connection using Azure Managed Identity is failing. I'm using DefaultAzureCredential for token generation ...
0
votes
2
answers
509
views
Azure Function App Listen to Event Hub using Managed Identity
I am trying to create a function app on Azure with an Event Hub trigger using a managed identity. I seem to have created everything so that all the references resolve, but when I send a message to the ...
0
votes
1
answer
220
views
How to Implement API-to-API Authentication in AKS using Azure Workload Identity?
I am currently exploring Microsoft Workload Identity to authenticate between two APIs deployed in Azure Kubernetes Service (AKS). Here's the scenario:
Provider API: A protected API that exposes data.
...
0
votes
1
answer
61
views
Do we need app registration in azure seperately even if I am using managed identity for my application?
I am trying to eliminate the need to secrets in my web applications. I am using managed identities for the same reason. But I have app registrations for all my web services for which I have managed ...
0
votes
2
answers
180
views
Get applicationId/clientId for a system-assigned identity in bicep template
I need the managed identity client id for setting up auth between an Azure Function and a service bus. I've solved it with a user-assigned identity, but would like to achieve it with a system-assigned ...
1
vote
1
answer
326
views
Local development with DefaultAzureCredential() with API Scope & App Roles
I am struggling to fully understand how to get this working, any pointers would be massively appreciated. I am trying to get my app to use local azure signed in account, and when in the app use the ...
0
votes
1
answer
89
views
Is it possible to call Key vault URI from config file to fetch the secret?
I came across a link which shows how to fetch the secret from the Azure Key vault.
It looks like, by just adding uri in the config file can fetch the secret from the AKV. Is it like, we don't have to ...
1
vote
1
answer
266
views
Can't assign Directory Readers role to managed identity using Az PowerShell: "Role Not Found" Error
I'm working on connecting to Microsoft Graph using a User Managed Identity (UMI). I've already created the managed identity in the Azure portal, but now I need to assign Directory Readers role to this ...
0
votes
1
answer
62
views
azure policy | To deny the action of removing user assigned identity from a virtual machine is not working
I want to create an azure policy with deny effect to prevent action of removing user assigned identity from a virtual machine is not working but I am not able to do so as we are using terraform to ...
0
votes
1
answer
459
views
User Assigned Managed Identity: No User Assigned or Delegated Managed Identity found for specified ClientId/ResourceId/PrincipalId
I am trying to get access token using the below code.
private static async Task<string> GetJwtTokenUsingManagedIdentity(string clientId, string tennantId)
{
string resource = "https://...
0
votes
1
answer
53
views
Using Azure Managed Identities in applications hosted om Azure VMs?
We have an on-prem solution where a Windows Service (on a Windows Server VM) accesses a SQL Server database on another Windows Server VM. The Windows Service runs under a certain domain user (Log On), ...
0
votes
2
answers
630
views
Replacing connection string to managed Identity for azure blob trigger > Azure function app from VS to azure portal
I have performed the following
Created a simple azure blob triggered function app in visual studio with default setup
Publish into Azure portal and the trigger is set to a different azure blob ...
0
votes
1
answer
244
views
How to use Azure Managed Identities with Keycloak for authentication
We have a microservices-based stack that is hosted behind Nginx. We use Keycloak to authenticate the users. As identity providers in Keycloak, we have previously successfully used OpenID Connect and ...
0
votes
0
answers
42
views
Communicate with Graph API of Tenant A from runbook in Tenant B
I have two tenants A & B. I wanted to manage the user groups in Tenant A.
I have a PowerShell runbook in Tenant B, I wanted to connect to Tenant A from the runbook.
Is that possible? If yes, how ...
0
votes
1
answer
96
views
Visual Studio and managed identity
I am running a windows form locally and accessing an Azure SQL Server. But I get following error:
I can access the SQL server locally from studio management. I am using PIM and I noticed when I ...
0
votes
1
answer
99
views
Connect to Azure Postgresql Flexible server Database from Nestjs using any ORM
We are builing a nestjs application that connects to Azure Postgresql Flexible Database server using Typeorm. We are following the passwordless apparoach using managed identity and using Entra token. ...
-1
votes
1
answer
82
views
Issue Accessing ADLS Mounted Location Using All-Purpose Cluster in Azure Data Factory
I am able to access an ADLS mounted location from Databricks when running my notebook via Azure Data Factory using a Job Cluster (created by Databricks). However, when I switch to using an All-Purpose ...