Set-MsolDirSyncEnabled -EnableDirSync $false after MSOnline PowerShell Retirement

Les 51 Reputation points
2025-04-22T13:30:17.1533333+00:00

after MSOnline PowerShell Retirement how can we convert users to cloud only or should we do that prior to retirmenet

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,502 questions
{count} votes

Accepted answer
  1. Jyotishree Moharana 950 Reputation points Microsoft External Staff Moderator
    2025-04-22T17:15:46.6+00:00

    Hello @Les

    Yes, the document Turn-off-directory-synchronization is correct to convert synced users to cloud only users as it turns off the directory sync from on-prem to Entra and removes all on-premises properties which makes the user cloud only and then the user can be managed in cloud i.e. Entra. This document has the PowerShell commands documented to perform this change by using MS Graph PowerShell module.

    However, do note that the commands provided in the document would turn off the sync for your entire synced users/groups and will convert all those synced users/groups to cloud only. This cannot be utilized to target any specific user or group as this is an organization wide change.

    If you have any further query, please do let us know.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 155.8K Reputation points MVP Moderator
    2025-04-22T13:56:47.9266667+00:00
    0 comments No comments

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.