Set-DSAuthenticationModes
Synopsis
Modify the authentification modes allowed.
Syntax
__AllParameterSets
Set-DSAuthenticationModes [-AzureADAuthenticationEnabled <bool>]
[-CustomAuthenticationEnabled <bool>] [-DomainAuthenticationEnabled <bool>] [-AsLegacyResponse]
[<CommonParameters>]Description
Modify the authentification modes allowed. AzureAD, Custom (Devolutions Server) and Domain authentications can be modified.
Examples
PS C:\> Set-DSAuthenticationModes -AzureADAuthenticationEnabled $trueAllow AzureAD authentication on the dlvs server.
Parameters
-AsLegacyResponse
In versions prior to 2024.2, many DS cmdlets returned a ServerResponse object. Enabling this backward compatibility switch allows scripts developed for earlier versions to function correctly.
-AzureADAuthenticationEnabled
Allow or not AzureAD authentication method.
-CustomAuthenticationEnabled
Allow or not Custom (Devolutions Server) authentication method.
-DomainAuthenticationEnabled
Allow or not Domain authentication method.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Notes
For more information, type "Get-Help Set-DSAuthenticationModes -detailed". For technical information, type "Get-Help Set-DSAuthenticationModes -full".
Last updated
Was this helpful?