A cloud-based identity and access management service for securing user authentication and resource access
Thank you for reaching out.
I see that you are planning to build on-premise server with Windows Server 2022 and want to join to Azure AD.
Please note that Azure AD Join supports Windows 10, Windows 11 but Windows Server operating systems is not supported. Please review supported devices or below documentation for list of supported operating systems.
Azure AD joined devices
In case you are also exploring hosting the machine on cloud then you can use Windows virtual machines (VMs) in Azure by integrating with Azure Active Directory (Azure AD) authentication. Please review below article for details as this is currently available with specific Windows distributions.
Log in to a Windows virtual machine in Azure by using Azure AD
I hope this answers your query.
Let me know if you have any further questions on this.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.