Title: Getting 500 error while calling graph client's create_group function · Issue #528 · microsoft/azure-devops-python-api · GitHub
Open Graph Title: Getting 500 error while calling graph client's create_group function · Issue #528 · microsoft/azure-devops-python-api
X Title: Getting 500 error while calling graph client's create_group function · Issue #528 · microsoft/azure-devops-python-api
Description: Objective: I want to add a MS Entra group to a ADO Group. I can successfully do it using the API POST https://vssps.dev.azure.com/<>/_apis/graph/groups?groupDescriptors=vssgp.Uy0....&api-version=6.0-preview.1 but whenever I am trying to ...
Open Graph Description: Objective: I want to add a MS Entra group to a ADO Group. I can successfully do it using the API POST https://vssps.dev.azure.com/<>/_apis/graph/groups?groupDescriptors=vssgp.Uy0....&api-version=6....
X Description: Objective: I want to add a MS Entra group to a ADO Group. I can successfully do it using the API POST https://vssps.dev.azure.com/<>/_apis/graph/groups?groupDescriptors=vssgp.Uy0....&api-...
Opengraph URL: https://github.com/microsoft/azure-devops-python-api/issues/528
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Getting 500 error while calling graph client's create_group function","articleBody":"Objective: I want to add a MS Entra group to a ADO Group. I can successfully do it using the API POST https://vssps.dev.azure.com/\u003c\u003corg\u003e\u003e/_apis/graph/groups?groupDescriptors=vssgp.Uy0....\u0026api-version=6.0-preview.1\n\nbut whenever I am trying to use the following code I am getting a 500 error:\n\nclass GraphGroupOriginIdCreationContext(GraphGroupCreationContext):\n _attribute_map = {\n 'origin_id': {'key': 'originId', 'type': 'str'}\n }\ngraph_client = connection.clients_v6_0.get_graph_client()\n def __init__(self, origin_id=None):\n super(GraphGroupOriginIdCreationContext, self).__init__()\n self.origin_id = origin_id\n\nnew_group = GraphGroupOriginIdCreationContext(origin_id=\"\u003c\u003chard coded\u003e\u003e\")\n \n graph_client.create_group(new_group, group_descriptors=\"vssgp.Uy0....\")\n\nCan anyone tell me where I am getting it wrong or is this a bug?\n","author":{"url":"https://github.com/avishekmtcs","@type":"Person","name":"avishekmtcs"},"datePublished":"2025-08-01T11:32:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/528/azure-devops-python-api/issues/528"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bf0f3900-a41c-e3d1-f249-cc2c42604ffd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A590:A462B:199558E:224DE44:697D2A75 |
| html-safe-nonce | 8c4aecd5ac647717609eb51425bc6d38a648f4a1cab848cbdd3f00eba11e9411 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTkwOkE0NjJCOjE5OTU1OEU6MjI0REU0NDo2OTdEMkE3NSIsInZpc2l0b3JfaWQiOiI4NTEyNDIzODgxNjE5NjE0MzI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 539d719d0da0fb53d61d703463b379242382eaea32064fdb03370db27cd37880 |
| hovercard-subject-tag | issue:3283602519 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/azure-devops-python-api/528/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8c29226f84436dcc1c3a3cf99994692ed71a32d06df783451022d330734f155c/microsoft/azure-devops-python-api/issues/528 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8c29226f84436dcc1c3a3cf99994692ed71a32d06df783451022d330734f155c/microsoft/azure-devops-python-api/issues/528 |
| og:image:alt | Objective: I want to add a MS Entra group to a ADO Group. I can successfully do it using the API POST https://vssps.dev.azure.com/<>/_apis/graph/groups?groupDescriptors=vssgp.Uy0....&api-version=6.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | avishekmtcs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 947d30920225f8abb17692477afd5992252045b901780d1bc8fa47c03b5fde64 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/azure-devops-python-api git https://github.com/microsoft/azure-devops-python-api.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 107710074 |
| octolytics-dimension-repository_nwo | microsoft/azure-devops-python-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 107710074 |
| octolytics-dimension-repository_network_root_nwo | microsoft/azure-devops-python-api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 92fcc0e25bb4da7fe9a458840cb7f3cafa272eb8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width