Solved

Exchange 2013 ExFolders replacement

Posted on 2014-09-22
9
717 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

785 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