Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

hot to add permissions in bulk with csv office 365

Posted on 2014-12-05
3
Medium Priority
?
224 Views
Last Modified: 2015-05-28
how can i bulk add permissions with powershell

Add-o365MailboxFolderPermission user@contoso.com:\Calendar –User default -AccessRights AvailabilityOnly
0
Comment
Question by:Jorge Ocampo
[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
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 total points
ID: 40484083
users.csv
DisplayName,Email
John Doe, jdoe@example.com
John Q Smith,jqsmith@example.com

Open in new window


$users = import-csv -path c:\test\users.csv
foreach ($user in $users) {
Add-o365MailboxFolderPermission $user.email:\Calendar –User default -AccessRights AvailabilityOnly 
}

Open in new window

}
0
 
LVL 2

Author Comment

by:Jorge Ocampo
ID: 40489813
question why do i need the displayname?
0
 
LVL 2

Author Comment

by:Jorge Ocampo
ID: 40738501
question why do i need the displayname?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

610 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