Share via


IMicrosoftGraphApiApplication.RequestedAccessTokenVersion Property

Definition

Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2

[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.Info(Create=true, Description="Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token.  The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format.  Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint.  If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2", PossibleTypes=new System.Type[] { typeof(System.Int32) }, Read=true, ReadOnly=false, Required=false, SerializedName="requestedAccessTokenVersion", Update=true)]
public int? RequestedAccessTokenVersion { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.Info(Create=true, Description="Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token.  The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format.  Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint.  If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2", PossibleTypes=new System.Type[] { typeof(System.Int32) }, Read=true, ReadOnly=false, Required=false, SerializedName="requestedAccessTokenVersion", Update=true)>]
member this.RequestedAccessTokenVersion : Nullable<int> with get, set
Public Property RequestedAccessTokenVersion As Nullable(Of Integer)

Property Value

Attributes

Applies to