Solved

hot to add permissions in bulk with csv office 365

Posted on 2014-12-05
3
198 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 81

Accepted Solution

by:
David Johnson, CD, MVP earned 500 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
A hard and fast method for reducing Active Directory Administrators members.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
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…

687 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