Solved

Modifying mailbox folder permissions through Exchange Management Shell

Posted on 2013-11-07
6
366 Views
Last Modified: 2013-11-19
I am trying to grant a user rights to another users mailbox folders (all of them) through the Exchange Management Shell.

I am using the Get-MailboxFolder cmdlet, but it is not recognizing the mailbox I am trying to target. This is odd because I know that the mailbox exists and get-mailbox returns the correct response when targeting the same user.

Can anyone tell me what I am doing wrong?
0
Comment
Question by:Mdamon808
  • 3
  • 2
6 Comments
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
Comment Utility
I assume that you mean exchange power shell.. did you try to use email address instead of user name ?
0
 
LVL 3

Expert Comment

by:jmorourke80
Comment Utility
By default the Get-MailboxFolder cmdlet is only able to be run by the mailbox owner. You can read more on the limitation and how to get around it by reading through this TechNet blog post: http://blogs.technet.com/b/ilvancri/archive/2010/08/20/get-mailboxfolder-is-not-working-amp-exchange-web-services-getting-started.aspx.
0
 

Author Comment

by:Mdamon808
Comment Utility
Sulimanw - The Powershell interface that comes with Exchange is called Exchange Management Shell (I am using it because it has all of the Exchange cmdlets pre-loaded). Yes I have tried all variants on the users account name including, email address, pre-Win2k short name, Alias, and post Win2k full username. All have the same results.

Jmorourke80 - That clears up why I was getting the error about the mailbox not being present, but I was under the impression that this was a task that could be completed with the EMS. I don't really know Visual Studio and do not actually have it installed anywhere.

Anyone else have any ideas on how I might do this without logging in as the user who's mailbox I need to add rights to, or learning another programming interface (Powershell is hard enough)?
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 3

Accepted Solution

by:
jmorourke80 earned 500 total points
Comment Utility
Since you're giving access to all the folders anyway, why not just give access to the entire mailbox?
0
 

Author Comment

by:Mdamon808
Comment Utility
Actually that leads into another open question that I have on this board...

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_28280328.html

I have received no replies on that question since 11/5/13 despite requesting further attention on the issue at that time.

If you have some idea why this is happening I would greatly appreciate the insight on that ticket as well.
0
 

Author Closing Comment

by:Mdamon808
Comment Utility
This combined with expanding the cap on the FolderObj settings by 150 has resolved the issue.
0

Featured Post

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
To show how to generate a certificate request 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 Servers >> Certificates…
This video discusses moving either the default database or any database to a new volume.

762 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

7 Experts available now in Live!

Get 1:1 Help Now