I am having trouble with RDP from one AAD joined PC to another.

Matthew J. Castelein 0 Reputation points
2023-03-03T19:49:34.62+00:00

I am trying to RDP from my work laptop to my office PC. Both machines are AAD joined. I used to use an .rdp file with the user name as "AzureAD\MatthewJCastelein" Now this gives me "you can't sign in with a user id in this format" It suggests using my email address. WIth ******@rocsoft.com I can log in with my PIN, but not with my PASSWORD. (which, yes, I'm certain is correct) Other combinations just fail, and they usually show me briefly as "Other User" which is I'm sure not what I want.

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. James Hamil 27,221 Reputation points Microsoft Employee Moderator
    2023-03-15T19:46:35.1266667+00:00

    Hi @Matthew J. Castelein , sorry for the delay in response. As Michael said, if you're using an Azure AD-registered Windows 10 or later PC, you must enter credentials in the AzureAD\UPN format (for example, AzureAD[******@contoso.com]). If you are using a Windows 10 or later PC that's Azure AD joined or hybrid Azure AD joined to the same directory as the VM, you can enter your credentials in the format AzureAD\UPN or just your email address. It seems though this isn't the only issue plaguing you, so please try these steps:

    • Verify that the AADLoginForWindows extension wasn't uninstalled after the Azure AD join finished.
    • Make sure that the security policy Network security: Allow PKU2U authentication requests to this computer to use online identities is enabled on both the server and the client.
    • Verify that the user doesn't have a temporary password. Temporary passwords can't be used to log in to a remote desktop connection.
    • Sign in with the user account in a web browser. For instance, open the Azure portal in a private browsing window. If you're prompted to change the password, set a new password. Then try connecting again. My hunch is that this is an issue with the temporary password. Double check this and let me know your results. Please let me know if you have any questions.

    If this answer helped you please mark it as "Verified" so other users can reference it.

    Thank you,

    James

    1 person found this answer helpful.
    0 comments No comments

  2. Michael Durkan 12,241 Reputation points MVP
    2023-03-04T10:21:47.44+00:00

    Hi

    See instruction here:

    https://learn.microsoft.com/en-us/windows/client-management/connect-to-remote-aadj-pc#set-up

    You need to log on using the following credentials:

    "AzureAD\the-UPN-attribute-of-your-user"

    So for you, this would be:

    AzureAD******@rocsoft.com (assuming that this is the UPN of your user account).

    Hope this helps, let me know if you need further assistance

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.