Implement webhook capabilities for Office 365 Groups
IT Administrator might have the requirement to trigger some actions before, during, or after the provisioning of Office 365 Groups. The same holds for the decommissioning of Office 365 Groups.
Example: we would like to apply group policies to an individual group after it has been provisioned. Today, you can achieve such goals with individual services such as SharePoint Online. You might have similar requirements coming from other services too. Or you might have the requirement that needs to be applied for all services in your tenant (e.g. disable third party apps for groups coming from SharePoint Online and Exchange Online but not Teams).
A required webhook that comes handy is the one that is triggered immediately after the addition of a group.
These are the webhooks that I could imagine:
- Before-creation: validate with the webhook if the group can be created or not. if not return an error message specified by the webhook
- After-creation: apply some changes to a dedicated group after it has been created
- Before-deletion: validate with the webhook if the group can be deleted
Mudasar Syed commented
Nice Idea. Hope to have this soon as this is a great feature to capture the events within a group