Dear @Ejilson Nelson,
Thank you for posting your question in Microsoft Q&A.
Based on your inquiry, we understand that you have considered disable Directory Synchronization (Azure AD Connect) for your tenant. We will be glad to assist you with this part.
I have found the relevant article can help you to do it:
Turn off directory synchronization for Microsoft 365 - Microsoft 365 Enterprise | Microsoft Learn
You can use Microsoft Graph PowerShell SDK. This is the modern, unified PowerShell module built on the Microsoft Graph API.
# Install v1.0 and beta Microsoft Graph PowerShell modulesInstall-Module Microsoft.Graph -Force Install-Module Microsoft.Graph.Beta -AllowClobber -Force # Connect With Hybrid Identity Administrator Account
Connect-MgGraph -scopes "Organization.ReadWrite.All,Directory.ReadWrite.All"
# Verify the current status of the DirSync Type
Get-MgOrganization | Select OnPremisesSyncEnabled
# Store the Tenant ID in a variable named organizationId
$organizationId = (Get-MgOrganization).Id
# Store the False value for the DirSyncEnabled Attribute
$params = @{ onPremisesSyncEnabled = $false }
# Perform the update
Update-MgOrganization -OrganizationId $organizationId -BodyParameter $params
# Check that the command worked
Get-MgOrganization | Select OnPremisesSyncEnabled
If you need further assistance, please let us know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.