Hello Ranuzzi, Alessandro
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Based on the details shared, looks like you have already taken the necessary steps to configure your Azure VM for Azure AD authentication and have created a DNS record for the FQDN. However, the error message you are receiving indicates that the Azure AD tenant is not recognizing the device identifier in the request.
Try these troubleshooting steps and see if that helps resolve the issue:
-Verify that the Azure AD tenant is correctly configured to allow Azure AD authentication for the VM.
-Check that the AADLoginForWindows extension is installed and enabled on the VM.
-Ensure that the VM's hostname matches the DNS record you created. Run hostname
on the VM and make sure that the output matches the hostname specified in the DNS record.
-Try connecting to the VM using the Azure AD credentials and the FQDN without specifying the domain name. For example, if the FQDN is hostname.mypersonaldomain.it
, try connecting using hostname
as the computer name.
-If none of the above steps helps, you can try resetting the AADLoginForWindows extension on the VM to see if that helps.
Hope this helps.