This error is usually caused when an Azure subscription is moved to a new Azure AD directory and the old Azure AD directory that's associated with Azure AD DS is deleted. This error is unrecoverable. To resolve the alert, delete your existing managed domain and recreate it in your new directory.