timhoffmann's avatar
timhoffmann
Brass Contributor
Aug 03, 2023
Status:
New

Need Resource Calendars to set Sensitivity property from the Organizer Sensitivity

When a resource accepts a meeting request, it should set the event Sensitivity to the same value as the Organizer.  e.g. If the meeting is Private for the Organizer, it should also be Private for the resource calendar.

 

1 Comment

  • timhoffmann's avatar
    timhoffmann
    Brass Contributor

    Actually, it looks like there is a solution, but it's messy.  See https://learn.microsoft.com/en-us/answers/questions/1294311/private-appointment-not-showing-as-private-in-room.  There is an Exchange PowerShell cmdlet "Set-CalendarProcessing" that fixes the default behavior.

    https://learn.microsoft.com/en-us/powershell/module/exchange/set-calendarprocessing?view=exchange-ps

    Set -RemovePrivateProperty to $False.

     

    Example script to fix all the rooms:

     

    Install-Module -Name ExchangeOnlineManagement
    Connect-ExchangeOnline
    
    $rooms = Get-EXOMailbox -ResultSize Unlimited -Filter "ResourceType -eq 'Room'" 
    $max = ($rooms | measure).count
    $j = 1
    $rooms | ForEach-Object -Begin $null `
    -Process { Write-Progress -Activity $(Get-Date -Format G) -Status $_.UserPrincipalName -percent ($j / $max * 100) }, 
     { Set-CalendarProcessing -Identity $_.UserPrincipalName -RemovePrivateProperty $False},
           {$j = $j + 1} `
    -End $null