Forum Discussion

alex3galvez's avatar
alex3galvez
Copper Contributor
Mar 04, 2025

Change work hours

Hello,

I am trying to change users' work hours as I would do via the web interface.

However, I am unable to find a way to do this using PowerShell.

I’ve seen suggestions to use Set-MailboxCalendarConfiguration, such as:

Set-MailboxCalendarConfiguration -Identity email address removed for privacy reasons -WorkingHoursStartTime "09:00:00" -WorkingHoursEndTime "17:00:00"

However, I need to set different working hours for each day, and I can’t find any parameters that would allow me to do this.

Is this possible? Do I need to use Update-MgUserMailboxSetting for this?

 

Thank you,

Alejandro

  • alex3galvez's avatar
    alex3galvez
    Copper Contributor

    While searching for more information, I found that this may not be supported (https://learn.microsoft.com/en-us/graph/api/resources/workinghours?view=graph-rest-1.0). Does anyone know if I'm right?

Resources