Auto Add particular users everytime a channel get created

Copper Contributor

Hi All. 

 

I am looking into getting a solution for Microsoft Teams and its private channels. 


I would want a user to get added every time somebody creates a channel. 

 

Thanks. 

M

2 Replies

That kind of defeats the purpose of a private channel, if you need such control, restrict who can create them and only provision new ones upon approval.

 

But anyway, there's nothing built-in to address such requirements, you will have to create your own solution by leveraging the audit logs and Graph API/PowerShell.

Hi @mm446 ,

 

This won't be something that you can achieve out of the box. 

 

You can create channels and add users using PnP and the Microsoft Graph but its not an easy thing to setup. You could cycle through each team each night and add the users into new teams but that's a lot of effort.