Disable Force SSO on all users in Devolutions Cloud using PowerShell

Devolutions Cloud administrators might want to disable the option to Force SSO on all users. This can be done using an application identity and a simple PowerShell script.

  1. In Devolutions Cloud, create an application identity.

  2. Assign the Manage system configuration permission to the newly created application identity.

  3. Use the following PowerShell script to disable Force SSO on all users option in Devolutions Cloud:

$url = 'YOUR_HUB_URL'
$appSecret = 'INSERT_APP_SECRET';
$appKey = 'INSERT_APP_KEY';
Connect-HubAccount -Url $url -ApplicationKey $appKey -ApplicationSecret $appSecret

$psSystemSettings = Get-HubSystemSettings
#Enable Devolutions user login method
$psSystemSettings.AllowDevolutionsAccountLogin = $true

#Optional - Disable SSO option
$psSystemSettings.AllowSSOLogin = $false

Set-HubSystemSettings -PSSystemSettings $psSystemSettings

Write-Host "Authentication method updated"

See also

Devolutions Forum logo Partagez vos commentaires