I have been trying to configure login with Azure Credentials for a Windows Server , I followed up this :
https://docs.microsoft.com/en-us/azure/active-directory/devices/h