Disable Ad cloud sync and single sign on

Dario Bodini 1 Reputation point
2021-06-16T11:06:31.02+00:00

I lost DC with AD connect - no way to restore but it's test environment - and I'm trying to force removal of Azure AD Connect sync and Seamless single sign-on (Enabled on 1 domain but It's the removed one). Agent warning is cleaned after a couple of weeks.
106233-cattura.jpg
Any suggestions?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,293 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Marilee Turscak-MSFT 36,811 Reputation points Microsoft Employee
    2021-06-17T21:19:36.56+00:00

    To disable Azure AD Connect, install the MSOnline (Azure AD v1 PowerShell) module, and then run Set-MsolDirSyncEnabled -EnableDirSync $false. This will disable directory synchronization on your Azure AD tenant and will convert all synchronized objects (DirSyncEnabled = True) to cloud objects(DirsyncEnabled = False).

    See related document here and related thread here.

    0 comments No comments

  2. Dario Bodini 1 Reputation point
    2021-06-18T07:02:46.073+00:00

    Thank you Marilee, but when I run connect-msolaccount, I get an error that this is not a business account. In fact it's true, It's a msdn subscription. Only Azure not O365.

    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.