
Hi all,
I am trying to use the out to the box feature to set calendar for multiple resources using the 'Set calendar' button and selecting a work hour template.
On my dev environment, I get the following error - "Resource not found for the segment 'msdyn_applyworktemplateforresources"
However, it works fine on my vanilla environment.
On analysing the network traces from browser, I can see that there is a POST api call made to https://<environment url>/api/data/v9.0/msdyn_applyworktemplateforresources
This call has different responses on both environments.
On dev - 404 {"error":{"code":"0x8006088a","message":"Resource not found for the segment 'msdyn_applyworktemplateforresources'."}}
On vanilla - 204
My guess is something is missing on the dev environment but I cannot pin point what exactly it is. I've tried comparing the oob solutions in both environments and their version numbers and they look the same.
Can someone help please
Thanks.
Found the solution.
There is an out of the box action 'Resource Scheduling - Apply work template for resources' that was deactivated.
Activating it fixed the issue.