Clear ADsync database

Mishaua 716 Reputation points

I have a staging environment that I have been testing out sync rules with. What is the best way to clear out the metaverse and connector space database without reinstalling and recreating the database? I think doing a full import leaves some residual data. I want to clear everything out and do a full import\full synch from scratch.

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

Accepted answer
  1. JimmySalian-2011 41,961 Reputation points

    Hi Mishua,

    Thank you for asking this question on the Microsoft Q&A Platform.

    I came across this script and will be using it my lab however it does the job as per the Github repo, so please review this and try out.

    If it does not map your requirements, I will suggest you can raise a support ticket with Microsoft.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Mishaua 716 Reputation points

    Deleting the connector spaces seems to do to the trick.