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

Notifications

Announcements

No record found.

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)
  • Verified answer
    Gabriel Dias Junckes Profile Picture
    2,428 on at

    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

  • nisar542 Profile Picture
    30 on at

    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!

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…

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 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 25 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans