web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Why does msdyn_SaveCalendar not allow creating non-working hours?

(0) ShareShare
ReportReport
Posted on by 19

Hi everyone,

I’m working with Dynamics 365 Field Service and updating resource calendars using the msdyn_SaveCalendar unbound action (via Power Automate).

I can successfully create working hours rules (WorkHourType = 0) and breaks (WorkHourType = 1) and time-off (WorkHourType = 3), but I’m unable to create non-working hours (WorkHourType = 2) entries using the same action. 

 

My questions:

 

  1. Is it by design that msdyn_SaveCalendar cannot create non-working hours?


  2. What is the supported approach to programmatically create non-working time for a Bookable Resource through PowerAutomate?




  3.  
  4. Any clarification on the intended usage of SaveCalendar vs other APIs would be very helpful.
 

Thanks!

I have the same question (0)
  • Verified answer
    CU19070926-0 Profile Picture
    19 on at
    I found the solution to this, basically you must first send working hours with msdyn_SaveCalendar, and then in next msdyn_SaveCalendar action send non-working times. You can't send them both in same request but one after another apparently, because it won't add non-working hours if there are no working hours first. 
    Other types (time-off, breaks) with working hours you can send with one request

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 21 Super User 2025 Season 2

#2
TAHER Mehdi Profile Picture

TAHER Mehdi 14

#3
DC Dynamics 365 Profile Picture

DC Dynamics 365 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans