Clear AD Information from User Migrated from AD to AAD

ITManager-2685 1 Reputation point
2021-09-09T16:11:59.04+00:00

I'm trying to clear all local domain information from migrated accounts that are AAD only now. What I've come across that makes the most sense is the AzureADUserExtension. It appears that removing this would resolve the AD historical information, but it isn't clear if there would be negative impacts to this change. Would the users then show properly as AzureAD accounts vs. legacy local domain? Would any ID information be missing and need to be corrected for the process to work?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sarat Chandra 601 Reputation points
    2021-09-10T17:33:21.227+00:00

    Dear ITManager-2685,

    Can you Run the below power shell commands

    In the PowerShell window, run the following commands:
    • Type "Connect-MsolService" and press enter to connect to O365.
    • Type "(Get-MsolCompanyInformation).DirectorySynchronizationEnabled" and press enter to check the current status of on-premises syncing and verify it is enabled. If it is enabled, the result will be "True".
    • Type "Set-MsolDirSyncEnabled -EnableDirSync $false" and press enter to disable the on-premises syncing.
    • Type the command for checking the status of the on-premises syncing "(Get-MsolCompanyInformation).DirectorySynchronizationEnabled" and press enter to verify the syncing has been disabled. If syncing has correctly been disabled, the result will be "False".

    131117-picture1.png

    Refer:https://learn.microsoft.com/en-us/microsoft-365/enterprise/connect-to-microsoft-365-powershell?view=o365-worldwide

    I don't think there will be any negative impacts on this change. yes, users will show properly as AzureAD accounts vs. legacy local domain.

    Please refer ==>https://learn.microsoft.com/en-us/answers/questions/2866/issues-concerns-moving-from-on-premise-ad-to-azure.html

    I hope I answered your query, if not please let me know

    Thanks & Regards,
    Sarat


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.