Solved

Exchange 2013 ExFolders replacement

Posted on 2014-09-22
9
837 Views
Last Modified: 2014-10-11
Hello we were using ExFolders on exchange 2010 a lot

It seem it's not working anymore on Exchange 2013

Can you please explain me how to set permission on mailbox or public folder with Exchange 2013

We were given "Publishing Editor" on mailbox for people who managed another mailbox

We don't want to give full access permission

Thanks you !
0
Comment
Question by:jfguenet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 2
9 Comments
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 40336512
The commands you need are

add-mailboxfolderpermission
http://technet.microsoft.com/en-gb/library/dd298062(v=exchg.150).aspx

Then to adjust an existing permission,
set-mailboxfolderpermission
http://technet.microsoft.com/en-gb/library/ff522363(v=exchg.150).aspx

Simon.
0
 

Author Comment

by:jfguenet
ID: 40337117
wow it's like we go back 20 years back in time :)

Why the don't do a GUI instead would be a lot easier

With the command bellow i can open the email testjfg on test2013 outlook but i don't see any subfolder
 
PS C:\Users\jeancout> Add-MailboxFolderPermission

cmdlet Add-MailboxFolderPermission at command pipeline position 1
Supply values for the following parameters:
AccessRights[0]: PublishingEditor
AccessRights[1]:
User: test2013
Identity: testjfg

FolderName           User                 AccessRights
----------           ----                 ------------
Top of Informatio... Test 2013            {PublishingEditor}

How can i grant the permission to all folders ?

Thanks !
0
 

Assisted Solution

by:jfguenet
jfguenet earned 0 total points
ID: 40341757
Ok here is what i found on this link
 
http://exchangeserverpro.com/grant-read-access-exchange-mailbox/

I get this script

#Proof of concept code to apply mailbox
#folder permissions to all folders in
#a mailbox

[CmdletBinding()]
param (
      [Parameter( Mandatory=$true)]
      [string]$Mailbox,

      [Parameter( Mandatory=$true)]
      [string]$User,

        [Parameter( Mandatory=$true)]
      [string]$Access
)

$exclusions = @("/Sync Issues",
                "/Sync Issues/Conflicts",
                "/Sync Issues/Local Failures",
                "/Sync Issues/Server Failures",
                "/Recoverable Items",
                "/Deletions",
                "/Purges",
                "/Versions"
                )

$mailboxfolders = @(Get-MailboxFolderStatistics $Mailbox | Where {!($exclusions -icontains $_.FolderPath)} | Select FolderPath)

foreach ($mailboxfolder in $mailboxfolders)
{
    $folder = $mailboxfolder.FolderPath.Replace("/","\")
    $identity = "$($mailbox):$folder"
    Write-Host "Adding $user to $identity with $access permissions"
    Add-MailboxFolderPermission -Identity $identity -User $user -AccessRights $Access
}

When i run it exchange give me this error bellow


The operation couldn't be performed because 'testtp2:\Haut de la banque d'informations' couldn't be found.
    + CategoryInfo          : NotSpecified: (:) [Add-MailboxFolderPermission], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=VIREXCH2K13,RequestId=826355bc-c296-4c2f-98b6-dce5354f2e49,TimeStamp=2014-09-24
   14:06:01] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] A77E291F,Microsoft.Exchange.Management.StoreT
  asks.AddMailboxFolderPermission
    + PSComputerName        : virexch2k13.xx.xx


If i do the command  

Get-MailboxFolderStatistics testtp2

i get the following

RunspaceId                        : f9e57a9f-8451-44de-a0ea-a4542c048ed0
Date                              : 2014-09-23 01:41:45
Name                              : Haut de la banque d'informations
FolderPath                        : /Haut de la banque d'informations
FolderId                          : LgAAAAD9JqtL/KxVTaAF+sQKOTqUAQB7GoIYx9l2SrTlJa6+7etXAAAAAAEJAAAB
FolderType                        : Root
ItemsInFolder                     : 0
DeletedItemsInFolder              : 0
FolderSize                        : 0 B (0 bytes)
ItemsInFolderAndSubfolders        : 17
DeletedItemsInFolderAndSubfolders : 0
FolderAndSubfolderSize            : 43.31 KB (44,346 bytes)
OldestItemReceivedDate            :
NewestItemReceivedDate            :
OldestDeletedItemReceivedDate     :
NewestDeletedItemReceivedDate     :
OldestItemLastModifiedDate        :
NewestItemLastModifiedDate        :
OldestDeletedItemLastModifiedDate :
NewestDeletedItemLastModifiedDate :
ManagedFolder                     :
TopSubject                        :
TopSubjectSize                    : 0 B (0 bytes)
TopSubjectCount                   : 0
TopSubjectClass                   :
TopSubjectPath                    :
TopSubjectReceivedTime            :
TopSubjectFrom                    :
TopClientInfoForSubject           :
TopClientInfoCountForSubject      : 0
SearchFolders                     :
Identity                          : testtp2\Haut de la banque d'informations
IsValid                           : True
ObjectState                       : New

So the folder /Haut de la banque d'informations exist  This folder name is in french and it's the folder "Top of information store" in english

Can someone help me because it's just this folder that i can't give access.  If id it manually then everything is working fine

Thanks !
0
Veeam gives away 10 full conference passes

Veeam is a VMworld 2017 US & Europe Platinum Sponsor. Enter the raffle to get the full conference pass. Pass includes the admission to all general and breakout sessions, VMware Hands-On Labs, Solutions Exchange, exclusive giveaways and the great VMworld Customer Appreciation Part

 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 40344590
