Is there any way to have SSO for PowerShell and RDP?

Roman King 21 Reputation points
2021-09-28T14:35:49.757+00:00

We are trying to use Windows Admin Center (testing it) and I would like to know how could I SSO to servers I am managing for RDP and PowerShell purposes?
I have found a way to connect to servers without providing credentials like this
Set-ADComputer -Identity (Get-ADComputer "servername") -PrincipalsAllowedToDelegateToAccount (Get-ADComputer $wacserver)
But each time I connect to PowerShell or RDP I still have to provide my credentials.

Any way to SSO?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,611 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,501 Reputation points
    2021-09-28T18:44:28.947+00:00

    Hello RomanMelekh,

    Unfortunately there is no way to use SSO during powershell execution, obviously for potential security risks.

    The only way is if you have a hybrid AD in Azure and you can use the Seamless SSO option:

    https://learn.microsoft.com/en-us/azure/active-directory/hybrid/tshoot-connect-sso

    Part of the AD Connect module:https://learn.microsoft.com/en-us/azure/active-directory/hybrid/reference-connect-version-history#14380

    Best regards,

    -----------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--