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.
In the search box, type Azure Active Directory and hit enter. The Azure Active Directory pane appears.
Click Create and select Azure Active Directory in the area where you can choose between Azure Active Directory or Azure Active Directory (B2C).
Click Next : Configuration, and enter the needed values for a user.
Click Next : Review + create and if validation passes, click Create
Solve the robot quiz to continue creation.
At this point we can see “Tenant creation in progress this will take a few minutes”
Once the creation is successful we can Go To the New Tenant.
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.
A new user option is available, so we click New user.
This section has a User name, Name, First Name, Last Name, and Password information to fill out.
Once all of the information is added and we click Create, the New User Is now in AAD
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.
You’ll need to click OK when the prompt for Delete selected users? appears.
The notifications area should provide some helpful feedback that the user was successfully 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.
Select the user to restore with a checkbox, then click on Restore user.
Once again we can click OK when the Restore selected users? prompt appears.
Again we can see helpful notifications that confirm our progress.
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.