Add Teams User Configuration sample queries#1428
Merged
MIchaelMainer merged 6 commits intomicrosoftgraph:masterfrom Feb 4, 2026
Merged
Add Teams User Configuration sample queries#1428MIchaelMainer merged 6 commits intomicrosoftgraph:masterfrom
MIchaelMainer merged 6 commits intomicrosoftgraph:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds two new sample queries for the Microsoft Teams Administration API to the Graph Explorer sample queries collection. The queries provide access to Teams user configuration resources through the admin endpoint.
Changes:
- Added "list Teams user configurations" query (GET /admin/teams/userConfigurations)
- Added "get Teams user configuration" query (GET /admin/teams/userConfigurations/{teamsUserConfigurationId})
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2e94e90 to
7140c04
Compare
Added two new sample queries for Teams Administration API under
the "Teamwork and communications" category:
1. List Teams user configurations (GET /admin/teams/userConfigurations)
- Requires TeamsUserConfiguration.Read.All permission
2. Get Teams user configuration (GET /admin/teams/userConfigurations/{id})
- Requires valid user id and valid permission
These queries are placed in the v1.0 section and are documented
in the Microsoft Graph API reference under:
Teamwork and communications > Administration > Teams user configuration
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7140c04 to
33113a3
Compare
Added five new sample queries under "Teamwork and communications" category:
Teams User Configuration:
1. List Teams user configurations (GET /admin/teams/userConfigurations)
- Requires TeamsUserConfiguration.Read.All permission
2. Get Teams user configuration (GET /admin/teams/userConfigurations/{id})
- Requires valid user id and valid permission
Teams Policy Assignment:
3. Assign Teams policy to user (POST /admin/teams/policy/userAssignments/assign)
- Requires valid user id, policy type, policy id, and TeamsPolicyUserAssign.ReadWrite.All permission
4. Unassign Teams policy from user (POST /admin/teams/policy/userAssignments/unassign)
- Requires valid user id, policy type, and TeamsPolicyUserAssign.ReadWrite.All permission
5. Get Teams policy ID by name and type (GET /admin/teams/policy/getPolicyId)
- Requires valid policy type, policy name, and TeamsPolicyUserAssign.ReadWrite.All permission
All queries are placed in the v1.0 section and documented under:
Teamwork and communications > Administration
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
73c39ef to
5122501
Compare
Added 10 new sample queries for Teams Administration APIs: Teamwork and communications (v1.0 - 5 queries): 1. List Teams user configurations 2. Get Teams user configuration 3. Assign Teams policy to user 4. Unassign Teams policy from user 5. Get Teams policy ID by name and type Teamwork and communications (beta) (5 queries): 6. List Teams user configurations (beta) 7. Get Teams user configuration (beta) 8. Assign Teams policy to user (beta) 9. Unassign Teams policy from user (beta) 10. Get Teams policy ID by name and type (beta) All queries are documented under: Teamwork and communications > Administration > - Teams user configuration - Teams policy assignment - Teams policy user assignment Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Removed multiple queries related to Teams user configurations and policy assignments.
MIchaelMainer
approved these changes
Feb 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds 5 new sample queries for Microsoft Teams Administration APIs under the new "Teamwork and communications" category.
Changes