"wow it's like we go back 20 years back in time :)

 Why the don't do a GUI instead would be a lot easier "

I disagree.
With the command line I can make changes across an entire platform in minutes. I could make a change to 3000 mailboxes a lot quicker with EMS than a GUI. A GUI might be easier for a single small modification, but anything more significant you are looking at EMS being a lot more efficient.

I cannot help any further as it is Foreign Language folders, which is not something I have experience with. It should work with the folder name included in "" however you may have a confused mailbox.

Simon.
0
 

Author Comment

by:jfguenet
ID: 40344936
no every mailbox is doing this

Here is another mailbox

Adding testtp2 to testbibl:\Partie supérieure de la banque d'informations with reviewer permissions
The operation couldn't be performed because 'testbibl:\Partie supérieure de la banque d'informations' couldn't be
found.
    + CategoryInfo          : NotSpecified: (:) [Add-MailboxFolderPermission], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=VIREXCH2K13,RequestId=29f62cb5-044d-445f-9071-da2ad4fd4079,TimeStamp=2014-09-25
   20:40:13] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] C2FDBF8C,Microsoft.Exchange.Management.StoreT
  asks.AddMailboxFolderPermission
    + PSComputerName        : virexch2k13.xxx



Anyone can help me please :) ?

Thanks !
0
 

Author Comment

by:jfguenet
ID: 40344939
The other folder are ok

[PS] C:\Windows\system32>.\AddMailboxFolderPermission.ps1 -Mailbox testbibl -User testtp2 -Access reviewer
Creating a new session for implicit remoting of "Get-MailboxFolderStatistics" command...
Adding testtp2 to testbibl:\Partie supérieure de la banque d'informations with reviewer permissions
The operation couldn't be performed because 'testbibl:\Partie supérieure de la banque d'informations' couldn't be
found.
    + CategoryInfo          : NotSpecified: (:) [Add-MailboxFolderPermission], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=VIREXCH2K13,RequestId=29f62cb5-044d-445f-9071-da2ad4fd4079,TimeStamp=2014-09-25
   20:40:13] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] C2FDBF8C,Microsoft.Exchange.Management.StoreT
  asks.AddMailboxFolderPermission
    + PSComputerName        : virexch2k13.xxx

Adding testtp2 to testbibl:\Boîte de réception with reviewer permissions

FolderName           User                 AccessRights
----------           ----                 ------------
Boîte de réception   test tp2             {Reviewer}
Adding testtp2 to testbibl:\Boîte d'envoi with reviewer permissions
Boîte d'envoi        test tp2             {Reviewer}
Adding testtp2 to testbibl:\Brouillons with reviewer permissions
Brouillons           test tp2             {Reviewer}
Adding testtp2 to testbibl:\Calendrier with reviewer permissions
Calendrier           test tp2             {Reviewer}
Adding testtp2 to testbibl:\Contacts with reviewer permissions
Contacts             test tp2             {Reviewer}
Adding testtp2 to testbibl:\Contacts\{06967759-274D-40B2-A3EB-D7F9E73727D7} with reviewer permissions
{06967759-274D-40... test tp2             {Reviewer}
Adding testtp2 to testbibl:\Contacts\GAL Contacts with reviewer permissions
GAL Contacts         test tp2             {Reviewer}
Adding testtp2 to testbibl:\Contacts\Recipient Cache with reviewer permissions
Recipient Cache      test tp2             {Reviewer}
Adding testtp2 to testbibl:\Conversation Action Settings with reviewer permissions
Conversation Acti... test tp2             {Reviewer}
Adding testtp2 to testbibl:\Courrier indésirable with reviewer permissions
Courrier indésirable test tp2             {Reviewer}
Adding testtp2 to testbibl:\Éléments envoyés with reviewer permissions
Éléments envoyés     test tp2             {Reviewer}
Adding testtp2 to testbibl:\Éléments supprimés with reviewer permissions
Éléments supprimés   test tp2             {Reviewer}
Adding testtp2 to testbibl:\Journal with reviewer permissions
Journal              test tp2             {Reviewer}
Adding testtp2 to testbibl:\Notes with reviewer permissions
Notes                test tp2             {Reviewer}
Adding testtp2 to testbibl:\Paramètres des étapes rapides with reviewer permissions
Paramètres des ét... test tp2             {Reviewer}
Adding testtp2 to testbibl:\Tâches with reviewer permissions
Tâches               test tp2             {Reviewer}
Adding testtp2 to testbibl:\Calendar Logging with reviewer permissions
The operation couldn't be performed because 'testbibl:\Calendar Logging' couldn't be found.
    + CategoryInfo          : NotSpecified: (:) [Add-MailboxFolderPermission], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=VIREXCH2K13,RequestId=fe2d49d1-204c-4301-86e2-2b3fda6fdc0e,TimeStamp=2014-09-25
   20:40:17] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] E5A972AD,Microsoft.Exchange.Management.StoreT
  asks.AddMailboxFolderPermission
    + PSComputerName        : virexch2k13.xxx
0
 

Author Comment

by:jfguenet
ID: 40349743
Anyone ???  I really need to be able to set this

Thanks !
0
 

Accepted Solution

by:
jfguenet earned 0 total points
ID: 40363770
I end up using this command to give access on Top of information Store

Add-MailboxFolderPermission -Identity $Mailbox -User $User -AccessRights $Access
0
 

Author Closing Comment

by:jfguenet
ID: 40374590
I found the solution myself
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Read this checklist to learn more about the 15 things you should never include in an email signature.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses
Course of the Month4 days, 15 hours left to enroll

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question