?
Solved

hot to add permissions in bulk with csv office 365

Posted on 2014-12-05
3
Medium Priority
?
213 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 82

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

Office 365 Training for Admins - 7 Day Trial

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

Here's a look at newsworthy articles and community happenings during the last month.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
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 …
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses
Course of the Month12 days, 9 hours left to enroll

777 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