55.1k views
4 votes
How do you enable SSO via Powershell?

a) Set-SSOEnabled -Enabled $true
b) Enable-SSO -User
c) Configure-SingleSignOn -Enabled $true
d) Establish-SSOConnection -User

User Buuda
by
8.0k points

1 Answer

3 votes

Final answer:

To enable a. SSO via PowerShell, one would use a cmdlet appropriate for the specific system, but none of the provided options directly match a known PowerShell cmdlet. It's crucial to check the documentation for precise command and proper setup.

Step-by-step explanation:

To enable Single Sign-On (SSO) via PowerShell, you would typically use a cmdlet designed for configuring SSO settings in your environment. It is important to ensure that you are using the correct cmdlet and syntax for your particular system or service. However, among the options provided, none directly correspond with a default cmdlet in PowerShell for setting up SSO. Option (a) Set-SSOEnabled -Enabled $true appears close, but without context of the specific service or application, it's unclear if this is a valid cmdlet. Enabling SSO would likely involve configuring relevant services like Active Directory Federation Services (ADFS) or Azure Active Directory if you're working in a Microsoft ecosystem.

It's important to consult the documentation for the specific service or application you are deploying SSO for. This documentation will provide the correct cmdlet and the necessary permissions and configurations. For a robust enterprise environment, the configuration steps would be more complex and will likely require additional parameters and setup beyond a simple cmdlet.

User Chulster
by
7.9k points