René's URL Explorer Experiment


Title: Owners not assigned correctly in bulk member add & inconsistent response behavior · Issue #2562 · microsoftgraph/msgraph-sdk-java · GitHub

Open Graph Title: Owners not assigned correctly in bulk member add & inconsistent response behavior · Issue #2562 · microsoftgraph/msgraph-sdk-java

X Title: Owners not assigned correctly in bulk member add & inconsistent response behavior · Issue #2562 · microsoftgraph/msgraph-sdk-java

Description: Describe the bug When creating a Team and adding members using the Microsoft Graph SDK for Java, there are two issues: Bulk add does not correctly assign owner roles When using the bulk member add endpoint (/teams/{id}/members/add), user...

Open Graph Description: Describe the bug When creating a Team and adding members using the Microsoft Graph SDK for Java, there are two issues: Bulk add does not correctly assign owner roles When using the bulk member add ...

X Description: Describe the bug When creating a Team and adding members using the Microsoft Graph SDK for Java, there are two issues: Bulk add does not correctly assign owner roles When using the bulk member add ...

Mail addresses
template@odata.bind
user@odata.bind
john.doe@xy.com
user@odata.bind
some.user@xy.com
user@odata.bind
the.user@xy.com
user@odata.bind
john.smith@xy.com
user@odata.bind
one.owner@xy.com
user@odata.bind
another.owner@xy.com

Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/issues/2562

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Owners not assigned correctly in bulk member add & inconsistent response behavior","articleBody":"### Describe the bug\n\nWhen creating a Team and adding members using the Microsoft Graph SDK for Java, there are two issues:\n\n1. Bulk add does not correctly assign owner roles\nWhen using the bulk member add endpoint (/teams/{id}/members/add), users specified with the role \"owner\" are not assigned as owners.\nInstead, they are added as regular members, even though the request payload explicitly defines the owner role.\n\nThis behavior occurs without any error or exception, making it difficult to detect programmatically. As a result, affected users do not receive the required owner permissions.\n\n2. createTeam does not return the created Team\nThe SDK method used to create a Team suggests that a Team object will be returned. However, the response does not contain the created Team resource.\nInstead, the Team ID must be retrieved indirectly (e.g., via response headers or additional handling), which is not aligned with common framework expectations.\n\n### Expected behavior\n\n1. Correct role assignment in bulk add\nWhen adding members via the bulk endpoint, the roles provided in the request (e.g., \"owner\") should be correctly applied.\nUsers specified as owners must be assigned owner permissions within the Team.\n2. Ability to define members and roles during Team creation\nIt should be possible to fully define all desired members and their roles (including owners) directly during Team creation, without requiring a separate bulk add step.\n\n3. Consistent and intuitive SDK response behavior\nThe createTeam operation should either:\n\n- return the created Team entity, or\n- clearly reflect (through API design and SDK behavior) that no resource is returned.\n\nIdeally, the SDK should align with common framework standards and not imply a return value that is not actually provided.\n\n### How to reproduce\n\nCreate Team\nPOST https://graph.microsoft.com/v1.0/teams\nContent-Type: application/json\n\n{\n  \"template@odata.bind\": \"https://graph.microsoft.com/v1.0/teamsTemplates('standard')\",\n  \"displayName\": \"Test Team\",\n  \"members\": [\n    {\n      \"@odata.type\": \"#microsoft.graph.aadUserConversationMember\",\n      \"roles\": [\"owner\"],\n      \"user@odata.bind\": \"https://graph.microsoft.com/v1.0/users('john.doe@xy.com')\"\n    }\n  ]\n}\nRetrieve Team ID\nThe Team ID is extracted from the response (e.g., via response headers / response options).\nBulk add members\nPOST https://graph.microsoft.com/v1.0/teams/{team-id}/members/add\nContent-Type: application/json\n\n{\n  \"values\": [\n    {\n      \"@odata.type\": \"microsoft.graph.aadUserConversationMember\",\n      \"roles\": [],\n      \"user@odata.bind\": \"https://graph.microsoft.com/v1.0/users('some.user@xy.com')\"\n    },\n    {\n      \"@odata.type\": \"microsoft.graph.aadUserConversationMember\",\n      \"roles\": [],\n      \"user@odata.bind\": \"https://graph.microsoft.com/v1.0/users('the.user@xy.com')\"\n    },\n    {\n      \"@odata.type\": \"microsoft.graph.aadUserConversationMember\",\n      \"roles\": [],\n      \"user@odata.bind\": \"https://graph.microsoft.com/v1.0/users('john.smith@xy.com')\"\n    },\n    {\n      \"@odata.type\": \"microsoft.graph.aadUserConversationMember\",\n      \"roles\": [\"owner\"],\n      \"user@odata.bind\": \"https://graph.microsoft.com/v1.0/users('one.owner@xy.com')\"\n    },\n    {\n      \"@odata.type\": \"microsoft.graph.aadUserConversationMember\",\n      \"roles\": [\"owner\"],\n      \"user@odata.bind\": \"https://graph.microsoft.com/v1.0/users('another.owner@xy.com')\"\n    }\n  ]\n}\n\n\n### SDK Version\n\n6.62.0\n\n### Latest version known to work for scenario above?\n\n_No response_\n\n### Known Workarounds\n\n_No response_\n\n### Debug output\n\nThe log contains no errors, which is also a real problem.\n\n\n### Configuration\n\n- OS: Windows Local and a Debian on the production VM but the behavior is on both systems the same\n-Within a permission management workflow implemented in a Spring Boot 3.5.x application, Teams are programmatically created and populated in a Job with members using the Microsoft Graph SDK for Java.\n\n### Other information\n\n_No response_","author":{"url":"https://github.com/hubermaxi","@type":"Person","name":"hubermaxi"},"datePublished":"2026-03-24T14:41:10Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java/issues/2562"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6e3bd3bf-7bd4-efb0-3dae-722de5f396e6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE65E:124A6B:AA933:EA3CE:6AF6BAD5
html-safe-nonce68ef05474e0e4b243b4f922c155d3873c6cd69ffb708231ee8ec754199e80c9d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjVFOjEyNEE2QjpBQTkzMzpFQTNDRTo2QUY2QkFENSIsInZpc2l0b3JfaWQiOiI4NjkwMjM3NzQ4MTk2ODUwMzg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1338f980cfb54326f571475ca9f6be7584113e50df0bf07310dc935aa0222d6c
hovercard-subject-tagissue:4128443842
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoftgraph/msgraph-sdk-java/2562/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7a83a0db2b5c56d55e19ecca77ce68cfa5090ac7e4cb8634cb19ae8c01bb9ddb/microsoftgraph/msgraph-sdk-java/issues/2562
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7a83a0db2b5c56d55e19ecca77ce68cfa5090ac7e4cb8634cb19ae8c01bb9ddb/microsoftgraph/msgraph-sdk-java/issues/2562
og:image:altDescribe the bug When creating a Team and adding members using the Microsoft Graph SDK for Java, there are two issues: Bulk add does not correctly assign owner roles When using the bulk member add ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehubermaxi
hostnamegithub.com
expected-hostnamegithub.com
None8dfae1499400ee498ab0f86538d1c034e6c1b4f51c63ecade775c3b0894e3379
turbo-cache-controlno-preview
go-importgithub.com/microsoftgraph/msgraph-sdk-java git https://github.com/microsoftgraph/msgraph-sdk-java.git
octolytics-dimension-user_id17304259
octolytics-dimension-user_loginmicrosoftgraph
octolytics-dimension-repository_id103300409
octolytics-dimension-repository_nwomicrosoftgraph/msgraph-sdk-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id103300409
octolytics-dimension-repository_network_root_nwomicrosoftgraph/msgraph-sdk-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseee168845eb2be91203b179104ac9977fe4ea69a3
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2562#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2F2562
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2F2562
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoftgraph%2Fmsgraph-sdk-java
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2562
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2562
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2562
microsoftgraphhttps://github.com/microsoftgraph
msgraph-sdk-javahttps://github.com/microsoftgraph/msgraph-sdk-java
Codehttps://github.com/microsoftgraph/msgraph-sdk-java
Issues107 (107)https://github.com/microsoftgraph/msgraph-sdk-java/issues
Pull requests23 (23)https://github.com/microsoftgraph/msgraph-sdk-java/pulls
Actionshttps://github.com/microsoftgraph/msgraph-sdk-java/actions
Projectshttps://github.com/microsoftgraph/msgraph-sdk-java/projects
Security and qualityhttps://github.com/microsoftgraph/msgraph-sdk-java/security
Insightshttps://github.com/microsoftgraph/msgraph-sdk-java/pulse
https://github.com/microsoftgraph/msgraph-sdk-java
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/2562
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/2562
Owners not assigned correctly in bulk member add & inconsistent response behaviorhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2562#top
status:waiting-for-triageAn issue that is yet to be reviewed or assignedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22status%3Awaiting-for-triage%22
type:bugA broken experiencehttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
https://github.com/hubermaxi
Maximilian Huber (hubermaxi)https://github.com/hubermaxi
on Mar 24, 2026https://github.com/microsoftgraph/msgraph-sdk-java/issues/2562#issue-4128443842
https://graph.microsoft.com/v1.0/teamshttps://graph.microsoft.com/v1.0/teams
https://graph.microsoft.com/v1.0/teamsTemplates('standard')https://graph.microsoft.com/v1.0/teamsTemplates('standard')
https://graph.microsoft.com/v1.0/teams/{team-id}/members/addhttps://graph.microsoft.com/v1.0/teams/%7Bteam-id%7D/members/add
Maximilian Huber (hubermaxi)https://github.com/hubermaxi
status:waiting-for-triageAn issue that is yet to be reviewed or assignedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22status%3Awaiting-for-triage%22
type:bugA broken experiencehttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
on Mar 24, 2026https://github.com/microsoftgraph/msgraph-sdk-java/issues/2562#event-23855331638
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/2562
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/2562
status:waiting-for-triageAn issue that is yet to be reviewed or assignedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22status%3Awaiting-for-triage%22
type:bugA broken experiencehttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.