Hello there,
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 https://learn.microsoft.com/en-us/azure/active-directory/devices/azureadjoin-plan#supported-devices
You can explore Azure AD Domain Services so you can manage Domain Services within the cloud.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--