< Back

Get-AADIntAccessTokenForOfficeApps

Fri Jan 10, 2020 5:39 pm

NAME Get-AADIntAccessTokenForOfficeApps



SYNOPSIS

Gets OAuth Access Token for Office Apps





SYNTAX

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



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



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





DESCRIPTION

Gets OAuth Access Token for Office Apps





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-AADIntAccessTokenForOneOfficeApps













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



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



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











RELATED LINKS