Questions tagged [azure-active-directory]
Microsoft Azure Active Directory (Microsoft Azure AD) now known as Microsoft Entra ID is a modern developer platform and IAM service that provides identity management and access control capabilities for your cloud applications. It uses industry standard protocols like OAuth2.0, OpenId Connect, and SAML2.0.
azure-active-directory
1,961
questions
48
votes
4
answers
143k
views
How to validate Azure AD security token?
The following code gives me Azure AD security token, I need to validate that token is valid or not. How to achieve this?
// Get OAuth token using client credentials
string tenantName = "mytest....
2
votes
2
answers
5k
views
Azure authentication Audience validation failed
I've built an ASP.net core Single tenant Web API that requires a token from Azure, I have also built a single tenant SPA via react that uses Azure to login Via MSAL-Brower. I want to use the token ...
18
votes
1
answer
9k
views
Which Graph API should be used with Azure AD B2C
We are looking at using Azure AD B2C in an application and I am confused about which package to use when working with Azure AD B2C.
This question discusses the difference between the MSAL and ADAL ...
10
votes
1
answer
10k
views
Can a "User Assigned Managed Identity" be used locally?
I am trying to use a User Assigned Managed Identity in one of our applications. I also read about the differences between System Assigned Managed Identity and User Assigned Managed Identity.
It is ...
188
votes
3
answers
245k
views
What format is the exp (Expiration Time) claim in a JWT
I am using ADAL library to get access token for a resource. Does anyone know what format is the expiration time in ? more specifically
"exp" (Expiration time) claim.
JwtSecurityToken class ...
2
votes
1
answer
2k
views
Error making Azure Management Library API call when authenticating with azure active directory
My company is looking into reporting on Azure. We only want our customers to give us read only credentials for us to use. I did some research and it looks like Azure Active Directory does just that. ...
66
votes
21
answers
110k
views
Correlation failed in net.core / asp.net identity / openid connect
I getting this error when a Azure AD user login (I able to get the user´s claims after), im using a combination of OpenIdConnect, with asp.net Identity core over net.core 2.0
An unhandled exception ...
36
votes
4
answers
13k
views
Why is "Application permissions" disabled in Azure AD's "Request API permissions"?
I'm trying to give a console app permission to call an API in Azure AD.
When I go to "Add permissions," "application permissions" is grayed out and I can only select "delegated permissions."
My ...
16
votes
8
answers
10k
views
How to set redirect_uri protocol to HTTPS in Azure Web Apps
I am facing the following problem. I have an ASP Net Core 2 web app that I want to deploy to Azure. The app authentication is integrated with the Azure Active Directory, so when I try to login the ...
9
votes
5
answers
7k
views
Trouble getting ClaimsPrincipal populated when using EasyAuth to authenticate against AAD on Azure App Service in a Asp.Net Core web app
We have a web app built on Asp.Net core. It doesn't contain any authentication middleware configured in it.
We are hosting on Azure App Service and using the Authentication/Authorization option (...
43
votes
3
answers
78k
views
How do I resolve the error AADSTS7000218: The request body must contain the following parameter: 'client_secret' or 'client_assertion'
This is how I have written code and trying to get the output.
The request body must contain the following parameter: client_secret or client_assertion
static async Task<AuthenticationResult&...
37
votes
7
answers
30k
views
Azure Portal: Bad Request - Request Too Long
I just received the following error when I tried to run a built-in b2c edit policy from portal.azure.com. I have 2 tabs of the portal open. Why am I receiving this error?
Bad Request - Request ...
223
votes
28
answers
298k
views
How to get the azure account tenant Id?
My question is: Is it possible to get the azure active directory tenant id without using powershell command?
I found this two blogs and with this help, I'm already able to get the tenant ID and ...
36
votes
1
answer
15k
views
What's the difference between Azure AD B2C tenant and normal Azure AD tenant?
I've seen so many people are very confused about what we can do in Azure AD B2C tenant and the difference between a B2C tenant and normal Azure AD tenant. The main questions are:
What's the ...
29
votes
1
answer
46k
views
Azure: Service Principal ID vs Application ID
According to this documentation: Application and Service principal are clearly two different things. Application is the global identity and Service principal
is per Tenant/AAD
But This Documentation ...