Delete User from AD

HASSAN BIN NASIR DAR 306 Reputation points
2024-04-23T07:44:08.52+00:00

Hi

I have a question.

I have a user which is created on On-premise AD and synced to Azure AD. This user has exchange online, teams and one drive license.

I want to remove this user. What is the best way to remove this user?

If I will remove it from On-premise AD then this will remove automatically from Azure AD, exchange mailbox , teams and one drive?

Regards

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,898 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,561 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 95,666 Reputation points MVP
    2024-04-23T07:50:07.42+00:00

    The correct way would be to remove it from AD, but do make sure that you have backed up any data you might want stored, as this will indeed result in removing the user from Azure AD/M365.

    0 comments No comments

  2. Jing Zhou 2,240 Reputation points Microsoft Vendor
    2024-04-23T09:54:06.17+00:00

    Hello,

    Thank you for posting in Q&A forum.

    The best way to remove this user is to delete it in the local Active Directory and wait for Azure AD Connect to synchronize and reflect the changes to Azure AD. Thereby removing the user's relevant licenses and services. This means that the user's Exchange mailbox, Teams license, and OneDrive will be deleted. No need to manually delete the user's Exchange mailbox, Teams license, and OneDrive.

    It is worth noting that completing these changes may take some time to fully take effect, depending on the frequency of synchronization and the running status of Azure AD Connect. Therefore, it is recommended that you wait for a period of time after deleting users to ensure that all services and licenses have been correctly deleted.

    Hope this answer can help you well.

    Best regards,

    Jill Zhou

    0 comments No comments