Disable Force SSO on all users in Devolutions Cloud using PowerShell
Devolutions Cloud administratorer kan vil at deaktivere indstillingen at gennemtvinge SSO på alle brugere. Denne kan være done ved hjælp af en programidentitet og en enkel PowerShell script.
I Devolutions Cloud, Opret en programidentitet.
Tildel Manage system konfiguration tilladelse til newly oprettet programidentitet.
Brug følgende PowerShell script at deaktivere Force SSO på alle brugere indstilling i Devolutions Cloud:
$url = 'YOUR_HUB_URL'
$appSecret = 'INSERT_APP_SECRET';
$appKey = 'INSERT_APP_KEY';
Connect-DCAccount -Url $url -ApplicationKey $appKey -ApplicationSecret $appSecret
$psSystemSettings = Get-DCSystemSettings
#Enable Devolutions user login method
$psSystemSettings.AllowDevolutionsAccountLogin = $true
#Optional - Disable SSO option
$psSystemSettings.AllowSSOLogin = $false
Set-DCSystemSettings -PSSystemSettings $psSystemSettings
Write-Host "Authentication method updated"Sidst opdateret
Var dette nyttigt?