Query Details

Teams Channel Deleted

Query

//When a Microsoft Teams channel is deleted

OfficeActivity
| where RecordType == "MicrosoftTeams"
| where Operation == "ChannelDeleted"

Explanation

This query looks for instances when a channel is deleted in Microsoft Teams. It filters the OfficeActivity table to only include records with the RecordType "MicrosoftTeams" and the Operation "ChannelDeleted".