3,309 questions with Microsoft Security | Microsoft Entra | Microsoft Entra External ID tags
How to change SSPR email id when using username(not emailid) to sign in in the contect of Azure B2C
Is it possible to change SSPR email id when using username(not emailid) to sign in in the context of Azure B2C? Scenario: Using Azure B2C Using username (not email id) to sign in Email is provided for SSPR Need to provide option for the user to…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID

The client id '{0}' specified in the request is not registered in tenant '{1}'.
AADB2C90018: The client id '6258256a-dccd-4f5d-ae3d-d16eff15c2db' specified in the request is not registered in tenant '9502nonprodidp.onmicrosoft.com'. Above error is shown when an app is created in azure b2c tenant and running the user flow
Microsoft Security | Microsoft Entra | Microsoft Entra External ID

Export AD B2C Temaplate
I'd like to export my AD B2C, but I get the following error message on the Download/Deploy scene: {"code":"ExportTemplateCompletedWithErrors","message":"Export template operation completed with errors. Some resources…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID

Azure AD B2C SAML Custom Policy Certificate Error
Hi Guys, I am having hard time accessing the Custom Policy that I have hosted on Azure B2C. I am able to generate the metadata for the policy successfully. I am using SAML2 protocol. But when my application tries to redirect towards the custom user…
Azure App Service
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Automate app registration in B2C
Hi, I wanted to know if there is any documentation or code sample to describe how to automate app registration in Azure AD B2C. I want to register app through script or any other way, which I can attach with devops pipeline and automate whole process? …
Azure Automation
Microsoft Security | Microsoft Entra | Microsoft Entra External ID

B2C pass custom header to REST API
Hi @Anonymous , Could you please help me to find documentation or sample custom profile example where I can find way to pass custom header to REST API? In my case we are calling REST API to validate user credentials and REST API is secured…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Is there a way to give app access to all users from another tenant in one go?
We are developing and hosting an app which is being used by users from another tentant. We invite them one by one as needed, but they should essentially all have access. This appoach is now getting tedious and time consuming. Is there a way to…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
B2C Seamless Migration through username and password
Hi, Is there any documentation or sample policy which defines seamless user migration through username and password? I see one here, but its user migration through user's email similar way I am looking for username and password instead of email. We…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID

Azure B2C custom policy pass input claim value from REST API
Hi All, I am new to B2C and AD, please excuse if this is a lame question. I am calling a REST API to create a record in the third-party system during user signup using custom policy. This part works fine without any issue and I am getting the record…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
B2C Custom Policy REST Integration Error
Hello All, I am new to Azure and B2C. I was trying REST API integration as explained here I have followed the same steps but I am getting an error when I try to upload "SignUpOrSignin" policy file. Validation failed: 1 validation…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Invitation Sent and user can't sign in (B2C)
I created an SPA app to be used in B2C. The users that sign up they can sign in. But when I invite them using the portal in the AD B2C blade/Users Menu on the left. And then I click + New User and then use Invite User option. They get an email to…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID

B2C Error while user sign in
Hi @Anonymous , I am trying seamless user migration to B2C through custom policy, following is policy details that I am running: <RelyingParty> <DefaultUserJourney ReferenceId="SignUpOrSignInWithUsername" /> …
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Azure B2C - Sign in through localhost not logging in Audit logs
When I navigate to my audit logs for my app service using B2C authentication, it is not logging the sign ins that run from my local machine. When I sign in through the URL in the azure portal for my web app, it shows in the logs. Do the logs not…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID

Steps for configuring new b2c app to federate with an azure ad instance?
Is there a good document for all the different options for setting up a new b2c app that federates signin with an azure ad instance? Is custom xml policy required for this or can this be done easier using just the azure portal? I heard rumors that this…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
How to get list of details of ADD user by using of Azure Mgmt SDK fluent
Hi All, I am using https://www.nuget.org/packages/Microsoft.Azure.Management.Fluent for getting resources in Azure with programmatically(C# .NET-Core Web app) and tried to get resources information by providing service principals as below... …
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Configuring access to storage container
Hi, this might be a simple question (I hope!) we are trying to configure a storage container for our Azure B2C AD users to access through our app. I have created this storage container in my primary directory (lets call it abc.com). in this main…
Azure Blob Storage
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Azure AD B2C: Custom IDP
While creating a custom IDP for my Azure AD B2C service I get the following error: I did validate the JSON content for the JWKS endpoint on an online json lint and it validated it fine. Is there any specific expected format of the JSON content? …
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
B2C with users from multiple customers?
When using a single B2C instance with multiple customers, is there a B2C claim that can be used to determine which customer a given user is associated with? Is there a documented list of available claims from B2C?
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Unable to use AddSignIn Method of Microsoft.Identity.Web NuGet Package to acquire an AccessToken for Authorization Code Flow
We want to use MSAL for Authentication in our Web application with Web API using Authorization Code Flow. I was using Sample from GitHub…
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID

Trying to run to get Date of Birth if you select Adult in the previous Dropdown.
Hi I am trying to collect the date of birth for a user if he specifies that he is Under18.... I have defined 2 claims as follows <ClaimType Id="extension_DateofBirth"> <DisplayName>Date of…