GitHub user dosubot[bot] added a comment to the discussion: Azure DevOps 
Connection with an unchangeable ORganization field

<!-- Greeting -->
Hi @bygones123! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the 
incubator-devlake team.

<!-- Answer -->
This is a hard limitation imposed by your Azure DevOps or company policy, not 
by DevLake. DevLake requires either a token with access to all organizations or 
an organization-scoped token with the organization specified. If the 
Organization field is greyed out and you can't select "All accessible 
organizations," there isn't a workaround in DevLake to bypass this 
requirement—it's enforced by Azure DevOps or your admin settings. If neither 
option is available, connecting Azure DevOps to DevLake isn't possible under 
these constraints. You may need to contact your Azure DevOps administrator to 
adjust the policy if you require broader access.  
[Reference: DevLake Azure DevOps connection docs and 
code](https://github.com/apache/incubator-devlake/blob/main/config-ui/public/onboard/step-2/azuredevops.md)
  
[Reference: DevLake Azure DevOps connection backend 
code](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/azuredevops_go/api/connection_api.go)


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/c2a2407b-9710-44bb-b5dc-b23db0fe274c?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/c2a2407b-9710-44bb-b5dc-b23db0fe274c?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/c2a2407b-9710-44bb-b5dc-b23db0fe274c?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/c2a2407b-9710-44bb-b5dc-b23db0fe274c?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/c2a2407b-9710-44bb-b5dc-b23db0fe274c?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/c2a2407b-9710-44bb-b5dc-b23db0fe274c?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/c2a2407b-9710-44bb-b5dc-b23db0fe274c?feedback_type=other)</sup>

[![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20is%20a%20hard%20limitation%20imposed%20by%20your%20Azure%20DevOps%20or%20company%20policy%2C%20not%20by%20DevLake.%20DevLake%20requires%20either%20a%20token%20with%20access%20to%20all%20organizations%20or%20an%20organization-scoped%20token%20with%20the%20organization%20specified.%20If%20the%20Organization%20field%20is%20greyed%20out%20and%20you%20can%27t%20select%20%22All%20accessible%20organizations%2C%22%20there%20isn%27t%20a%20workaround%20in%20DevLake%20to%20bypass%20this%20requirement%E2%80%94it%27s%20enforced%20by%20Azure%20DevOps%20or%20your%20admin%20settings.%20If%20neither%20option%20is%20available%2C%20connecting%20Azure%20DevOps%20to%20DevLake%20isn%27t%20possible%20under%20these%20constraints.%20You%20may%20need%20to%20contact%20yo
 
ur%20Azure%20DevOps%20administrator%20to%20adjust%20the%20policy%20if%20you%20require%20broader%20access.%20%20%0A%5BReference%3A%20DevLake%20Azure%20DevOps%20connection%20docs%20and%20code%5D%28https%3A//github.com/apache/incubator-devlake/blob/main/config-ui/public/onboard/step-2/azuredevops.md%29%20%20%0A%5BReference%3A%20DevLake%20Azure%20DevOps%20connection%20backend%20code%5D%28https%3A//github.com/apache/incubator-devlake/blob/main/backend/plugins/azuredevops_go/api/connection_api.go%29)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/discussions/8683)

GitHub link: 
https://github.com/apache/incubator-devlake/discussions/8683#discussioncomment-15473095

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to