question

LennyPuente-3258 avatar image
0 Votes"
LennyPuente-3258 asked joyceshen-MSFT commented

How to remove 1440 minute meeting duration limit?

Hi all

I'm using microsoft graph api to create an event in a room of ours (POST https://graph.microsoft.com/v1.0/me/events). When creating an event with duration less than 24 hours everything works fine but when it lasts more then a day the meeting gets declined by the room with this message:

141355-image.png

Is there a way to remove this 1 day barrier? Sometimes the room needs to be booked for multiple days.

Thanks.


office-exchange-server-administrationmicrosoft-graph-calendar
image.png (8.7 KiB)
· 2
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 @LennyPuente-3258

Is there any update, have you tried the command below?

0 Votes 0 ·

Hi @LennyPuente-3258

Can you successfully booking the resource after changing the value of the parameter?

0 Votes 0 ·
michev avatar image
0 Votes"
michev answered

Set the maximum duration to 0, or whichever value you want:

 Set-CalendarProcessing roomname -MaximumDurationInMinutes 0

More details here: https://docs.microsoft.com/en-us/powershell/module/exchange/set-calendarprocessing?view=exchange-ps

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.

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

Hi @LennyPuente-3258

Yes, like michev suggest above, the MaximumDurationInMinutes parameter specifies the maximum duration in minutes for meeting requests. A valid value is an integer from 0 through INT32 (2147483647). The default value is 1440 (24 hours).

You could use the command above to set for one specific mailbox, or setting for all room mailboxes in your organization

 Get-Mailbox | where {$_.recipientTypeDetails -eq "roomMailbox"} | Set-CalendarProcessing -MaximumDurationInMinutes 14400

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.


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.