Solved

Exchange 2013 ExFolders replacement

Posted on 2014-09-22
9
655 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
  • 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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
"Migrate" an SMTP relay receive connector to a new server using info from an old server.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
In this video we show how to create an email address policy 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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now