Edit

Share via


Azure DevOps - Sprint 236 Update

Features

Personal access token (PAT) APIs to return maximum allowed lifespan

When managing personal access tokens (PATs) through the PAT management APIs, a validTo expiration date can be specified for newly created or updated PATs. If the "Enforce maximum personal access token lifespan" policy is enabled and the specified validTo date exceeds the policy's maximum lifespan limit, the system now automatically adjusts and issues a PAT with the maximum permitted lifespan, rather than producing an error.

Previously, going over the maximum allowed lifespan would cause a PatLifespanPolicyViolation error. This change helps apps and tools that use these APIs handle PAT creation and update errors better when the "maximum personal access token lifespan" policy is enabled.

Next steps

Note

These features will roll out over the next two to three weeks.

Head over to Azure DevOps and take a look.

How to provide feedback

We would love to hear what you think about these features. Use the help menu to report a problem or provide a suggestion.

Make a suggestion

You can also get advice and your questions answered by the community on Stack Overflow.