Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Build and Work Item status bars always show ??? ('Unauthorized') #20

Closed
jeffyoung opened this issue Jun 10, 2016 · 1 comment
Closed
Labels

Comments

@jeffyoung
Copy link
Contributor

If you generated a PAT using the "Generate Git credentials" button on the web interface for Team Services, you will get a PAT that does not have any scopes for Build or Work Item Tracking. When this happens, the extension will load, the status bar will appear but the Build and WIT items will show '???'.

build-wit-unauthorized

This occurs because that PAT doesn't grant permissions to read either the Build or Work item information. I tried to call this out in the README (step 1 under Installing the Extension) but that was more in reference to a bug in Team Services at that time.

No matter how the PAT was created, it will need at least Read permissions for Code, Build and Work items.

@jeffyoung
Copy link
Contributor Author

I should have also mentioned that you can go back and update the scopes for a particular PAT by navigating to your "My Security" page. Tokens created from the web site have the phrase "on the website" appended to it. If you click the link for that token, you are taken to the page where you can update your scopes accordingly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant