Sometimes you need to “cut” the relationship between your local AD and the Azure AD AAD .
To do this, first check in MSOL if the relationship exists..
Use this command:
Set the directory syncronization to disable
Set-MsolDirSyncEnabled –EnableDirSync $false
Get-MSOLCompanyInformation