Azure AD Tutorial

Allan Rosner 0 Reputation points
2024-08-21T12:57:20.2366667+00:00

I would like to create a test application with the following:

  1. Add an Azure B2C application to the portal while creating a tenant id, app id and app secret.
  2. The Azure application must be able to accommodate tokens.
  3. The Azure application must contain a few test users.
  4. The Azure application will be accessed by a .Net MVC application. When the user signs in to the MVC application, the Azure B2C application will be accessed and the user will see the Azure 2 factor authentication login. When the successfully user logs in, there is a redirection to the test MVC application via localhost.
  5. The MVC application records that the user is authenticated.
  6. The MVC application will be able to retrieve all users and check if the user is authenticated via API calls.

Is there any tutorial that can help (especially with setting up the Azure B2C side).?

Microsoft Entra
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 24,311 Reputation points Microsoft Employee
    2024-08-26T18:19:17.6366667+00:00

    Hi @Allan Rosner , this document should work for you! https://learn.microsoft.com/en-us/azure/active-directory-b2c/configure-authentication-sample-web-app-with-api?tabs=visual-studio

    Please let me know if you have any questions and I can help you further.

    If this answer helps you please mark "Accept Answer" so other users can reference it.

    Thank you,

    James

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.