Permission & Access Issues

Grant Outlook Inbox Access to a Security Group with Exchange PowerShell

Olivia MillerOlivia Miller Nov 22, 2026 868 views

Question details

Grant a mail-enabled security group access to multiple users' inboxes without configuring each inbox individually in Outlook.

Product
Microsoft Outlook and Exchange Online
Device & OS
not provided
Scenario
An administrator wants to give approximately 40 users access to inboxes through a security group, potentially with Editor permission.
Observed behavior
The administrator needs a way to apply the same inbox folder permission across multiple mailboxes.
Before you start

Confirm that the group is a mail-enabled security group and identify the mailboxes and permission level required. For Exchange Online, install the Exchange Online PowerShell module and sign in with an account authorized to manage mailbox folder permissions.

Solution 1Recommended

Add the security group to multiple inboxes with Exchange Online PowerShell

Use this approach to grant Editor access to the Inbox folder in each mailbox listed in a text file.

Editor is a folder-level permission; it does not grant access to the entire mailbox or automatically grant access to Inbox subfolders. The script finds each mailbox's Inbox folder rather than assuming its display name is English.

This example adds a new permission entry. If the group already has an entry on an inbox, review it and use Set-MailboxFolderPermission instead of Add-MailboxFolderPermission.

1
Connect to Exchange Online

Open PowerShell and run Connect-ExchangeOnline, then sign in with an authorized administrator account. If the command is unavailable, install the ExchangeOnlineManagement module first.

2
Prepare the mailbox list

Create C:\Temp\mailboxes.txt with one mailbox email address per line. Replace the group address and file path in the script below with your own values.

3
Add Inbox permissions

Run this script in the connected PowerShell session: $group = 'security-group@example.com' $mailboxes = Get-Content 'C:\Temp\mailboxes.txt' foreach ($mailbox in $mailboxes) { try { $inbox = Get-MailboxFolderStatistics -Identity $mailbox -FolderScope Inbox -ErrorAction Stop | Where-Object { $_.FolderType -eq 'Inbox' } | Select-Object -First 1 if (-not $inbox) { throw 'Inbox folder not found.' } $path = $inbox.FolderPath.Replace('/', '\') $identity = "${mailbox}:$path" Add-MailboxFolderPermission -Identity $identity -User $group -AccessRights Editor -ErrorAction Stop Write-Host "Added permission: $identity" } catch { Write-Warning "Could not update ${mailbox}: $_" } }

4
Verify the result

For a mailbox you updated, run Get-MailboxFolderPermission -Identity 'user@example.com:\Inbox' -User 'security-group@example.com'. If the Inbox has a localized name, use the folder path found by Get-MailboxFolderStatistics instead.

Existing permission entries: If the group already has permission on an Inbox, use Set-MailboxFolderPermission with the same -Identity, -User, and -AccessRights Editor parameters to change that entry. Review warnings from the script before retrying.
Free Microsoft Office alternative

Use WPS Office as an alternative for everyday office work

WPS Office is a free, lightweight alternative with a familiar interface for working with documents, spreadsheets, and presentations. Its Microsoft Office format compatibility helps make migration between office suites easier. Exchange inbox permissions must still be managed in Microsoft Exchange.

Keep mailbox delegation and security-group permissions managed in Exchange.Open and edit Microsoft Word, Excel, and PowerPoint formats.Use a familiar interface for everyday office tasks.Work with a free, lightweight office suite.
microsoft office alternative - wps office

Frequently Asked Questions

Does Editor access to the Inbox grant access to the whole mailbox?

No. Add-MailboxFolderPermission with Editor applies to the specified folder. Other folders and Inbox subfolders need their own permissions if access is required.

How do I change an existing group permission to Editor?

Use Set-MailboxFolderPermission -Identity 'user@example.com:\Inbox' -User 'security-group@example.com' -AccessRights Editor. Replace Inbox with the actual folder name if it is localized.

Can I use any security group for Exchange folder permissions?

Use a mail-enabled security group that Exchange can resolve. Check the group in the Exchange admin center or with Get-DistributionGroup before applying permissions.

Why did the script report an error for one mailbox?

Check the warning for that mailbox. Common checks include whether the mailbox address is correct, the administrator has sufficient rights, and the group already has a permission entry. Use Get-MailboxFolderPermission to inspect the Inbox entry.