Forum Discussion
alex3galvez
Mar 04, 2025Copper Contributor
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
- alex3galvezCopper 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?