question

RisingFlight-7863 avatar image
0 Votes"
RisingFlight-7863 asked JeffYang-MSFT commented

Calendar permissions

Hi All

I want to provide calendar access for few users to a room mailbox. is the below syntax correct. my csv file is in the below format. do i also need to use -Confirm:$false

users
user1@contoso.com
user2@contoso.com

 $UserList = import-csv C:\temp\input.csv 
 ForEach ($User in $UserList)
 {
 Add-MailboxFolderPermission -identity room-mailbox@contoso.com:\calendar -user $_.users -accessrights Reviewer
 }


office-exchange-server-administrationoffice-exchange-online-itprooffice-exchange-server-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @RisingFlight-7863,
Just checking in to see if above information was helpful. If you have any further updates on this issue, please feel free to post back.

0 Votes 0 ·

1 Answer

JeffYang-MSFT avatar image
0 Votes"
JeffYang-MSFT answered

Hi @RisingFlight-7863,

Both is OK. The Confirm just switch specifies whether to show or hide the confirmation prompt.

123765-image.png

123707-image.png

Hope this can be helpful.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image.png (11.0 KiB)
image.png (11.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.