Forum Discussion

Thomsch's avatar
Thomsch
Iron Contributor
Sep 01, 2021
Solved

Trigger when private channels are created

I'm restricting the SharePoint sites of Teams private channels via Powershell. Right now I schedule the execution of my powershell script every 5 minutes. Is there any trigger that I can use?
  • Prasad_Das-MSFT's avatar
    Prasad_Das-MSFT
    Sep 15, 2021
    As per my understanding there is no such event via which you can trigger the PowerShell script when new private channel is created.

    Thanks,
    Prasad Das
    -------------------------------------------------------------------------------------------------
    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.

Resources