Issue access token, only after running custom authorization logic
I want to enable the following flow, given a web app (myWebApp) and an api (myAPI). 1)User has logged in the web app successfully. 2)User wants to call an api, by sending to it an access token in the request. For step 2, it is not enough to…
Is it possible to convert string claimtype to int claimtype in B2C?
Hi Team, I have a requirement that I need to get a value from the URL (a querystring datetime value) and compare it with the current dateTime in B2C policy. As you can see these two are different datatypes (string, dateTime), Are there any claims…
Customize the user interface in AD B2C custom policy
Hi, I am trying to customize the user interface for the app factor registration page <ContentDefinition Id="api.selfasserted.appfactor.registration"> I changed the LoadURI to point to https://aikaan.z13.web.core.windows.net/index.html I…
Passwordless authentication using email only in B2C
I can see that there is a phone only authentication (in public preview ) https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-local?pivots=b2c-user-flow#phone-or-email-sign-in-preview Is there a similar flow to sign using…
I can subscribe to User ChangeNotifications, but never receive notifications. Is this supported or am I doing something wrong?
Hello, I can follow the guide (linked below) to set up change notifications with Azure AD and everything works great. When I change my configuration to subscribe to B2C, however, things are not so great. I can create a subscription via the graph…
Microsoft Graph client error : Authentication challenge is required error
Tagging @Anonymous for help. I am working on a Blazor server side .Net 5.0 application that allows a user to delete a user from Azure AD B2C after he has logged in. I am using the information contained in this article. I am getting a Message:…
Azure AD B2C user as guest in AD B2B
I have an Azure AD B2C established with users already added based on a third party application user group. In order to allow the users to use Power BI, I need to have them "guested" within our corporate AD B2B. This is the AD that is attached…
How to access an API registered in one AAD tenant (Tenant-A) from a public/native client app registered in another B2C Tenant (Tenant-B)
Hi Everyone, I followed the instructions mentioned in answer to this question to access a Web API registered in one AAD tenant (Tenant A) from another AAD tenant (Tenant B): …
504 Gateway Time-out when Getting B2C Users List (80K) using MS Graph in Asp Dot Net core WebApp
Hello All, I am getting 504 Gateway Time-out Error when fetching B2C Users List which is >80K. The same worked fine for around 4k users, with a little wait, and works even more smooth with less than 2k users while testing. Is there any…
AADB2C90068: The provided application with ID is not valid against this service. Please use an application created via the B2C portal and try again
I have created application Blazor server application in visual studio 2019. Which used Azure Ad B2C authentication. But i have received below error when going to login. Sorry, but we're having trouble signing you in. We track these errors…
Localisation of Azure AD B2C custom policy showing unicode characters instead actual letter
I'm trying to implement localisation in custom policies and created localised resources: When it is renders in browser, for "Correo electrónico o número de teléfono" it is showing as Correo electrónico o número de teléfono …
How to configure Serverless Azure SQL for Multiple ASP.NET Core web sites with EF Core
I'm planning on hosting single instances of multiple (two for starters) ASP.NET/EF Core Web Sites in Azure Kubernetes and they need databases for persistence. These websites will be code first and not share any data structures. All of these sites will…
How to map from B2C consumer users to Dynamics 365 contacts?
Hi, How can B2C consumer users created by the sign in/sign up flow be mapped to Dynamics 365 as contacts? Mapping in this context is taking a unique identifier or attribute from Azure B2C login process for a Web-app registration, and finding a…
Use Microsoft Graph in a web API with a Blazor Server client
Whereas I have spent a very long day trying and failing to get this working, I do feel like I'm tantalizingly close. In fact I have this example working. The problem is that example uses a WPF client, and for the life of me I can't seem to get the same…
ADB2C number of applications limitation
Hello, We are wondering what is the current limitation for the number of applications created within ADB2C tenant? Is there actually such a limit and if yes what is it? Thanks
How to customize the layout for Azure AD B2C template?
I want my login page look like the following In my custom-ui.html, I am using unifiedssp for the login page. <div id="api" data-name="Unifiedssp"></div> And it looks like this What can I do in my…
Azure AD B2C: How to get the refresh token in a MVC app?
I have obtained an ID token via a custom policy. How to get a refresh token for requesting a new ID token upon expiration?
Migrating from Auth0 to Azure B2C with a SAML connection
Hello, We are moving our identity services from Auth0 to Microsoft. In Auth0 we setup an authentication connection to be done via SAML. Our SAML provider is using SimpleSAML (not Active Directory). This was easy and worked great in Auth0. In…
Blazor server app with Azure AD B2C authentication
Hi while trying to launch my app with Azure AD enabled i get the following error: Error. An error occurred while processing your request. Request ID: 00-fca99c8b40b49d4798e8f0ce2e129ea9-3b940a54171b6045-00 Development Mode Swapping to…
Azure B2C - SAML Logout
I am trying to understand how to perform a logout in Azure B2C (I have a custom policy setup for SAML authentication), from my understanding there are two types of bindings, HTTP-Post and HTTP-Redirect. I checked the metadata file and it has both listed.…