I finally got it to work:
I simple added the prefix
AzureAD\
before my username... Go figure out why...
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello, I am trying to connect in RDP several machines under Windows Server 2019 but when I log-on (with correct user/password of course), it denies me with:
"An authentication error has occurred. The credentials supplied to the package were not recognized".
I am in Windows 10 pro connected to an AzureAD domain.
I can log in to these servers from an another machine in Windows 10 but not logged into the domain.
I search on Google with no luck.
Has anyone an idea ?
Thanks.
I finally got it to work:
I simple added the prefix
AzureAD\
before my username... Go figure out why...
i am also facing the same issue using
.\UserName issue was resolved
hi,
"An authentication error has occurred. The credentials supplied to the package were not recognized".
=>The certificate is actually used to do server side TLS authentication. so do you have an idea about what kind of Certificate Authentication be used in your domain? or can you give us more details about how you generate the certificate used by RDP client? Self-assigned CA or Public CA? or Root CA? or OpenSSL?
you can try a Self-assigned CA in the way below:
This self signed certificate in .pfx together with the password could be generated by below code snippet from Config-DriverComputer.ps1
$cert = New-SelfSignedCertificate -DnsName $certCN -CertStoreLocation "cert:\LocalMachine\My"
$securePwd = (ConvertTo-SecureString -string "$certPwd" -Force -AsPlainText)
Export-PfxCertificate -Cert $cert -Force -Password $securePwd -FilePath "$env:HOMEDRIVE$certFileName.pfx"
Would you please also try these PowerShell commands to re-generate the test certificate?
Hello @Yvonne Yang (Shanghai Wicresoft Co,.Ltd.) , thank you for your answer.
I have little knowledge in Windows products, I am the domain admin and I have just setup an AzureAD domain with default configuration.
I don't know to what you are referring to when you speak about Certificate Authentication on my domain.
I didn't generate a certificate for RDP client, I am connecting with user/password, I am not using certificate based authentication (I don't even know how to do that).
However, since I manage the Windows Sever with Ansible, I did generate a certificate for the WinRM HTTPS listener with this script, I am not sure how this is related.
Also, I forgot to mention that the server is not part of AzureAD domain (we just enrolled the workstations).
I am not sure how to apply the commands you shared to me.
I hope this clarifies my setup. Thank you.
hi,
I noticed if you are trying to use RDP to connect the remote server? if any misunderstanding, please correrct me.
If yes, can you share me in which way you're using RDP to connect? Via cmstsc? or rdp.file? With 1 user to login?
Since it's not so clear on your senirio, here is the link for your reference:
https://techcommunity.microsoft.com/t5/system-center-blog/monitoring-opsmgr-workgroup-clients-part-2-installing/ba-p/350806
Hope that can help you!
--please don't forget to Accept as answer if the reply is helpful--