gustavobergamim / azdevops-pipeline-approval

https://marketplace.visualstudio.com/items?itemName=GustavoBergamim.pipeline-approval
MIT License
20 stars 10 forks source link

Which PAT to use #88

Closed SeriousM closed 3 years ago

SeriousM commented 3 years ago

Hi! I try to extend your addon with pipeline support and wanted to start the app. I've read your description:

Deploy the extension to the marketplace: npm run publish:dev --token [token] The [token] here is an Azure DevOps PAT (personal access token) with the Marketplace (Publish) scope and access set to All accessible organizations. For more information, see Authenticate access with personal access tokens.

I tried it with the exact setup as you wrote (Marketplace Publish + All Organizations) and also with Full-Access with all Organizations. But no luck...

error: Received response 401 (Not Authorized). Check that your personal access token is correct and hasn't expired.

The PAT is definitely not expired and I have admin rights to the devops where this PAT is coming from.

Could you please help me resolve this problem? Thank!

SeriousM commented 3 years ago

https://github.com/gustavobergamim/azdevops-pipeline-approval/pull/89

That's the fix