Solved

Exchange 2013 Giving one user access to 28 other users calenders. publishing editor rights ? in one go

Posted on 2016-10-25
7
37 Views
Last Modified: 2016-10-27
Hi All
can you all help with the above issue I'd like to give one user in one go access rights to 28 other users calendar publishing editor rights
thank you all for your help
0
Comment
Question by:MarK PercY
  • 4
  • 3
7 Comments
 
LVL 14

Expert Comment

by:Todd Nelson
ID: 41858782
I recommend you create a CSV file with all of the names of the users the one user needs access to.  Similar to this...

Alias,NAME_OF_USER_THAT_NEEDS_ACCESS
JDoe,Me
BDoe,Me
JSmith,Me
BSmith,Me

Open in new window


This command should add the permissions you need for the one user to access all of the calendars specified in the CSV file...

Import-Csv "C:\Users.csv" | ForEach-Object { Add-MailboxFolderPermission –Identity ($_.Alias + ’:\calendar’) –User $_.NAME_OF_USER_THAT_NEEDS_ACCESS –AccessRights PublishingEditor }

Open in new window


However, if the one user already has permissions set and they need to be modified, you will use this command...

Import-Csv "C:\Users.csv" | ForEach-Object { Set-MailboxFolderPermission –Identity ($_.Alias + ’:\calendar’) –User $_.NAME_OF_USER_THAT_NEEDS_ACCESS –AccessRights PublishingEditor }

Open in new window


Let us know.
1
 

Author Comment

by:MarK PercY
ID: 41860162
Hi Todd,

Thank you once again for the above information these are the users & this is what she needs.
Can you support with this please?.&should I start learning PowerShell & do you have any suggestions
Thank you for your support by the way its been invaluable


I need to be publishing editor to the following:

Amalia Khemet
Amy Farrell
Andrew White
Anna Holland
Caroline Barnet
Charlotte Hynes
Chris Bruce
Guy Sumaili
Jackie O’Rourke
Jack Lynch
Jake Fowler
Joanna Drake
Jordan Blake
Kiran Kaur
Kirsty Hull
Luke Guest
Matthew Redmond
Matthew Wallis
Meg Harris
Natasha Nabbijan
Nimerjeet Kaur
Raphael Sanglay
Rebecca Collins
Rebecca Rae
Shannon Barnes
Sophie Burgess
Stephanie Matthews
Tayo Omole
Victoria Davies
0
 
LVL 14

Expert Comment

by:Todd Nelson
ID: 41860333
The CSV will look like the following.  Save as "Users.csv" on C: ...

Alias
Amalia Khemet
Amy Farrell
Andrew White
Anna Holland
Caroline Barnet
Charlotte Hynes
Chris Bruce
Guy Sumaili
Jackie O’Rourke
Jack Lynch
Jake Fowler
Joanna Drake
Jordan Blake
Kiran Kaur
Kirsty Hull
Luke Guest
Matthew Redmond
Matthew Wallis
Meg Harris
Natasha Nabbijan
Nimerjeet Kaur
Raphael Sanglay
Rebecca Collins
Rebecca Rae
Shannon Barnes
Sophie Burgess
Stephanie Matthews
Tayo Omole
Victoria Davies

Open in new window


Then run this command in the Exchange Management Shell...

Import-Csv "C:\Users.csv" | ForEach-Object { Add-MailboxFolderPermission –Identity ($_.Alias + ’:\calendar’) –User "ENTER THE NAME OF USER THAT NEEDS ACCESS HERE" –AccessRights PublishingEditor }

Open in new window


After running the command, should you receive an error like this...

An existing permission entry was found for user: ...


You will need to run this command...

Import-Csv "C:\Users.csv" | ForEach-Object { Set-MailboxFolderPermission –Identity ($_.Alias + ’:\calendar’) –User "ENTER THE NAME OF USER THAT NEEDS ACCESS HERE" –AccessRights PublishingEditor }

Open in new window


If you want to see if the permissions were set properly, run this command...

Import-Csv "C:\Users.csv" | ForEach-Object { Get-MailboxFolderPermission ($_.Alias + ':\calendar') }

Open in new window


Hope that helps.

Should I start learning PowerShell?

Yes. If that is what you want.


Do you have any suggestions?

Get yourself a lab server ... http://www.expta.com/2016/05/expta-gen7-home-lab-server-builds-and.html
0
The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

 

Author Comment

by:MarK PercY
ID: 41861782
Hi Todd,

Thank you for this information it is so helpful & supportive. Please would you mind having a look at the screenshots I've added when I run the first script via Exchange Management Shell I get an error message.

Import-Csv "C:\Users.csv" | ForEach-Object { Add-MailboxFolderPermission –Identity ($_.Alias + ’:\calendar’) –User " Louise Lanahan  " –AccessRights PublishingEditor }

Can you help?
Hi-Todd.docx
0
 

Author Comment

by:MarK PercY
ID: 41862240
Can anyone help
0
 
LVL 14

Accepted Solution

by:
Todd Nelson earned 500 total points
ID: 41862286
The first screenshot suggests the CSV is not on the C drive or the name of the CSV is not "Users.csv".

In the second screenshot, the command is out of context.  You need to run the entire command as was provided ... including the Import-Csv.  It's a one line command.

Also, remove the spaces between the quotes (" Louise Lanahan  "), like this...

Import-Csv "C:\Users.csv" | ForEach-Object { Add-MailboxFolderPermission –Identity ($_.Alias + ’:\calendar’) –User "Louise Lanahan" –AccessRights PublishingEditor }

Open in new window


Or you will get an error like this...


The user " Louise Lanahan  " is either not valid SMTP address, or there is no matching information.
0
 

Author Closing Comment

by:MarK PercY
ID: 41862430
fantastic support
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
A procedure for exporting installed hotfix details of remote computers using powershell
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
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…

708 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

17 Experts available now in Live!

Get 1:1 Help Now