?
Solved

Modifying mailbox folder permissions through Exchange Management Shell

Posted on 2013-11-07
6
Medium Priority
?
390 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
[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
  • 3
  • 2
6 Comments
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 39632158
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
ID: 39632463
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
ID: 39634179
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Accepted Solution

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

Author Comment

by:Mdamon808
ID: 39639536
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
ID: 39660273
This combined with expanding the cap on the FolderObj settings by 150 has resolved the issue.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this video we show how to create an Accepted Domain 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 >> Ac…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

801 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