< Back

Set-AADIntDesktopSSO

Fri Jan 10, 2020 6:01 pm

NAME Set-AADIntDesktopSSO



SYNOPSIS

Enables or disables Seamless SSO for the given domain





SYNTAX

Set-AADIntDesktopSSO [-AccessToken] <String> [[-ComputerName] <String>] [-DomainName] <String> [[-Enable]

<Boolean>] [-Password] <String> [<CommonParameters>]





DESCRIPTION

Enables or disables Seamless SSO for the given domain





PARAMETERS

-AccessToken <String>

Access Token.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ComputerName <String>



Required? false

Position? 2

Default value AZUREADSSOACC

Accept pipeline input? false

Accept wildcard characters? false



-DomainName <String>



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Enable <Boolean>



Required? false

Position? 4

Default value True

Accept pipeline input? false

Accept wildcard characters? false



-Password <String>



Required? true

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$cred=Get-Credential



PS C:\\>$pt=Get-AADIntAccessTokenForPTA -Credentials $cred

PS C:\\>Set-AADIntSeamlessSSO -AccessToken $pt -DomainName "company.net" -Password "MySecretPassWord"



IsSuccessful ErrorMessage

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

True











RELATED LINKS