Get-JwtToken

Retrieves the user login token.

Syntax

Get-JwtToken
   [-Audience] <String>
   [<CommonParameters>]

Description

The Get-JwtToken cmdlet retrieves the user or application login information from cache. It calls Add-PowerAppsAccount if the login token expired. Use Get-Help Get-JwtToken -Examples for more detail.

Examples

EXAMPLE 1

Get-JwtToken "https://service.powerapps.com/"

Get login token for app "prod".

Parameters

-Audience

The service audience which is used for login.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False