Solved

hot to add permissions in bulk with csv office 365

Posted on 2014-12-05
3
167 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 79

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

803 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