CamilleTeruel commented on issue #6221:
URL: 
https://github.com/apache/incubator-devlake/issues/6221#issuecomment-1757613769

   > I have noticed that "Please select ALL ACCESSIBLE ORGANIZATIONS for the 
Organization field when you create the PAT.", but my personal access token 
cannot change this field. I don't know why.
   
   I don't know why you can't change it either, but this is the reason it 
doesn't work. 
   To fetch remote scopes we need to get the name of each (or of the sole) 
organization(s). To do that we need to access the "account" API at 
`https://app.vssps.visualstudio.com/_apis` (not the same as the AzDo-specific 
API at `https://dev.azure.com/_api`). This API is accessible only when the 
token organization is set to "All accessible organizations".
   
   The only alternative is to provide the organization name in the connection.
   Support has been added in #4822 on the backend but the config UI doesn't 
have a field for it yet.
   Meanwhile, you can test by changing the connection's organization value to 
`linweihoumerico` directly in the DB.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to