Link to home
Start Free TrialLog in
Avatar of Paul F
Paul F

asked on

Changing Exchange 2013 Calendar Permissions at the Database Level

Hi All,

I am trying to find out if it is possible to change the Outlook Calendar permissions from Free/Busy to Free/Busy, Subject, Location for all users across the organization.

I would ideally like to do it at the database level so that any new users will automatically receive those permissions, similar as to how you can add full access rights for admins to new users as they are added to Exchange without having to re-run the script.

Is this even possible? I have spent hours searching for a way to do it, but can't seem to find anything other than scripts that will update only the current users, not the future ones as well.

Any help would be greatly appreciated. Feel free to ask for clarification if required.

Thanks,

Paul.
SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Paul F
Paul F

ASKER

Thanks for the response Will.

I don't want to give "Reviewer" level access, just "Free/Busy Time, Subject, Location". I have tried the script replacing "Reviewer" with "Limited Access", but it doesn't seem to like it.

Error:

Cannot process argument transformation on parameter 'AccessRights'. Cannot convert value "LimitedAccess" to type
"Microsoft.Exchange.Management.StoreTasks.MailboxFolderAccessRight[]". Error: "Cannot convert value "LimitedAccess" to type
"Microsoft.Exchange.Management.StoreTasks.MailboxFolderAccessRight". Error: "Requested value 'LimitedAccess' was not found.""
    + CategoryInfo          : InvalidData: (:) [Set-MailboxFolderPermission], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-MailboxFolderPermission
    + PSComputerName        : labexc.acmlab.local

Do you know what I have to use?

Thanks,

Paul
Hi,
I'm afraid it cannot be achieved, here's the article about Set-MailboxFolderPermission:
https://technet.microsoft.com/en-us/library/ff522363(v=exchg.150).aspx
Note the description for AccessRights paraments.

We can use below command to show subject in resource's calendar:
Set-CalendarPrcesssing room -DeleteSubject $False
More details about it, please refer to: https://technet.microsoft.com/en-us/library/dd335046(v=exchg.150).aspx
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Paul F

ASKER

Hi Will,

I have tested the following out in the lab:

$Mailboxes = Get-Mailbox -ResultSize "unlimited"
$Access = "LimitedDetails"
ForEach ($Mailbox in $Mailboxes)

      {
           
        Set-MailboxFolderPermission -Identity $Mailbox":\Calendar" -User Default -AccessRights $Access

}
   

This works as I want it to. I had to remove the 's' from 'Set-MailboxFolderPermissions' though.

I am going to apply it to Production as soon as my CR is approved, as well as set it as a weekly scheduled task.

Thank you very much for your help, and thank you to the others who offered responses as well.

Cheers,

Paul.