< Back

Get-AADIntAccessTokenForEXO

Fri Jan 10, 2020 5:39 pm

NAME Get-AADIntAccessTokenForEXO



SYNOPSIS

Gets OAuth Access Token for Exchange Online





SYNTAX

Get-AADIntAccessTokenForEXO [-Credentials <PSCredential>] [<CommonParameters>]



Get-AADIntAccessTokenForEXO -SAMLToken <String> [<CommonParameters>]



Get-AADIntAccessTokenForEXO -KerberosTicket <String> -Domain <String> [<CommonParameters>]





DESCRIPTION

Gets OAuth Access Token for Exchange Online





PARAMETERS

-Credentials <PSCredential>

Credentials of the user.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SAMLToken <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-KerberosTicket <String>

Kerberos token of the user.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Domain <String>



Required? true

Position? named

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:\\>Get-AADIntAccessTokenForEXO













-------------------------- EXAMPLE 2 --------------------------



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



PS C:\\>Get-AADIntAccessTokenForEXO -Credentials $cred











RELATED LINKS