< Back

Set-AADIntPassThroughAuthenticationEnabled

Fri Jan 10, 2020 6:03 pm

NAME Set-AADIntPassThroughAuthenticationEnabled



SYNOPSIS

Enables or disables passthrough authentication (PTA).





SYNTAX

Set-AADIntPassThroughAuthenticationEnabled [-AccessToken] <String> [-Enable] <Boolean> [<CommonParameters>]





DESCRIPTION

Enables or disables passthrough authentication (PTA) using msapproxy.net api.





PARAMETERS

-AccessToken <String>

Access Token.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Enable <Boolean>



Required? true

Position? 2

Default value False

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-AADIntPassThroughAuthentication -AccessToken $pt -Enable $true



IsSuccesful Enable Exists

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

true true true











RELATED LINKS