Windows 10 – when joining to a domain you get the following
Unable to join domain already connected to an Azure AD
you will need to first remove it from the azure domain
Settings/UserAccounts/Work Access
then add it to the local domain, then you can readd it to the azure domain