Share via

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 Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author

Jyotishree Moharana 1,865 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.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 160.3K Reputation points MVP Volunteer Moderator
    2025-04-22T13:56:47.9266667+00:00

    Was this answer helpful?

    0 comments No comments

Your answer

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