-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure DevOps Accounts List won't work for Service Principals #696
Comments
+1 |
any workaround for this? |
The same issue happens for us with version 7.2-preview.1. If we try passing the service principal
In this error message, the guid I replaced with xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx is the same id as the one returned by We need a simple way to get the list of Azure DevOps organizations that the currently connected service principal has access to. How can we do that? |
If you're facing the same issue, kindly upvote this ticket 10713328 as it seems this is the only one not yet closed and being tracked by Microsoft.
|
Same issue here, but I'm using a user as opposed to a service principal. Does anyone know where the EDIT: I've realised that if I remove the API version from the request URL, this works - for the "user" case (I haven't tried service principal). Leaving this comment here rather than deleting, just in case anyone else stumbles across this. |
Hi !
I'm using Azure DevOps REST API version 7.1-preview.
I'm logging in using a Service Principal, which is a member of an Azure Dev Ops Organization.
Once logged in, I'm requesting an Access Token for Azure DevOps :
I'm then getting my profile id :
When I try to get the list of Organizations attached to this member, I get an empty array :
I've tried changing the permissions associated with the Service Principal in Azure DevOps, unsuccessfully.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: