Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Automated Membership Management for Microsoft Teams Subchannels via Graph API Integration #2987

Open
kennypollock opened this issue Nov 19, 2024 · 1 comment
Labels

Comments

@kennypollock
Copy link

Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole.

The proposed feature involves the addition of functionality in the CIPP platform to automate user membership management for Microsoft Teams subchannels (Shared and Private Channels) through integration with the Microsoft Graph API. Specifically, this feature would allow for the automatic addition and removal of users to designated subchannels based on department, role, or other user attributes, similar to how dynamic groups currently operate for Teams sites.

Current Limitation:
Microsoft Entra's dynamic group membership automatically manages user access to Teams sites but does not extend this capability to subchannels. Currently, adding users to subchannels must be done manually, even if users are automatically added to the parent Teams site.

Proposed Solution Using Graph API:
By leveraging Microsoft Graph API capabilities (reference: Channel Membership API Documentation), CIPP can extend its automation capabilities to manage subchannel memberships programmatically. This would enable users to:

Automatically add or remove members from subchannels based on predefined criteria (e.g., department).
Provide more granular and automated management of Teams channel access without manual intervention.
Reduce administrative burden and ensure consistent user experience during onboarding, transitions, or role changes within organizations.
Benefits for MSPs:
Increased Efficiency: Automating user addition/removal in subchannels streamlines user onboarding and reduces manual steps.
Enhanced User Experience: Ensures consistent access for users based on their roles without requiring manual adjustment, improving productivity and reducing potential access issues.
Time Savings: Automates repetitive and error-prone processes, freeing up IT staff time for higher-value tasks.
Scalability: Facilitates seamless management for larger organizations or MSPs handling multiple clients with complex channel structures.
Alignment with Zero Trust: Provides more granular control over who has access to specific communication channels, strengthening security practices.

PowerShell commands you would normally use to achieve above request

Get the Team and Channel details

$team = Get-Team -DisplayName "Sales Team"
$channel = Get-TeamChannel -GroupId $team.GroupId -DisplayName "Private Subchannel Name"

Add a user to the subchannel

Add-TeamChannelUser -GroupId $team.GroupId -ChannelId $channel.Id -User "[email protected]"

@kennypollock kennypollock added enhancement New feature or request no-priority labels Nov 19, 2024
Copy link

This issue is stale because it has been open 10 days with no activity. We will close this issue soon. If you want this feature implemented you can contribute it. See: https://docs.cipp.app/dev-documentation/contributing-to-the-code . Please notify the team if you are working on this yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant