Skip to main content

Setup Azure AD B2C

Azure Active Directory B2C

Briefly, Azure Active Directory (Azure AD) B2C is a business-to-consumer identity management service. This service enables you to customize and control how users securely interact with your web, desktop, mobile, or single-page applications. Using Azure AD B2C, users can sign up, sign in, reset passwords, and edit profiles. Azure AD B2C implements a form of the OpenID Connect and OAuth 2.0 protocols. The important key in the implementation of these protocols is the security tokens and their claims that enable you to provide secure access to resources.

Ingredients for set up an Azure AD B2C resource

Ingredients that you need to have in-order to set up an Azure AD B2C
  • Microsoft Azure account with a valid subscription associated.
  • Azure AD B2C tenant resource with necessary policies

Directions

I hope that you have a Microsoft Azure account with a valid subscription associated. If you don't have an account, create an account with the support of the link provided here. 

If you don't have an Azure AD B2C tenant resource already that would be the next step. Follow the steps given here.

I hope you have linked your Azure AD B2C tenant resource to your Azure subscription. If you read the link given in the above paragraph, you should have already linked it.

You will be able to see your Azure AD B2C tenant resource in your "All resources" page. If it is visible, you can switch to the newly created directory, else, refresh your browser window, then check the "All resources" page again.

Go to the All resources page to find new Azure AD B2C resources.

Switch to newly created Azure AD B2C directory.
In your new directory click on the "All services" page

All Services will list down available services in the directory.
and then type "b2c" on the search area and you will see a service called "Azure AD B2C" on the result list. Click on that and it will redirect to the overview page of the Azure AD B2C service.

Overview page of Azure AD B2C service

Make sure your Domain name, Subscription ID and the Resource name are correct.

You are now qualified to authenticate your app with Azure AD B2C resource.

May the force be with you! 

Comments

Popular Posts

SSAS: The Sort Order Specified For Distinct Count Records Is Incorrect.

Symptoms During a processing time of a cube that contains a distinct count measure, the process fails with the following error message: The sort order specified for distinct count records is incorrect Cause This is most likely caused by different sort order used on the data warehouse data set and the analysis service database data set. Resolution Modify the sort order of the data warehouse data set so that it will match with the analysis service database data set. Into the Depth  Navigate to the analysis database and start to process the desired database. When the processing begins, the Process progress window will pop up. Wait till the process gets failed. After the process failed, find the failing measure group and expand to the last node where you can see an SQL query. Double click on the query and view the details. This query gives you the exact order by the column which caused you this trouble.  Execute the query using the data warehouse datab...

Renaming SQL Server Database

Very recently I was working on a data archival module. Project was almost 10+ years old and it kept very sensitive, huge data set. While testing this, accidentally I have deleted some required records from a shared development database which is not awesome at all. Only option that I had was restoring backup files. But developers who worked with me requested to keep the damage database, since they were not sync schema with the source controller. Only possibility that came to my mind was rename the damaged database and restore backup database with the original name. As all ways I googled it "how to rename a SQL server database", many articles were listed down in my search result but couldn't find a good all in one article. therefore thought of sharing what I learned. Understanding what we are going to do with the rename is important.Mainly this process can divided into three parts, Rename Database Rename Mappings Rename Files Following the order of above thre...

Satellite Assembly in C#

Satellite Assemblies Resource files in Dot Net Resource files are typically used to store any resources in your Dot Net application. Resource file allows you to store images, icons, audio, files, strings and other types of resources. Of cause it is not mandatory to keep them inside a resource file. But when it comes to localization it is recommended to work with the resource file. localization Which means based on the user's language and culture change the application and the resources. How to archive localization with resources? Seems to be an impossible task. But to make the impossible possible, Dot Net provides you a special assembly called "Satellite Assembly" Satellite assemblies are assemblies that containing resources specific to a given language and culture. Using satellite assemblies, you can place the resources for different languages in different assemblies, and the correct assembly is loaded into memory only if the user selects to view the ...