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

Community site session details

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

Creating a booking through Power Automate

(0) ShareShare
ReportReport
Posted on by 30

Hi, 

I am hoping someone can help me. 

Background/Requirement: 

I am trying to create a power automate flow that will automatically create a booking when a work order is created.


Issue: 

When ever I try to create a booking with the work order look up it fails and returns 'URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL'.

There are other mandatory look up fields on the booking entity which are creating no errors with how I creating them... can someone tell me what I am doing wrong please? 


PA Flow:  

pastedimage1662855421873v1.png
 
Create Booking Step: 
1) 
pastedimage1662855483816v2.png

2) 
pastedimage1662855580490v3.png

If I don't add the work order part - I get the 'object not set to an instance of an object' error... which is expected. None of the other look up field give me the 'resource segment'... it's only this work order. 

I have the same question (0)
  • nisar542 Profile Picture
    30 on at
    RE: Creating a booking through Power Automate

    Hi Gabriel,

    So simple and was right in front me the whole time.

    Thank you so much Gabriel... this has been a massive massive help!

  • Verified answer
    Gabriel Dias Junckes Profile Picture
    2,428 on at
    RE: Creating a booking through Power Automate

    Hi.

    The syntax is incorrect. To set the lookup field, you have to add the EntitySetName. E.g. in the work order will be "msdyn_workorders(70816501-edb9-4740-a16c-6a5efbc05d84)"

    The blog post below might be helpful.

    debajmecrm.com/.../

    community.dynamics.com/.../get-entitysetname-with-xrmtoolbox

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

Quick Links

Responsible AI policies

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 100 Super User 2025 Season 2

#2
Suresh Kulla Profile Picture

Suresh Kulla 72 Super User 2025 Season 2

#3
DAnny3211 Profile Picture

DAnny3211 54

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans