Posted in Azure Active Directory, Development, Microsoft Azure

Microsoft Azure – How to create the Azure Active Directory (AD) using Azure Portal

Microsoft Azure Active Directory (AD) is a cloud based service to handle the identity and access management. It has the capabilities like multi factor authentication, self-service password reset, role based access control, security monitoring, managing alerts etc. When user create an Azure AD directory it automatically links with Azure subscription.

Azure AD provide easy way to give users single sign-on (SSO) access to various application like office 365, Dropbox, salesforce etc. Azure AD improve application security with multi-factor authentication and conditional access.

Azure AD can also be integrated with on premise Windows AD using Azure AD connect which provides organizations to use their existing on premise identity system to manage access to cloud based application.

Azure AD capabilities comes up in 3 versions Basic, Premium P1 and Premium P2. Paid editions P1 and P2 are built on top of free versions and provide more rich security facilities like monitoring security, self-service password management, privilege identity management etc.


Now, let’s jump on the demo part and learn how to create the active directory.

  1. Login to Azure Portal (If you don’t have Azure account then you can sign up for Azure free trial)
  2. From the left side pane, select Azure Active Directory or write it in a search box from the top of Azure dashboard.
  3. In create directory section, fill out the details like organization name, initial domain name, select country or origin. Initial domain name should be unique else it will throw error if it’s already used by another user.


  1. Click on ‘Create’ button to create the directory.
  2. After successful creation of directory, a new window appears as shown below –

  1. Now next step is to create a group in the directory and assign a user to a group.
  2. Click on ‘Groups’ tab to create a new Group.
  3. Click on ‘New Group’
  4. Enter the Group Name as ‘IT’.


  1. Click ‘Create’ button.
  2. You can see the new group in Group window

12. Click on ‘Users’ tab to create a new user.

13. Click on ‘Create new user’

14. Fill the details like Name, User name, profile, directory.

15. Enter name ‘adkktest’

16. Enter User Name which user enters to sign in to Azure AD. You should use the domain that you use at the time of creation of active directory. E.g.

You can define the custom domain but for that you need to registered them.


  1. Fill the details in Profile section.

  1. Select the Group that you have created earlier. E.g. IT
  2. Select the Directory Role.
  3. Click on ‘Show Password’ and note down the password. You will need it when login with new username.
  4. Click ‘Create’
  5. New user has been created successfully associated with a group.

So, this is how we can create a new directory and then create a group and assigned users to them.


I am Kapil Singh Kumawat working on SQL Server since last 5 years. I am from Jaipur, Rajasthan, India and currently working in Cognizant Technology Solutions as SQL Server Developer. I have a good experience in writing queries, performance tuning, SSIS, SSAS, Power BI, Data migration and database designing. Apart from database I have interest in travelling,watching football and listening music. My blogs are also published on

One thought on “Microsoft Azure – How to create the Azure Active Directory (AD) using Azure Portal

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s