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).
5,896
questions
-1
votes
0
answers
12
views
Azure AD B2C - email MFA with profile edit [closed]
I'm trying to get an Azure AD B2C custom policy working with email MFA. Currently I'm wanting to better understand the ProfileEdit user journey. As a test, I have temporarily disabled MFA for ...
0
votes
1
answer
41
views
azure-ad-b2c - How to check if new email exist when changing email
I've implemented flow that enables logged in user to modify their email address. I've email validation process, which occurs after a verification code is sent to the new email address and the user ...
0
votes
1
answer
21
views
MFA Choices - Azure AD B2C
I want to give users a choice between TOTP in the Microsoft Authenticator app or OTP via phone and email. I'm working with custom policies and currently have a separate set of policies for each method ...
0
votes
1
answer
36
views
Azure Active Directory B2C User flow sign up sign in customization using API connector
I want to use Azure AD B2C in Azure APIM application.
Here, when user signs up, its details will be sent to admin/specific email id via email to review/approve that user. till that time, signed up ...
0
votes
0
answers
36
views
Using Azure ADB2C and MSAL, is it possible to refresh the bearer token without re-entering the password?
Current situation
I have an ADB2C server with these settings:
A custom User Attribute InstancesAvailable was created
This user attribute is set to be returned as an Application claims in in my "...
0
votes
0
answers
35
views
How to enable a table of a B2C tenant using the azure CLI?
I tried to enable a table (to be queried with KQL) using the Azure CLI running in gitbash on windows. My intention is to enable the SignIn logs for an AzureB2C tenant.
az monitor diagnostic-settings ...
0
votes
0
answers
36
views
How do you ensure that "react-oidc-context" sends the "redirect_uri" apon token refresh/renewal
I have a REACT application that uses Azure AD B2C to authenticate a user. When the user logs in they receive a JWT issued by B2C which expires in about 45 min. When I try to setup the OIDC config to ...
0
votes
0
answers
17
views
What is the best way to apply custom UI with HTML templates in B2C?
I'm following this document Customize UI, to customize the UI. If I want to perform some actions before sending the login request, I am either duplicating the login button, hiding the original one and ...
0
votes
0
answers
22
views
Validate B2C JWT Token with Azure PubSub
How do I validate a request to wss:/ websocket in Azure Pubsub with a JWT Token from Azure B2C?
0
votes
0
answers
52
views
Insufficient privileges to complete the operation Graph API Azure AD B2C
I am trying to reset Azure b2c users password using nodeJs backend API function using Graph API.
I am using below code to get Access token
const url = `https://login.microsoftonline.com/${...
0
votes
1
answer
27
views
Azure AD B2C: susi user flow layout bug: invalid character in class in regular expression
I am using Azure B2C with standard susi user-flow.
The page layout version is 2.17.
We are using a custom HTML page, but I don't think the problem is related to that.
Please take a look at the ...
0
votes
1
answer
20
views
How to mock GraphServiceClient on SpringBootTest?
I have a method in my application that create a user on Azure AD B2C using Microsoft Graph REST API and I'd like to mock the GraphServiceClient to make some tests.
Java method that create user:
public ...
0
votes
1
answer
121
views
How do I ensure the generated query for detecting Azure B2C signin failures works?
When selecting my B2C tenant, the Azure Portal shows the following message:
"Looking for Log Analytics? In Log Analytics you can search for performance, diagnostics, health logs, and more. Visit ...
0
votes
1
answer
19
views
Azure ad B2C custom policy with external IDP
I have created a custom policy in azure AD B2C which uses an external login provider (open id connect).
Everything seems to work fine in terms of the registered application using B2C to login.
However ...
0
votes
0
answers
30
views
Ad b2c custom policies - msverify otp sms message localization
In AD B2C Custom policies, is there anyway to translate the msverify otp sms message that send to user mobile device.
This is the content of sms message:
"Use verification code [ some code ] for [...
0
votes
0
answers
47
views
Having additional application claims authenticating a asp.net core with Azure AD B2C
I have an ASP.NET core v7.0 that authenticates to Azure B2C and I'd like to add further application claims in the authenticated principal but so far I was not successful.
My app is basically the ...
0
votes
1
answer
27
views
Implementing Secure Re-Authentication Flow with Time-Based Exemption in Azure B2C Custom Policy
I am using Azure B2C custom policy for the login journey in my application.
I need to implement a secure re-authentication flow for certain high-security actions, such as updating personal information ...
0
votes
0
answers
42
views
Microsoft Graph API for deleting a group returning 500 error ,getting { body: 'Timeout' } error message
When I tried to call the graph API endpoint for deleting a specific group it returned 500 instead of 200 but the group was successfully deleted from Azure also getting { body: 'Timeout' } error ...
0
votes
1
answer
50
views
User login in Azure hosted webapp
How can I implement user authentication with a username and password in the Azure Cloud while utilizing Microsoft managed services, specifically avoiding the use of a client-managed database for user ...
0
votes
0
answers
26
views
Tracking User logins when utilizing basic Microsoft.AspNetCore.Authentication middleware
I would like track user logins of our AspNetCore app that is implementing basic Microsoft.AspNetCore.Authentication middleware. Our membership provider is Azure's B2C product and our app implements ...
1
vote
2
answers
68
views
Adding a custom claim in Azure B2C using user flows
Using an external IDP in azure B2C. Is it possible to add a custom claim to the JWT without using custom policies?
In my IDP I have this code in the /connect/token endpoint:
This works as expected and ...
0
votes
1
answer
58
views
Azure Ad b2c - Unable to see Phone details in the users MFA methods
I am using phone MFA for the users. I added steps as per the code samples given here.
https://github.com/azure-ad-b2c/samples/tree/master/policies/mfa-email-or-phone
I see it is working as expected ...
0
votes
1
answer
104
views
How can i get username in oauth 2 token?
Im trying to get user properties from oauth2 token, using login microsoft request, but i just get the email in token claims. Is there a way to get the username in token claims?
This is the complete ...
0
votes
1
answer
32
views
Azure AD B2C Email Signature
Is there any way of changing the email signature sent by Azure AD B2C?
The signature sent by default is the name of the directory and I need to change it
0
votes
0
answers
34
views
IdP-initiated SSO into Azure B2C - not officially supported, but are there any workarounds?
Our service is a gateway/portal app of a sort, currently sitting on top of Salesforce as IdP, but we are migrating from Salesforce to Azure B2C. We have already implemented the core flow with custom ...
0
votes
1
answer
26
views
In the Azure Portal, what is the difference between Azure AD B2C & B2C Tenants
When I search for B2C in the azure portal, i get two items returned, Azure AD B2C & Azure AD Tenants (see screenshot below).
I do not understand why these things are separate, and cannot find ...
0
votes
0
answers
61
views
How can I add to Sign in process in Azure B2C one next step
I created an Azure B2C environment based on the starter pack provided by Microsoft. I currently have the default UserJourney with Id="SignUpOrSignIn". To this User Journey, I am trying to ...
0
votes
1
answer
58
views
React and Azure AD B2C IAM
I'm building a React website, and I successfully integrated the Sign Up/Sign In feature into it using Azure AD B2C.
My problem is that I want to give the users permissions based on a custom attribute ...
0
votes
0
answers
22
views
Replace InputParameter value from a claim in B2C custom policy
I have this tranformation claim:
<ClaimsTransformation Id="ComparePasswordResetOnWithCurrentDateTime" TransformationMethod="DateTimeComparison">
<InputClaims>
...
0
votes
0
answers
64
views
How configure SSO with Azure AD B2C and ASP.NET Core 6 Web API
I need help understanding how to implement SSO.
I have two SPAs that authenticate through an ASP.NET Core Web API, the login method implemented in this API checks credentials by making a call to the ...
0
votes
0
answers
57
views
How to link Azure tenant used for "Microsoft Entra ID for customers" to subscription? [closed]
To utilize Microsoft Entra, I have to link the tenant to a subscription, however, when accessing the External Identities -> Linked subscriptions page, I get the following message:
This feature isn'...
0
votes
1
answer
36
views
Understanding Relationship between Multiple <Precondition> Elements in Azure B2C Custom Policy
I am currently working on an Azure B2C custom policy and have a question regarding the relationship between multiple elements within .
Specifically, I would like to know if these elements have an '...
0
votes
0
answers
60
views
Azure B2C Force Password Reset After X Number of Days
Using the following Docs I've setup an Azure B2C to force password reset after 1 Day.
https://learn.microsoft.com/en-us/azure/active-directory-b2c/force-password-reset?pivots=b2c-user-flow#password-...
1
vote
1
answer
37
views
Connect b2c to b2c
I can link any AAD to my b2c (using app registration or direct federation using saml2). Is it possible to link b2c to b2c? My goal is to authenticate user whos' organization domain is not handled by ...
0
votes
0
answers
27
views
How to control the redirect behavior in Azure B2C Custom Policy for consecutive password errors?
I am currently working on Azure B2C Custom Policy development, specifically focusing on the login process.
However, I am facing an issue related to controlling the redirect behavior in the case of ...
0
votes
0
answers
32
views
How can I fallback claim value in Azure custom policy
I've created a custom policy that allows authentication using both personal Microsoft accounts and Work accounts (O365) using the OpenID Connect (using the https://login.microsoftonline.com/common/v2....
0
votes
0
answers
42
views
Azure MS Graph Rest API create local identity provider
We have managed to programmatically create an apple managed provider, a google provider and attached it successfully to a userflow in a b2c tenant using MS Graph Rest API documentation here:
https://...
0
votes
1
answer
31
views
What is the best method to validate the e-mail address in Azure AD B2C custom policy to restrict the particular domain name?
We have a requirement to restrict a domain (assume gmail.com) not be used by user during the sign-up flow. For the email address validation, we used regular expression in custom policy.
<ClaimType ...
0
votes
0
answers
36
views
Is there a way an Azure customer tenanat to send his domain name as domain_hint to a B2C app
Currently, we have set up a B2C tenant that supports Local Accounts and SSO with OpenID. The purpose of the tenant is to support our customers. At the moment, the users are presented with the option ...
0
votes
0
answers
68
views
Azure AD B2C - registration flow with an update feature (custom policy)
I'm using B2C flow to manage registrations on a site,
we have a set of users already created in AD B2C (with some fields missing, like email, ...)
Does it possible to use a registration flow B2C with ...
0
votes
0
answers
31
views
Blank page in B2C application after being logged out due to time out [closed]
In my B2C application, when logout due to timeout happens, the page appears blank and the following exception appears in the console:
Then after clearing local storage it works. What could be ...
0
votes
1
answer
54
views
Is it possible to have different kinds of branding per app. registration on Azure B2C?
I have an several clients registered in Azure AD B2C and at the moment using custom flows with federated login with local azure ad accounts.
I need to host two clients on our b2c tenants (development ...
1
vote
1
answer
28
views
Improving initial rendering of Azure B2C custom policy frontend UI
I'm using Azure B2C custom policy for authentication, and I have a frontend HTML/CSS issue. When a customer opens the xxxx.b2clogin.com URL, the initial rendering is unstyled and looks ugly. The CSS ...
0
votes
1
answer
87
views
How do I export Azure AD B2C user names?
In Azure AD B2C under the 'Users' menu, the overview has the following columns:
Name
User name
User type
Source
Object ID
When exporting users, the user name is not exported.
How do I get the user ...
0
votes
1
answer
79
views
trying to use MSAL AcquireTokenByUsernamePassword for a test environment but get the exception 'An Error response was retunred by the OAuth2
trying to create a unit test users that flows through the login user flows.
My code is as follows
var _authResult = await _pca.AcquireTokenByUsernamePassword(_settings.Scopes, user, password)
....
1
vote
1
answer
116
views
Azure AD B2C Custom Policies integration with Web API correct design
After following Prepare your environment and other prerequisites for custom policies, I've met difficulty with how to design my B2C application registrations.
Requirements
Users login with a B2C ...
0
votes
0
answers
34
views
Difference in time obtained from nbf claim while validating azure b2c token on the server
While validating claim obtained from the azure b2c token using PKCE flow, the nbf claim is actually greater than the current time(the server time) .
I am getting b2c token after validation from custom ...
0
votes
1
answer
62
views
Extracting Country Code from Mobile Number in Azure B2C Custom Policy
I am currently working on an Azure B2C custom policy and I need to extract the country code from a user's mobile number attribute ("mobilePhone") in each user record. The mobile number is ...
0
votes
0
answers
49
views
Set up OAuth SSO to React project that utilizes Axios to connect to an API [closed]
My objective is to set up OAuth SSO by following the tutorial provided at https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa.
I am looking for guidance on how to integrate the sign-in ...
0
votes
1
answer
84
views
AADB2C90205: Application does not have sufficient permissions against this web resource to perform the operation
I have created the azure App registration(AD B2C) Programmatically using the Graph API. App is successfully created and i have added necessary scope and service principals. Once App created i have ...