Published:
Mar 28, 2025
|
Modified:
Jun 4, 2025
|
3
min read

How to Create Security Groups in Microsoft 365

Vasil Michev
Vasil is a nine-time Microsoft MVP and expert with over a decade of experience in Microsoft cloud, lifecycle management, migration, adoption, and automation.

Security groups in Microsoft 365 are designed to grant access to resources, such as SharePoint sites. These groups simplify administration by enabling administrators to manage access at the group level, rather than adding users to each resource individually.

Security groups can include either users or devices, which can be used with mobile device management services like Intune. The group membership can also be set to dynamic. This allows for the automatic addition or removal of members based on specific attributes, such as department, location, or title.

Below, you can find instructions on how to manage Security groups using the Microsoft 365 Admin Center, PowerShell, or CoreView.

  1. Create a Security Group in the M365 Admin Center
  2. Create Security Groups with PowerShell (Graph SDK)
  3. Build Dynamic Security Groups in CoreView
Executive Summary

Security groups control access to apps, data, and resources—but mismanaging them creates more problems than they solve. Too many admins use the wrong group types, assign permissions inconsistently, or skip group lifecycle policies entirely. That leads to access sprawl, broken automations, and risky over-permissioning. Stick to a clear naming convention, use dynamic groups where possible, and avoid mixing security and M365 groups unless necessary. Most importantly, review group memberships regularly and clean up unused groups. If you don’t actively manage group structure, access control becomes messy fast. And users end up with permissions no one remembers granting.

1. Create a Security Group in the M365 Admin Center

  • Go to “Teams & Groups > Active teams & groups” in the Microsoft 365 Admin Center.
  • Navigate to the Security groups tab.
  • Click “Add a security group”.
Add security group screen
  • Fill out the form and submit it to create the security group.

2. Create Security Groups with PowerShell (Graph SDK)

Connect-MgGraph -Scopes Group.ReadWrite.All

New-MgGroup -DisplayName "Test Security Group" -MailNickname TestSecurityGroup -SecurityEnabled:$true -MailEnabled:$false 

To learn more about PowerShell commands for creating Security groups please refer to the Microsoft documentation article “New-MgGroup".

3. Build Dynamic Security Groups in CoreView

  • Go to the CoreView portal.
  • Under “Actions”, click on “Management actions” and select “Security group”, then choose “Create security group”.
Create security group screen
  • Fill out the form with the desired security group name.
Add security group name

Get a personalized demo today

Created by M365 experts, for M365 experts.