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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
11manish Profile Picture

11manish 36

#2
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 32

#3
ManoVerse Profile Picture

ManoVerse 30 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans