< Back

Get-AADIntAccessTokenForAzureMgmtAPI

Fri Jan 10, 2020 5:38 pm

NAME Get-AADIntAccessTokenForAzureMgmtAPI



SYNOPSIS

Gets OAuth Access Token for Azure Management API





SYNTAX

Get-AADIntAccessTokenForAzureMgmtAPI [[-Credentials] <PSCredential>] [-ExportTokenObject] [<CommonParameters>]





DESCRIPTION

Gets OAuth Access Token for Azure Management API





PARAMETERS

-Credentials <PSCredential>

Credentials of the user.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ExportTokenObject [<SwitchParameter>]



Required? false

Position? named

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:\\>Get-AADIntAccessTokenForAzureMgmtAPI -Credentials $cred











RELATED LINKS