Skip to main content

All Questions

Tagged with
0 votes
0 answers
14 views

Using AzureB2C Invite flow prevents EnableTokenAcquisitionToCallDownstreamApi from working. Can I use two custom policies?

I'm trying to work with AzureB2C's invite flow from their samples (https://github.com/azure-ad-b2c/samples/tree/master/policies/invite) I have setup the two custom policies B2C_1A_InvitePolicy ...
Tomas McGuinness's user avatar
0 votes
0 answers
90 views

Issue with Token Generation in ASP.NET Core 8 using Azure AD B2C: Error AADSTS50049

I'm working on an ASP.NET Core 8 API called ApiApp secured with Azure AD B2C and an ASP.NET Core MVC application called WebApp. Everything works fine, and I can call ApiApp from WebApp. I want to ...
micex's user avatar
  • 43
0 votes
1 answer
97 views

Error AADSTS50049: "Unknown or invalid instance" in ASP.NET Core 8 MVC with Azure AD B2C

I am working on an ASP.NET Core 8 MVC application and using Azure AD B2C for authentication management. Below is my appsettings.json configuration: "AzureAdB2C": { "Instance": &...
micex's user avatar
  • 43
0 votes
2 answers
82 views

Azure b2c still authenticated after hitting logout

I'm implementing Azure B2C with an ASP.NET MVC app on .NET 4.8. Our process uses cookie authentication and local user accounts with a custom flow policy, which works great. The issue is that I am ...
user1299379's user avatar
0 votes
2 answers
125 views

Azure B2C / WPF - Handling a failed MFA verification flow

I have the following client code to fetch a token from Azure B2C endpoint: public static async Task<AuthenticationResult> AcquireTokenAsync(this IPublicClientApplication publicClientApp) { ...
RollerMobster's user avatar
0 votes
1 answer
92 views

Null AccessToken returned from AuthenticationResult

Working on an ASP.NET application that authenticates the user, then redeems the authorization code to get the access token, and it's based on https://github.com/Azure-Samples/active-directory-b2c-...
samsu's user avatar
  • 77
0 votes
1 answer
53 views

Pushing Users from an Azure AD B2C into Azure Cosmos DB

As per previous questions on my account, my team and I are currently creating a Windows Forms Application in C# to allow our admin to enroll a company and all its users to our system. We can currently ...
ThomasLDev's user avatar
0 votes
1 answer
96 views

MS Graph to manage AAD B2C accounts

I have implemented an application to manage AAD B2C accounts using MS Graph. I followed this link and have registered a MS Graph application in my B2C tenant. Right now my implementation uses client ...
sisyphus p's user avatar
0 votes
1 answer
89 views

Searching Users in a B2C Tenant using a C# Application

Sorry to bother once again but I am trying to implement a search by Email Address in the application using the same logic as the viewing users function that was fixed wonderfully for me yesterday (....
ThomasLDev's user avatar
0 votes
1 answer
44 views

Trying to assign Azure AD B2C users to a group through external c# app using Microsoft Graph - .PostAsync Error CS1061

I have an app that is used to enrol new users into an Azure AD B2C tenant, but really struggling to get a certain feature working. If anyone has any suggestions it would be greatly appreciated! The ...
Prime Capybara's user avatar
0 votes
1 answer
67 views

.Request() not working in C# with an Azure AD B2C

I have an Admin application written in C# with the Microsoft.Graph.Beta extension and this uses .Request() to allow users from a B2C to be viewed and searched, I have a separate application that uses ...
ThomasLDev's user avatar
0 votes
2 answers
93 views

Assigning Users to a Company in Azure AD B2C

Currently have a working C# application that adds user to a B2C tenant which is excellent, but is there any way to separate them by company to ensure they sign in to the correct front end. Is this to ...
ThomasLDev's user avatar
0 votes
1 answer
84 views

C# CS1061 Error with '.Request' (Trying to update users in an Azure AD B2C through external app)

I have been struggling with a CS1061 error for '.Request()' and cannot seem to figure it out, if anyone can think of a solution or a work around it would be greatly appreciated! The program is running ...
Prime Capybara's user avatar
0 votes
0 answers
47 views

Azure Adb2c External IDP Authentication Browser Back Button Click redirects to External IDP Again

We have AD B2C Authentication with .NET 8 MVC Web Application. We configured Open Id Provider with Custom Policy in Adb2c. The authentication is working successfully. But the problem is, after the ...
logeshpalani31's user avatar
0 votes
1 answer
45 views

Adding Users to Azure AD B2C through an external application - NullException

I have been working on an admin app that lets users view, delete and add new users to an Azure AD B2C tenant. The issue is I keep getting a 'System.NullReferenceException' when it gets to .AddAsync(...
Prime Capybara's user avatar

15 30 50 per page
1
2 3 4 5
27