You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 first or last name as their mail nick name? The answer is very simple. We can use few lines of Office 365 CLI commands for this usecase. This sample script scans the Office 365 groups that may contain user’s first or last name as the group mail nick name. Note - Filter conditions can be changed as per your requirement.
@garrytrinder, Can we use this usecase in our sample codes? Please let me know if we need to make any changes.