A personal access token (PAT) lets the review server read your pull requests and post review comments in the name of the account that owns the token. Store it on the settings page.
Create the PAT
- In Azure DevOps open the user settings and choose Personal access tokens, then New Token.
- Name it, for example
amx-review, and select the organization that holds your pull requests. - Under Scopes choose Custom defined and tick Code (Read & Write) and Pull Request Threads. No other scope is needed.
- Create the token and copy it. Azure DevOps shows it only once.
The PAT must belong to your own account. The server checks it against Azure DevOps when you save it and refuses a token that does not work.
Save it
Open the settings page, paste the token into the Azure DevOps PAT field and save. The settings page and the dashboard show only the status, for example "set, validated on 2026-11-25". They never show the token again.
Expiry and replacement
A PAT expires on the date chosen at creation, at most one year later. After that every review that needs it fails. Create a new token before the old one expires and save it the same way; saving replaces the stored one. The dashboard shows a warning as soon as a review found the token rejected. Replacing it clears the warning.
When your PAT was stored for somebody else as an approver, that person's reviews fail as well, see Approver.