Hi @DG001
Thanks for reaching out to Microsoft Q&A.
When you mentioned that your Server 2022 is "hosted onsite" do you mean that it's a physical server?
I'm asking because only Windows 10 / 11 operational systems are supported for Entra ID join (which is a prerequisite to login using an Entra ID account), except for Windows Server VMs hosted on Azure.
https://video2.skills-academy.com/en-us/entra/identity/devices/concept-directory-join
https://video2.skills-academy.com/en-us/entra/identity/devices/howto-vm-sign-in-azure-ad-windows
I'm sorry if that's not the answer you were expecting, but let me know if you have further questions.
Thanks,
Fabio