...
Sign in to your organization in Azure DevOps (
https://dev.azure.com/{yourorganization}
)From your home page, open your user settings, and then select Personal access tokens.
- Select + New Token.
- Name your token, select the organization where you want to use the token, and then choose a lifespan for your token.
Select the scopes for this token to authorize for your specific tasks.
- Under Scopes, select Custom defined.
- Click on the Show all scopes.
- Select Test Management and enable Read & write.
- Select Tokens and check enable Read & manage.
- Select Work items and check enable Read, write, & manage.
- Click Save.
- When done, make sure to copy the token. For your security, it won't be shown again. Use this token as your password.
...