This article walks through Hybrid Azure AD Join scenario for systems using AD Connect to allow AD domain-join and Azure AD join to co-exist.
Your One-Stop Microsoft 365 Shop