Azure.Identity library from Microsoft to authenticate against Azure AD
Questions tagged [azure-identity]
174 questions
0
votes
0 answers
Pop up window not opening in windows application when using Azure.Identity InteractiveBrowserCredential class to obtain token
I am using the Azure.Identity NuGet to access Graph API for Teams. While debugging the popup comes up fine for logging in, but when I run the dll in a process as part of an application, the browser window doesn't open anymore and fails with…

AshleyAsh1990
- 23
- 6
0
votes
1 answer
How to get Application ID URI formats working
I'm having trouble getting any of the Application ID URIs working. I have a Blazor WebAssembly Hosted application, written in ASP.NET Core 5.0. Using the api:// format is fine, but this doesn't play well with Terraform. I can get my client…

Dally Horton
- 124
- 10
0
votes
1 answer
How do I setup MFA that does not look like Microsoft dialogues for an Azure App Service
We are developing an Enterprise level application, where there are several end users that will register themselves for some web application. We want them to use MFA, probably 'all' of them, user/password, Biometrics, google authenticator, but the…

Adriaan Pretorius
- 81
- 7
0
votes
1 answer
Managed Identites and AppRoles in Token
I have a Web API "App Registration" called "BackEnd_API" which defines some Application Roles and User Roles.
{
"allowedMemberTypes": [
"Application"
],
"description": "resource.READ allows you read access to…

apiengineer
- 1
- 1
0
votes
2 answers
DefaultAzureCredential Failing for console app after redirect to localhost -localhost sent invalid response
I am using DefaultCredential to connect to build configuration from azure keyvault.
var secretClient = new SecretClient(new Uri($"https://{keyvaultName}.vault.azure.net/"),
new DefaultAzureCredential(true)
);
…

Sandeep K
- 163
- 2
- 13
0
votes
1 answer
Is it possible to log into Azure from my .net core app using just user and pass?
I'm trying to log into Azure from my application to get some blob from Azure Blob. The Azure.Identity nugget package has some methods for that, like some TokenCredentials class and, what I wanted to use, UsernamePasswordCredential Class, which an…

xecollons
- 536
- 6
- 22
0
votes
1 answer
Azure API Management with custom authentication sign in, signout, autlogout and custom end points?
Is this even possible to do below listed tasks using Azure APIM? I have searched through all the documentation of azure apim, tried many policies, tried azure app service, functions and also ms forums too. Cannot find the correct information.
Is…

Jaguar
- 403
- 2
- 10
- 22
0
votes
2 answers
From localhost C# Web API - Accessing secret from Azure KeyVault throws error Invalid Issuer
I am trying from my local web api, to retrieve secret from KeyVault using Azure.Identity lib.
but it throws Invalid Issuer. Giving below the code I am using
My current code
var client = new SecretClient(new Uri("key-vault-url"), new…

jAntoni
- 591
- 1
- 12
- 28
0
votes
0 answers
Azure Devops self hosted agent using old environment variables
I have a self hosted agent. The service relies on DefaultAzureCredentials to use environment variables to connect to a Azure Key Vault. I rotated AZURE_CLIENT_SECRET and after remoting into the agent machine, I updated it as well. However after I…

shmit
- 2,306
- 2
- 16
- 20
0
votes
2 answers
how to send data to EventGrid from .Net core app using Identity?
I have a .net core app, which is trying to send the data to eventGrid topic . Using Microsoft.Azure.EventGrid Nuget to send the same. I am creating a instance of EventGridClient
new EventGridClient(new TopicCredentials(configuration.Key)).
I am…

lokanath das
- 736
- 1
- 10
- 35
0
votes
1 answer
How to add Enterprise Application in customer tenant with single tenant App Registration in developer tenant
As a small SaaS provider I currently have an app service which I host in my tenant and it uses Azure AD for IAM. I have two customers and there is a separate app service instance and database for each customer in different regions. I also have…

OjM
- 1,029
- 2
- 17
- 32
0
votes
0 answers
Authentication Azure Blob by Azure AD user principal java sdk
Is the any way to authentication the blob-storage service by Azure ad user's info (username and password).
I'm using application principal and it's working fine:
Code snipet
ClientSecretCredential clientSecretCredential = new…

duy nguyễn
- 51
- 4
0
votes
1 answer
Retrieve the email of a user connected to an Azure App Service with Microsoft Identity
How can we get the email of a user connected to an Azure App Service with Microsoft Identity?
Our front-end is built on top of React and our back-end is built on top of Node.js.
Thanks,
Christophe
user12993686
0
votes
1 answer
Accessing User Credential Value from Azure.Identity
I have connected my Visual studio to Azure Active Directory by setting and manually entering pass/email.
This credential shows when I go to Azure Serice Authenticator in Visual Studio under tools.
I want to access the ID associated.
I came across…

ashley wilson
- 5
- 2
0
votes
2 answers
Use Azure Key Vault to get secrets
I want to use Azure Key Vault in a ML notebook to retrieve secrets. The tutorial I followed here suggested to use
from azure.keyvault.secrets import SecretClient
from azure.identity import DefaultAzureCredential
vault_url =…

3nomis
- 1,175
- 1
- 9
- 30