We can use the group naming policy to enforce a consistent naming strategy for groups created by users in our organization. A naming policy can help us and our users identify the function of the group. We can use the policy to block specific words from being used in group names and aliases. But what if we need to find out the list of Office 365 groups created with user’s givenName or surname as their mail?
This Office 365 CLI sample script scans the Office 365 groups that may contain user’s givenName or surname as the group mail.
Note: The filter condition can be changed as per your requirement.
Office 365 Group
Get the latest and greatest from me delivered straight to your inbox.