Skip to content

Commit d5da11c

Browse files
"more" to "less" on line 29.
The example is setting access token lifetime to 2 hours. An access token's default lifetime is assigned a random value ranging between 60-90 minutes (75 minutes on average). https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes#access-tokens. So it is actually extending the lifetime from the default lifetime and users will authenticate less frequently.
1 parent da99517 commit d5da11c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/active-directory/develop/registration-config-change-token-lifetime-how-to.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This article shows how to use Azure AD PowerShell to set an access token lifetim
2626
To set an access token lifetime policy, download the [Azure AD PowerShell Module](https://www.powershellgallery.com/packages/AzureADPreview).
2727
Run the **Connect-AzureAD -Confirm** command.
2828

29-
Here’s an example policy that requires users to authenticate more frequently in your web app. This policy sets the lifetime of the access to the service principal of your web app. Create the policy and assign it to your service principal. You also need to get the ObjectId of your service principal.
29+
Here’s an example policy that requires users to authenticate less frequently in your web app. This policy sets the lifetime of the access to the service principal of your web app. Create the policy and assign it to your service principal. You also need to get the ObjectId of your service principal.
3030

3131
```powershell
3232
$policy = New-AzureADPolicy -Definition @('{"TokenLifetimePolicy":{"Version":1,"AccessTokenLifetime":"02:00:00"}}') -DisplayName "WebPolicyScenario" -IsOrganizationDefault $false -Type "TokenLifetimePolicy"

0 commit comments

Comments
 (0)