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
Solved

hot to add permissions in bulk with csv office 365

Posted on 2014-12-05
3
177 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
  • 2
3 Comments
 
LVL 80

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

789 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