Forum Discussion
Alert for Team rename
I'm unfortunately not able to setup an ALERT for the scenario when a user renames a Team.
Is that possible and what's the best way to do that?
You're right, you cannot use said attribute in a naming policy. So we're back to the initial suggestion to use an alert policy or crawl the unified audit log for any "team rename" events, then execute any necessary actions.
12 Replies
What's the end goal here? You can use the alert policies functionality: https://docs.microsoft.com/en-us/microsoft-365/compliance/alert-policies?view=o365-worldwide
- ThomschIron Contributor
Actually I'm not able to find an alert there for Teams activities?!
The goal is to provide a naming policy, which is as following:
Prefix = extensionAttribute15
Suffix = extensionAttribute14
And as soon as a Teams is renamed, I'll have to manually establish that naming policy since as far as I know it's not possible to create such a policy via the Azure portal or via powershell.
There is a built-in naming policy functionality: https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-naming-policy