< Back
New-AccessToken
Post
NAME New-AccessToken
SYNTAX
New-AccessToken [-Tenant <string>] [-Client <pscredential>] [-RefreshToken <string>] [<CommonParameters>]
New-AccessToken [-Tenant <string>] [-ClientId <string>] [-ClientSecret <string>] [-RefreshToken <string>]
[<CommonParameters>]
PARAMETERS
-Client <pscredential>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name ClientCredential
Aliases None
Dynamic? false
-ClientId <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name ClientExplicit
Aliases None
Dynamic? false
-ClientSecret <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name ClientExplicit
Aliases None
Dynamic? false
-RefreshToken <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Tenant <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? 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
None
OUTPUTS
System.Object
ALIASES
None
REMARKS
None
SYNTAX
New-AccessToken [-Tenant <string>] [-Client <pscredential>] [-RefreshToken <string>] [<CommonParameters>]
New-AccessToken [-Tenant <string>] [-ClientId <string>] [-ClientSecret <string>] [-RefreshToken <string>]
[<CommonParameters>]
PARAMETERS
-Client <pscredential>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name ClientCredential
Aliases None
Dynamic? false
-ClientId <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name ClientExplicit
Aliases None
Dynamic? false
-ClientSecret <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name ClientExplicit
Aliases None
Dynamic? false
-RefreshToken <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Tenant <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? 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
None
OUTPUTS
System.Object
ALIASES
None
REMARKS
None