Add a private channel using application permissions and providing a list of members #1576
Open
1 task done
Labels
area: model 📐
Related to the core SDK models
good first contribution
Good for newcomers
help wanted
Extra attention is needed
Category
Describe the feature
Adding a private channel with Application Permissions by providing a list of members.
We can add private channels if we use delegated permissions, but this does not work on behalf of a user (using Application permissions), because graph requires a members property as seen here Create channel - Microsoft Graph v1.0 | Microsoft Learn
Describe the solution you'd like
Add the option to provide a list of members when adding a private channel. Maybe the
TeamChannelOptions
can be extended to accept a list of UPN's or Ids?So we could do something like:
Additional context
I searched the issues and discussion but could not find a similar issue or request. If I missed it, please point me in the direction and feel free to close this. Same if this is already possible and I'm the issue.
I do think this 'feature' is available in PnP-Powershell Add-PnPTeamsChannel | PnP PowerShell.
This feature request specifically mentions private channels, but I think the same applies to shared channels.
The text was updated successfully, but these errors were encountered: