Questions tagged [azure-ad-b2c]

Azure AD B2C is a cloud identity management solution for web and mobile applications targeting your customers (consumers and businesses).

Azure Active Directory B2C

Azure AD B2C is a cloud identity management solution for your web and mobile applications. It is a highly available global service that scales to hundreds of millions of identities. Built on the same enterprise-grade secure platform as Azure AD, Azure AD B2C keeps your applications, your business, and your customers protected.

>> Get started with Azure AD B2C

Features

  • Email-based or username-based local accounts
  • Social identity providers (Facebook, Google, Microsoft and more)
  • Custom identity providers (OpenID Connect, SAML and more)
  • Built-in user journeys (sign up/sign in, edit profile, password reset)
  • Custom user journeys
  • Built-in and custom user attributes
  • Configurable application claims
  • User interface customization
  • Multi-factor authentication

Posting Azure AD B2C questions in Stack Overflow

The following tips will help you get quicker/better answers when posting Azure AD B2C questions:

5577 questions
9
votes
1 answer

Azure AD B2C password expiration

We leverage Azure AD B2C in our solution with a "sign up or sign in" policy. On a regular basis (I have not counted the exact number of days), when I try to login, I got : "invalid username or password". I have to reset my password to make it…
ben
  • 381
  • 1
  • 3
  • 14
9
votes
1 answer

Azure AD B2C pre-populate a custom attribute in the SignUp policy

Does Azure AD B2C support pre-populating a custom attribute in the SignUp Policy when called from the Web application (ASP.Net MVC)? We can create a custom SignUp attribute but we weren't able to find a specification in the documentation how to…
9
votes
3 answers

Trying to implement Azure Active Directory B2C gives me a 404 error

I'm trying to implement Azure Active Directory B2C in a new page I'm developing, but I'm getting this 404 - File or directory not found error trying to sign in from my page. I made the tenant, registered my app, created my policies, the whole deal.…
Toño Pérez
  • 115
  • 2
  • 7
8
votes
1 answer

How to access AAD B2C tenant with Azure CLI

I need to get user details in AAD B2C tenant I have access to: az ad user show --id 0cbb4fd6-7091-44fb-ab5e-d2bd9c366f59 This cannot find the user because I'm logged into my organization regular AAD tenant. B2C tenants do not have subscriptions,…
8
votes
2 answers

How to update identities collection for existing B2C User using Microsoft Graph and SDK

I am trying to update the identities collection for an existing User in an Azure AD B2C tenant. Specifically, I am attempting to add another federated identity entry for the user. According to the Microsoft Graph documentation this should be…
spoida
  • 2,655
  • 1
  • 23
  • 14
8
votes
2 answers

How to delete Azure DevOps enterprise application?

I have an Azure AD B2C tenant that I want to delete (pita process!). So I have to delete manually all registered applications first. And somehow I got an enterprise application named "Azure DevOps" registered there. Which is undeletable. How to…
Michael Chudinov
  • 2,620
  • 28
  • 43
8
votes
3 answers

MSAL authentication and authorization from React to Web API

I have some trouble understanding the MSAL authentication and authorization. I have a single page app developed in React. I have setup the MSAL Azure SSO authentication by registering the web app on the Azure AD. Now, I have a Web API (in .Net Core)…
Souvik Ghosh
  • 4,456
  • 13
  • 56
  • 78
8
votes
4 answers

Forgot Password in ADB2C - (AADB2C90118), How to run a specific user flow?

Problem I am trying to handle the 'Reset password' user-flow in my application. Upon clicking the 'Forgot Password' link, the OnRemoteFailure OpenId event is successfully triggered, successfully redirecting to the specified url 'Home/ResetPassword',…
Dash
  • 401
  • 5
  • 14
8
votes
1 answer

IDX10501: Signature validation failed. kid: '[PII is hidden]', token: '[PII is hidden]' - Azure B2C

I have created a sample application where the user can authenticate with Azure B2C which works fine. I get back the Token and the AuthenticationResult. Both are Ok. But I want to get back the ClaimPrincipal from the token. To do this I have added…
Attila Turóczy
  • 81
  • 1
  • 1
  • 3
8
votes
2 answers

MSAL access token invalid signature

I'm using MSAL to get an access token. It works fine and I'm able to log in and retrieve my Active Directory user. However when I'm having problems using it to access an API and I have noticed that when I inspect the token at https://jwt.io/ it says…
Ben Gannaway
  • 1,053
  • 1
  • 14
  • 28
8
votes
3 answers

Add second Global Admin to Azure AD B2C?

How do we add a second global admin for Azure AD B2C? Do we add them as guest account and assign that guest GA? When adding a normal user, it says we can’t add a dot.state.fl.us email. Should we authorize it, or will that screw up our primary…
wanderwahl
  • 117
  • 1
  • 3
8
votes
2 answers

What is difference between "Rest" API and "Graph" API

I am creating an API project in Azure AD B2C in which I want to create a custom UI. For this requirement, I want to know which is better in both "Rest" API & "Graph" API. Can anyone suggest to me, which is better to use?
Mani
  • 1,228
  • 3
  • 10
  • 28
8
votes
0 answers

asp net core 2 and Azure AD B2C, adding group based authorization

I'm creating an asp net core 2 web api using azure AD B2C for authentification. I would like to use AD B2C groups to restrict the use of some controllers to admin members. I've understood that for the moment the only way to achieve that is to access…
8
votes
3 answers

JWT Base64 Decode failed in Notepad++

In Notepad++, I'm having trouble decoding a JWT. When I try to use Plugins -> MIME Tools -> Base64 Decode…
spottedmahn
  • 14,823
  • 13
  • 108
  • 178
8
votes
2 answers

Azure AD B2C customization template errors

I deleted my storage account which held the folder containing the B2C sign-in/sign-up policy custom UI files. Realizing my mistake, I created a new storage account and uploaded the policy files. I updated the paths in the policy configuration. Now,…
srm
  • 81
  • 1
  • 2