How To Add And Delete Users In Azure Active Directory

How To Add And Delete Users In Azure Active Directory

Adding and Deleting users in Azure Active Directory is a common task. In this tutorial, we’ll go through each step of the User Creation process. Then once that is successful, we can take all of the steps needed to delete a user from Azure Active Directory. Finally, if we decide we didn’t want to delete a user, we’ll explore the Recover A Deleted User feature in Azure Active Directory.


Creating An Azure Active Directory

To begin, we can create a new resource in the Azure Portal.  This is because, for this tutorial, we need a new Azure Active Directory (Azure AD) to hold some user accounts.

Azure services select Create a resource


In the search box, type Azure Active Directory and hit enter. The Azure Active Directory pane appears.

Create an Azure Active Directory


Click Create and select Azure Active Directory in the area where you can choose between Azure Active Directory or Azure Active Directory (B2C).

Azure Create a tenant pane


Click Next : Configuration, and enter the needed values for a user.

azure create a tenant configuration


Click Next : Review + create and if validation passes, click Create

azure review and create tenant


Solve the robot quiz to continue creation.

solve the robot quiz


At this point we can see “Tenant creation in progress this will take a few minutes”

Tenant creation in progress this will take a few minutes


Once the creation is successful we can Go To the New Tenant.

tenant creation successful


Add A User To Azure Active Directory

Now we want to add a user to the AAD Tenant.  For this, we click on Users under the Manage section.

azure manage users


A new user option is available, so we click New user.

azure New user pane


This section has a User name, Name, First Name, Last Name, and Password information to fill out.

Azure Add a new user


Once all of the information is added and we click Create, the New User Is now in AAD

azure active directory all users


Delete A User From Azure Active Directory

Deleting a user from Azure Active Directory is pretty easy. Simply select the user to delete with a checkbox, then click on Delete user.

Delete A User From Azure Active Directory


You’ll need to click OK when the prompt for Delete selected users? appears.

delete selected users ok


The notifications area should provide some helpful feedback that the user was successfully deleted.

aad user has been deleted


How To Recover A Deleted Azure User

You may want to recover a deleted user in Azure Active Directory, and this is certainly possible. Select the Deleted users link on the left.

How To Recover A Deleted Azure User


Select the user to restore with a checkbox, then click on Restore user.

azure restore user


Once again we can click OK when the Restore selected users? prompt appears.

restore selected azure users ok


Again we can see helpful notifications that confirm our progress.

Azure user successfully restored

How To Add And Delete Users In Azure Active Directory Summary

In this tutorial, we saw how to create an Azure Active Directory Tenant, add a user, delete a user, and also restore a user. These are simple things you’ll need to do all the time when working in Azure.