AZ-500 • Practice Exam 64
Free AZ-500 practice exam — 20 questions with explanations. Set 64. No signup required.
You executed the PowerShell script shown in the exhibit to set a token lifetime policy for an application. What is the effect on users accessing the application?
Refer to the exhibit.
$policy = New-AzureADPolicy -Definition @('{"TokenLifetimePolicy":{"Version":1,"AccessTokenLifetime":"02:00:00","MaxAgeSessionSingleFactor":"01:00:00"}}') -DisplayName "TwoHourToken" -IsOrganizationDefault $false
Add-AzureADApplicationPolicy -Id $appId -RefObjectId $policy.Id