Skip to content

Add Teams User Configuration sample queries#1428

Merged
MIchaelMainer merged 6 commits intomicrosoftgraph:masterfrom
praspatil05:pp/teams-user-config-samples
Feb 4, 2026
Merged

Add Teams User Configuration sample queries#1428
MIchaelMainer merged 6 commits intomicrosoftgraph:masterfrom
praspatil05:pp/teams-user-config-samples

Conversation

@praspatil05
Copy link
Contributor

@praspatil05 praspatil05 commented Feb 3, 2026

This PR adds 5 new sample queries for Microsoft Teams Administration APIs under the new "Teamwork and communications" category.

Changes

  • Created new category: "Teamwork and communications" (v1.0)
  • Added 5 v1.0 sample queries

@praspatil05 praspatil05 requested a review from a team as a code owner February 3, 2026 06:31
Copilot AI review requested due to automatic review settings February 3, 2026 06:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@praspatil05 praspatil05 force-pushed the pp/teams-user-config-samples branch from 2e94e90 to 7140c04 Compare February 3, 2026 06:41
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>
@praspatil05 praspatil05 force-pushed the pp/teams-user-config-samples branch from 7140c04 to 33113a3 Compare February 3, 2026 06:53
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>
@praspatil05 praspatil05 force-pushed the pp/teams-user-config-samples branch from 73c39ef to 5122501 Compare February 3, 2026 07:02
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>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

praspatil05 and others added 2 commits February 3, 2026 13:51
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Removed multiple queries related to Teams user configurations and policy assignments.
@praspatil05 praspatil05 requested a review from Copilot February 3, 2026 09:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@MIchaelMainer MIchaelMainer merged commit 1db70e5 into microsoftgraph:master Feb 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants