Synonym of azure-ad-b2c tag https://stackoverflow.com/tags/azure-ad-b2c/
Questions tagged [aad-b2c]
174 questions
1
vote
1 answer
Self service password change with TOTP confirmation
Based on samples available on Github (https://github.com/azure-ad-b2c/samples/tree/master/policies/totp) I have implemented policies for enabling TOTP MFA.
Now, when the user wants to change his password (not reset via "Forgot your password?") I…

kamilz
- 168
- 1
- 12
1
vote
1 answer
Signal R not sending Notifications To Specific User ClaimTypes.NameIdentifier with B2C Authentication
I am using Azure B2C for authentication on Client Side. When I am trying to invoke the Send Notification it is not sending notification.
public async Task SendNotifications(IEnumerable notifications)
{
…

Hafiz Muhammad Atif
- 59
- 11
1
vote
1 answer
Using AAD B2C with an Application Gateway (/with Kubernetes) not working => 404
Architecture
Our web-applications are being deployed to our kubernetes cluster which are being integrated in our application gateway via the ingress extension (Azure Gateway ingress). If you navigate to the web-application, you need to sign-in and…

Insight
- 196
- 1
- 13
1
vote
1 answer
Azure AD B2C not showing logins for custom app
Currently using Azure AD B2C as our authentication provider and we have a requirement to access logs of all user login activity for our custom application.
If I navigate to the B2C portal, Users>Sign-in logs I only see sign ins for Application of…

Josh L
- 1,412
- 2
- 18
- 40
1
vote
0 answers
Azure B2C OTP UI Elements: UserMessageIfVerificationFailedRetryAllowed not working
I have set the OTP user messages using localization. UserMessageIfInvalidCode is working but UserMessageIfVerificationFailedRetryAllowed is not working. I have the retry count set to 5, however it's only the UserMessageIfInvalidCode that shows when…

EmzRalz
- 11
- 1
1
vote
1 answer
Azure Active Directory B2C: How to query MS Graph to get a user's alternative security ID?
B2C uses an alternative security ID to uniquely identify users from social accounts. We have a problem where a user enters credentials for a user, but somehow B2C authenticates the user as someone else. I suspect the IDP is returning bad claims…

KingTwinkie
- 53
- 6
1
vote
1 answer
B2C - How to override sign up now link (custom policy)
I used this documentation to override a forgot password link in singInOrSignup custom policy, and it works perfectly :
https://learn.microsoft.com/en-us/azure/active-directory-b2c/add-password-reset-policy?pivots=b2c-custom-policy
How can I please…

Nicolas
- 167
- 8
1
vote
1 answer
ADB2C custom policy - Writing a federated user is not setting the correct UPN in user profile
We are allowing External Azure AD users to signup and login to our application via a custom policy. The shell user that is being created in our adb2c directory does not get the UPN that I want in the user profile (screen shot below). I want the upn…

Sdiego
- 27
- 4
1
vote
1 answer
B2C - Custom Policy - Split SignUp and Verification breaks Password Reset
I have a custom policy that incorporates the Embedded Password Reset flow as outlined here: https://github.com/azure-ad-b2c/samples/tree/master/policies/embedded-password-reset.
Now, I need to split the signup and verification screens so I tried…

ATrivino
- 25
- 3
1
vote
1 answer
B2C - Terms of Service and Social Sign In - How to prevent AzureB2C from always asking to check the Terms of Service everytime a user signs in via IDP
I am trying to implement a custom policy that allows a user to sign in/sign up locally or via via FB, Google, etc. I used the sample policy from this link: …

ATrivino
- 25
- 3
1
vote
1 answer
How to refresh the token in Azure AD B2C, not the Access & ID one, the "Lifetime" one
I'm using MSAL for B2C with Android and it I have been following this example. When first logging on I use #1 acquire token / run user flow and #3 Acquire token silently when I need to call an API and my token has expired.
The silent token seems to…

lcj
- 1,355
- 16
- 37
1
vote
1 answer
Creating a B2C Tenant via the REST API returns 401/Unauthorized
What I want to do: create and configure a B2C tenant via the REST API.
What I did:
I created an app registration named CDTester and a secret for it in my default directory, then added it to the target subscription with the role Contributor.
I got a…

Modern Ronin
- 571
- 1
- 5
- 13
1
vote
1 answer
MicrosoftIdentityWebApi Not Working for Web Application when Added in Startup
I'm adding this question because I struggled for a while to find this and wanted to add a reference here for anyone pulling their hair out over the same issue.
While hooking up Azure B2C I struggled trying to get the backend to be able to read the…

Dudesgotagun
- 70
- 4
0
votes
0 answers
Azure AD B2C without redirecting to b2clogin url
I am planning to use React app and login in my app with Azure AD B2C. Is it possible to avoid redirect to b2clogin url and just login via my application UI. I know about opportunity to customize the login page in b2clogin url, but I really need to…

Vladyslav
- 1
- 1
0
votes
1 answer
Parsing OData Select and Expand failed: Term 'customAttribute1', 'customAttribute2' is not valid in a $select or $expand expression
We want to retrieve only Personnalise(custom) user attributes using Python.
So far succès in getting token but failed at making requests to graph.
#code de chatgpt
import msal
# Replace with your Azure AD B2C configuration
tenant_id =…

Madeleine
- 1
- 1