Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

Exchange Online - Set FOLDER permissions recursively in shared mailbox

$
0
0

I posted this in the 365 forums. Reposting here see if it gets any traction. Thanks

I have a shared mailbox that is being used instead of public folders. Having trouble with the folders within the shared mailbox syncing to the various users. Want to move folders out of the shared mailbox but continually run into errors regarding permissions and I must manually find the offending subfolder and set permissions.<o:p></o:p>

So, I have two questions:<o:p></o:p>

1. How can I configure the shared mailbox so that all folders that are created, regardless of which user creates them, will inherit permissions. Any folder created should automatically have permissions set to owner for a specific security group.<o:p></o:p>

2. How can I set the permissions on these exisiting shared mailbox folders, recursively (all sub folders) ? I have tried the following:<o:p></o:p>

Get-MailboxFolder –Identity user1:\Folder -Recurse | Add-MailboxFolderPermission -User user2 -AccessRights Owner<o:p></o:p>

But I get an error that the mailbox is not found. I believe that the command above does not work on shared mailboxes.<o:p></o:p>

I also found the following, but can not seem to get it to run. I have tried to run as a ps1 file and directly in powershell - I dont get any errors.<o:p></o:p>

ForEach($f in (Get-MailboxFolderStatisticssharer@xyz.corp.com | Where { $_.FolderPath.Contains("/") -eq $True } ) )
{
$fname = "sharer@xyz.corp.com:" + $f.FolderPath.Replace("/","\"); Add-MailboxFolderPermission $fname -Usersharee@xyz.corp.com -AccessRights Owner
Write-Host $fname
Start-Sleep -Milliseconds 1000
}<o:p></o:p>

Any help is appreciated. Thanks<o:p></o:p>


Viewing all articles
Browse latest Browse all 4521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>