question

Christian-6239 avatar image
0 Votes"
Christian-6239 asked JadeLiang-MSFT commented

Set-CalendarProcessing - How to use this CMDLET to disable the outlook option "Delete meeting requests and notifications after responding"

Hello,

I have been trying to find a way to use PS to alter the option "Delete meeting request and notifications after responding" that shows up in the outlook desktop client. Specifically this would be for a resource (conference room) mailbox. The delegated user requested that option be changed, rather than remoting in etc I figured I'd try to find a way to do this on my end with PS so in the future I don't have to schedule with them etc. I didn't see an option to change this in exchange online admin center for the mailbox either, and adding myself as a delegated member for every conference room we have would be absurd. I'm not sure if it's "RemoveOldMeetingMessages" or something else entirely. I tried testing in my own client by unchecking the box and using Get-CalendarProcessing etc on my own profile but the option does not change from $True no matter if the option is selected or not.

Any direction would be great.

Thanks!

windows-server-powershelloffice-exchange-server-administration
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.

JadeLiang-MSFT avatar image
0 Votes"
JadeLiang-MSFT answered JadeLiang-MSFT commented

Hi @Christian-6239

I have been trying to find a way to use PS to alter the option "Delete meeting request and notifications after responding"

Please understand this option is a setting in Outlook client instead of in mailbox, so we couldn't change it via Set-CalendarProcessing cmdlet.

In this case, it's recommended to manage this option by the register key / GPO, according to my tests, the deletewhenrespond value in register editor could control the option in Outlook client:

Location: Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Preferences
Value Name: deletewhenrespond
Data: 0 --not delete, 1 --delete

Please try to add this value in your register editor and restart your Outlook to check, if it could work, you could push/assign this Registry key to the users in your organization.
130918-image.png


Howerver, the user still could change it mannually in their client in this way, if you would like to force this option to be disabled, you could deploy it in GPO directly like below, then the option would be grey and user couldn't change it in Outlook.
130925-image.png

Hope that would be helpful to you.


If the response 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 (94.1 KiB)
image.png (144.2 KiB)
· 3
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 @Christian-6239
Have you tried to set it via register key or GPO?
And does this issue have any updates? If it has been resolved, please click "Accept as answer" to mark useful post or share your solution, your action would benefit others who have similar issues. If you have any questions or need further assistance, please feel free to post back. Thanks!

0 Votes 0 ·

Hi Jade,

Unless I'm mistaken because this is a RESOURCE mailbox there is no profile to sign into as it's disabled in AD. It doesn't appear to have a functional inbox due to being a resource. On top of that, I tried remoting into the client's computer and they have this option set already. But, that is affecting their personal mailbox, not the resource. I tried to create a rule to just copy all the deleted items into the inbox of the resource inbox, but again unfortunately due to it being a resource it does not allow me to do that. When trying to create the rule to put it in the resource inbox, it just stays as "unspecified folder" in rules. So it doesn't appear there is a way to accomplish this as is.

That said, I really appreciate your research and response to this.

Edit*: And I think as a policy our org doesn't make GPO's for single use case as often as others do. But again with how the resource mailbox works I'm not sure that would work anyway.

0 Votes 0 ·

Hi @Christian-6239

Thanks for your reply.

According to my tests, when I set the delegate and accepted the meeting request on behalf of the room mailbox, whether to delete the meeting request depends on whether the "Delete meeting request and notifications after responding " option is checked in the Outlook client. It means that if I uncheck the option, it wouldn't delete the meeting request in the room mailbox, here is my test result and it seems to I couldn't reproduce your issue:
134236-2021-09-22-180730.png

For your issue, did it occur on a specific room mailbox and any specific delegates only? In order to further confirm it, it's recommended to create a new room mailbox and re-assign the booking delegate permission to yourself to check if the issue could be reproduced on your Outlook client.

If your issue has any update, please feel free to post back.


0 Votes 0 ·
LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello Christian,

Use the Set-CalendarProcessing cmdlet to modify calendar processing options for resource mailboxes, which include the Calendar Attendant, resource booking assistant, and calendar configuration. Note that this cmdlet is effective only on resource mailboxes.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Set-CalendarProcessing
[-Identity] <MailboxIdParameter>
[-AddAdditionalResponse <Boolean>]
[-AdditionalResponse <String>]
[-AddNewRequestsTentatively <Boolean>]
[-AddOrganizerToSubject <Boolean>]
[-AllBookInPolicy <Boolean>]
[-AllowConflicts <Boolean>]
[-AllowRecurringMeetings <Boolean>]
[-AllRequestInPolicy <Boolean>]
[-AllRequestOutOfPolicy <Boolean>]
[-AutomateProcessing <CalendarProcessingFlags>]
[-BookingType <ResourceBookingType>]
[-BookingWindowInDays <Int32>]
[-BookInPolicy <RecipientIdParameter[]>]
[-Confirm]
[-ConflictPercentageAllowed <Int32>]
[-DeleteAttachments <Boolean>]
[-DeleteComments <Boolean>]
[-DeleteNonCalendarItems <Boolean>]
[-DeleteSubject <Boolean>]
[-DomainController <Fqdn>]
[-EnableResponseDetails <Boolean>]
[-EnforceCapacity <Boolean>]
[-EnforceSchedulingHorizon <Boolean>]
[-ForwardRequestsToDelegates <Boolean>]
[-IgnoreDefaultScope]
[-MaximumConflictInstances <Int32>]
[-MaximumDurationInMinutes <Int32>]
[-MinimumDurationInMinutes <Int32>]
[-OrganizerInfo <Boolean>]
[-ProcessExternalMeetingMessages <Boolean>]
[-RemoveForwardedMeetingNotifications <Boolean>]
[-RemoveOldMeetingMessages <Boolean>]
[-RemovePrivateProperty <Boolean>]
[-RequestInPolicy <RecipientIdParameter[]>]
[-RequestOutOfPolicy <RecipientIdParameter[]>]
[-ResourceDelegates <RecipientIdParameter[]>]
[-ScheduleOnlyDuringWorkHours <Boolean>]
[-TentativePendingApproval <Boolean>]
[-WhatIf]
[<CommonParameters>]

Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, do follow the below link.

https://docs.microsoft.com/en-us/powershell/exchange/find-exchange-cmdlet-permissions

Hope this answers all your queries, if not please do repost back.
If an Answer is helpful, please click "Accept Answer" and upvote it : )

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.

AndyDavid avatar image
0 Votes"
AndyDavid answered JadeLiang-MSFT commented

If you give yourself full access to the mailbox, then create a new Outlook Profile, you can logon directlyto that resource mailbox via Outlook
The trick is when creating the profile, create it manually for the SMTP address of the resource mailbox, but enter your own credentials.

· 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 @Christian-6239

Have you tried to log on the resource mailbox to check? And does your issue have any update now?

If it has been resolved, it's recommended to click "Accept Answer" under the helpful post. Thanks for your understanding.

0 Votes 0 ·