Skip to content
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

azuredevops_group create may fail due to AAD replication issues/delay #6

Open
tiwood opened this issue Jan 30, 2020 · 1 comment
Open
Labels
blocked The issue is blocked by an external or internal issue bug Something isn't working prio The issue should or must be handled with a higher priority.

Comments

@tiwood
Copy link
Owner

tiwood commented Jan 30, 2020

We should add a retry function to the azuredevops_group resource.

Request

:authority: vssps.dev.azure.com
:method: POST
:path: /xxx/_apis/Graph/Groups
:scheme: https
x-tfs-fedauthredirect: Suppress
x-tfs-session: 39c99ad2-ce33-40a7-8771-6b77990c6cba
user-agent: go/go1.13.6 (darwin amd64) azure-devops-go-api/0.0.0
authorization: Basic xxx
accept: application/json;api-version=5.1-preview.1
content-type: application/json;charset=utf-8
content-length: 51
accept-encoding: gzip

{"originId":"edbb7079-7cdb-4f63-89b7-a599e827dcc5"}

Response/Returned error:

:status: 400
cache-control: no-cache
pragma: no-cache
content-length: 204
content-type: application/json; charset=utf-8; api-version=5.1-preview.1
expires: -1
<snip>

{"count":180,"value":"VS860016: Could not find subject 'edbb7079-7cdb-4f63-89b7-a599e827dcc5' in the backing domain. This value came from the parameter 'originId'. Please check your input and try again."}

Blocked-by

blocked by microsoft/azure-devops-go-api#48

@tiwood tiwood added the bug Something isn't working label Jan 30, 2020
@tmeckel tmeckel added the blocked The issue is blocked by an external or internal issue label Jan 30, 2020
@tmeckel tmeckel added the prio The issue should or must be handled with a higher priority. label Jan 30, 2020
@tmeckel
Copy link

tmeckel commented Apr 14, 2020

Files a PR at the Azure DevOps GO API which utilizes the HashiCorp retryable HTTP client as transport backend for the DevOps API

microsoft/azure-devops-go-api#49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked The issue is blocked by an external or internal issue bug Something isn't working prio The issue should or must be handled with a higher priority.
Projects
None yet
Development

No branches or pull requests

2 participants