Thank you for reaching out to the Microsoft Q&A platform.
It seems like the error is related to the user or administrator not consenting to connecting to the target device. The error message suggests sending an interactive authorization request for this user and target machine.
To resolve this issue, you can try the following steps:
- Go to the Azure portal and navigate to global filter and search for "Enterprise applications" under Microsoft Entra(Formerly Azure AD)
- Select "Enterprise applications" and search for the application that you are trying to use for remote desktop.
- Click on the application and go to the "Permissions" tab.
- Under "API permissions", make sure that the necessary permissions are granted for the application to access the target device.
- If the necessary permissions are not granted, click on "Add a permission" and select the appropriate permission.
- Once the permission is added, click on "Grant admin consent for [your organization name]" to grant consent for the application to access the target device.
After completing these steps, try logging in again and see if the issue is resolved. If the issue persists, you can try contacting your system administrator for further assistance.
For details, look at https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/grant-admin-consent?pivots=portal#construct-the-url-for-granting-tenant-wide-admin-consent
If this does answer your question, please accept it as the answer as a token of appreciation.