How To Setup Azure AD

How To Setup Azure AD

This Azure tutorial will discuss the quick steps to set up Azure AD.

Azure Active Directory Configuration Step-By-Step

Well, before discussing Azure AD setup, We should have a little idea of What is Azure Active Directory.

Follow the below steps for Azure AD setup using the Azure Portal.

1. Login to Azure Portal (

2. Once you log in, click on the + Create a resource from the left navigation menu.

How To Setup Azure AD

3. search for the Azure Active Directory on the New page and click on the search result.

setup azure ad

4. Click on the Create button on the Azure Active Directory page.

azure ad setup

5. On the Create Tenant page, enter the Organization name, Initial domain name, and Country or Region, then click the Create Button.

azure active directory setup

Navigate to the Azure Active Directory you have created. From the left navigation, select App registrations

how to setup azure

Provide the application’s name, choose the other options like below, and then click on the Register button.

setup azure active directory

If you want to see all the registered applications under that Azure Active Directory, click on the App registrations and the All application options.

setup azure AD

You can click on the registered application and then set the Redirect URLs and Application ID URL by clicking on the Add a Redirect URL and Add an Application ID URL links.

How do i setup azure AD

Now you can click on the Endpoints to see all the endpoints, including the Microsoft GraphAPI. You can copy these endpoints if you need to use those externally.

How do I create Azure Active Directory

Click on the API permission from the left side menu, then click on the + Add permission. You can click on the Microsoft Graph from the list of APIs.

how to setup azure active directory

Now, from the Request API permissions, you can choose the Delegated permissions and then select the needed permission under the Permission section based on your business needs and click on the Add permissions button.

You can also choose the Application permissions based on your business needs.

how to configure azure AD

In the same way, you can choose other APIs like Azure DevOps, Azure Key Vault, Azure Rights Management Services, Azure Service Management, Azure Storage, etc, based on your business needs.

Now, to configure Azure Active Directory single sign-on, Navigate to the Azure Active Directory, click on the App registrations, and then you can click New application registration to add a new application

Configure Azure Active Directory to perform Single Sign-On

On the Register, an application page, Provide a name, Choose an option for Who can use these applications, or access this API? and then choose the Redirect URI as a Public client/native (mobile/desktop) option and provide the required URI then click on the Register button.

How To configure Azure Active Directory

Click on the API permissions and then + Add a permission —> Select an API based on your requirement.

setting up azure ad


How do I manually sync my Azure AD?

We can manually sync the Azure Active Directory using the PowerShell cmdlet. Follow the below steps to sync your Azure AD.

1. Open the Windows PowerShell or PowerShell ISE in administrator mode.

azure ad setup

2. Run the below cmdlet to import the ADSync module

Import-Module ADSync
azure ad sync powershell commands

3. You can use the below PowerShell cmdlet

PS C:\WINDOWS\system32> Start-ADSyncSyncCycle -PolicyType Delta
azure ad connect sync

Or, you can also use the below PowerShell cmdlet to force AD sync

PS C:\WINDOWS\system32> Start-ADSyncSyncCycle -PolicyType Initial
how do i manually sync my azure ad connect

You may also like following the tutorials below


Well, in this tutorial, we discussed Azure Active Directory configuration step by step.