Questions tagged [azure-identity]

Azure.Identity library from Microsoft to authenticate against Azure AD

174 questions
6
votes
3 answers

How to resolve Could not load file or assembly 'Azure.Core'

Could any one explain why we are getting such errors like Could not load file or assembly. Whenever I update nuget references specially in azure sdk I end up with this error and because of lack of knowledge I was struggling to fix them very weirdly.…
Pramod Lawate
  • 615
  • 1
  • 7
  • 21
6
votes
2 answers

Azure ChainedTokenCredential Fails after Password Change

Azure ChainedTokenCredential fails for local development after password change. I've been using ChainedTokenCredential for several weeks to authenticate using ManagedIdentityCredential in Azure and DefaultAzureCredential for local testing of my…
warnerm06
  • 654
  • 1
  • 9
  • 20
5
votes
1 answer

Protecting SPA and API using Azure AD and app roles

I am building a system where a SPA can call an API. The SPA as well as the API are represented in Azure AD using app registrations that require users to be assigned to it. During the assignment, the user is also assigned to a Role that the app…
jokarl
  • 1,913
  • 2
  • 24
  • 52
4
votes
1 answer

I m using AddMicrosoftIdentityWebApi .net core 6 with MSAL. can I create my custom middleware?

I m using AddMicrosoftIdentityWebApi .net core 6 . Can I create my custom middleware ? below is my code. services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) …
3
votes
1 answer

MAUI AAD Authentication ClaimsPrincipal with IsAuthenticated always false

I have a MAUI app running on localhost and when you start the app, it triggers microsoft login, after the user sucessfull login I catch the ClaimsPrincipal and IsAuthenticated is always false. According to my Main.razor component if the user is not…
3
votes
1 answer

Getting RequestFailedException: Public access is not permitted on this storage account when accessing Blob Storage in Azure

Scenario: I have an Azure Web App that is trying to access a Blob Storage container, and I get the following error: RequestFailedException: Public access is not permitted on this storage account. I am trying to use Managed Identities for the App to…
2
votes
0 answers

Windows 365. User-assigned Managed Identity

We would like to run some PowerShell scripts inside Windows 365 workstations that authenticate to Azure in a secure way. I'm not able to find how to apply user-assigned managed identity to Windows 365 VMs like we do to our Azure VMs. Is that not…
WinBoss
  • 879
  • 1
  • 17
  • 40
2
votes
1 answer

Signed-in user claims missing under Profile page in ASP.NET Core Web App calling the Microsoft Graph

I have one single tenant application with redirect uri and front-channel logout url as https://localhost:44321/signin-oidc I can authenticate to the application but after selecting profile, it is not displaying signed-in user claims instead throwing…
2
votes
1 answer

msal-node using old jsonwebtoken npm pkg triggering npm audit issue

we are using mssql npm package it has dependency with like below: mssql > tedious > @azure/identity > @azure/msal-node > jsonwebtoken Now we are getting below audit error: https://github.com/advisories/GHSA-27h2-hvpr-p74q Any one already having…
2
votes
0 answers

Deploy image from registry to container instance in azure function

I have a azure function that i want to be able to deploy an image to container instances. But I get an error. Exception: HttpResponseError: (InaccessibleImage) The image 'registryUrl/imageName:latest' in container group 'containerInstanceName' is…
LittleMygler
  • 632
  • 10
  • 24
2
votes
1 answer

Azure Function Service Bus - Managed Identity - Service Bus account connection string

I've followed the azure guides on setting up a managed identity for Service Bus. I'm running into the following error: Service Bus account connection string 'ServiceBusConnection' does not exist. I do have the "connection" in the function.json…
2
votes
2 answers

How to call an Protected API from Azure Function

There is an Azure Web App service and I have to call an API get method on that service. The web app service is under Identity Provider protection and the caller has to be an Azure function. I have gotten the following message Azure function has…
2
votes
0 answers

How to use both local db user & Azure Active Directory for authentication and authorization in ASP. NET Core

The Problem I am going to develop a web application using MVC .NET6. The requirement is that I need to use Asp.net core identity to authenticate users in the local database and from Azure Active Directory at the same time. The authorization part is…
2
votes
0 answers

Azure User-Assigned Managed Identity for Sequalize ORM via Tedious

There is plenty of documentation out there for npm @azure/identity style connection to SQL. Also the Microsoft video on how Managed Identities is great at explaining how managed identities is possible across more of the Azure stack is fundamentally…
2
votes
2 answers

storing AuthorizationCodeCredential in web app session

I am using the azure-identity library to authenticate users for accessing the Microsoft Graph API in my Spring Boot web application. After getting the successfully getting the code via auth code grant redirect I want to store the access token and…
Thomas Einwaller
  • 8,873
  • 4
  • 40
  • 55
1
2 3
11 12