mr-ks opened a new pull request, #7459: URL: https://github.com/apache/incubator-devlake/pull/7459
### Summary Users can now create an Azure DevOps connection using a PAT that is limited to a single organization. This means users are not required to use PATs with access to all their organizations. Currently, this feature is only applicable to the Azure DevOps Go plugin. Once confirmed that everything works as intended, it should be moderate effort to also integrate it into the python version and the new onboarding screens. ### Does this close any open issues? Closes #7243 ### Screenshots The Azure DevOps Go connection form now includes a new section called `Personal Access Token Scope`, where users can choose whether the PAT is scoped or unscoped. - **Unscoped**: The plugin attempts to retrieve all organizations initially, allowing the user to then select projects. The PAT must be created with the `All accessible organizations` option. - **Scoped**: The user can set up a connection to a specific Azure DevOps organization, from which the plugin will read the data.   ### Other Information The following endpoints are called to check if the connection is working (test connection button) - **Unscoped**: `GET /_apis/profile/profiles/me` - **Scoped**: `GET /<organization>/_apis/projects` -- 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]
