How to manage guest access to Microsoft 365 groups in Exchange Online
Guest users with specific domains can be allowed or blocked from being added to Microsoft 365 groups across the organization.
You can manage guest access to Microsoft 365 groups in Exchange Online using Exchange Online PowerShell.
The following steps show how to manage guest access to Microsoft 365 groups in Exchange Online using Exchange Online PowerShell:
Steps to create or update a new allow or block list policy for groups in Exchange Online using Exchange Online PowerShellC
- Download the Script for Allow/Block policy( Set-GuestAllowBlockDomainPolicy.ps1) for Allow/Block policy at Microsoft Download Center.
- Run the following command to create an allow list:
Set-GuestAllowBlockDomainPolicy.ps1 -Update -AllowList @("<domainname>")
- Run the following command to create a block list:
Set-GuestAllowBlockDomainPolicy.ps1 -Update -BlockList @("<domainname>")
- <domainname> here refers to the guest domain for which you are managing access to Microsoft 365 groups in your organization.
Steps to add more domains to existing allow or block lists using Exchange Online PowerShell
- Download the Script for Allow/Block policy ( Set-GuestAllowBlockDomainPolicy.ps1) for Allow/Block policy at Microsoft Download Center.
- Run the following command to add more domains to an allow list: Set-GuestAllowBlockDomainPolicy.ps1 -Append -AllowList @("<domainname>")
- Run the following command to add more domains to a block list: Set-GuestAllowBlockDomainPolicy.ps1 -Append -BlockList @("<domainname>")
- <domainname> here refers to the guest domain for which you are managing access to Microsoft 365 groups in your organization.
Highlights of M365 Manager Plus
- Bulk management: Manage mailboxes, users, sites, groups, and contacts effortlessly in bulk.
- Extensive reports: Gain a thorough understanding of your environment in Exchange Online, Azure Active Directory, SharePoint Online, OneDrive for Business, and other Microsoft 365 services with detailed reports.
- Intense auditing: Keep tabs on the most granular user activities in your Microsoft 365 environment.
- Real-time notifications: Receive instant email notifications about critical activities.
- Constant monitoring: Monitor the health and performance of Microsoft 365 features and endpoints around the clock.
- Customizable help desk roles: Create custom roles with any combination of reporting, management, and auditing tasks. Assign these roles to non-administrative users to reduce the workload of Microsoft 365 admins.
To learn more tips and tricks that can simplify your Microsoft 365 tasks, click here.
One-stop solution for your Microsoft 365 management needs.
Streamline your Microsoft 365 governance and administration with M365 Manager Plus
Get Your Free Trial