How to fix Access Denied: The Personal Access Token used has expired

Viewed 2496

We are running into "Access Denied: The Personal Access Token used has expired.", we have PAT that is still valid.

Any idea what might be happening?

    id: "1"
    errorCode: 0
    eventId: 3000
    innerException: null
    message: "Access Denied: The Personal Access Token used has expired."
    typeKey: "PipelineValidationException"
    typeName: "Microsoft.Azure.Pipelines.WebApi.PipelineValidationException, Microsoft.Azure.Pipelines.WebApi"

I am not sure which token is expired, how can I find?

enter image description here

1 Answers

How to fix Access Denied: The Personal Access Token used has expired

The direct way to check whether the PAT token has expired is to find the place where PAT is used in the pipeline, find the name of the PAT, and then check whether it has expired.

Besides, if you could not find it in the pipeline, you could go to the Personal Access Tokens:

enter image description here

Then check the Expires on column.

Related