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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Creating record in CDS using Power Automate flow is getting failed due to Resource not found for the segment

(0) ShareShare
ReportReport
Posted on by 8

I created a flow to insert the MS Forms Pro Survey response variable data to CDS but getting the error "Resource not found for the segment " Question field. When removing the value in Question field it creates the record but it is not getting associated with the respective question column. Can anyone able to help me on this.

CDS error message.jpgCDS flow activity.jpg

I have the same question (0)
  • Suggested answer
    SergioMarques Profile Picture
    on at

    Hi!

    Maybe there is an incorrect mapping happening here.

    There are a couple things you can check:

    - The Id that you are passing in the Question field, is it the Id of your Question? - double check for sanity reasons

    - If this field acts like a lookup in CDS, sometimes passing just the Id isn't enough. You might need to do something like question(<questionid>). reference link https://community.dynamics.com/365/b/linn-s-power-platform-notebook/posts/power-automate-how-to-set-lookup-field-value-in-common-data-service-current-environment-flow-connector

    -- the best way to test this is to check the name logical name of the Question entity in CDS. Flow uses the same syntax as CDS internal calls to cross map records

    Let me know if there progress in your investigation. 

  • Power Platform Communities Profile Picture
    8 on at

    @Syndicate_Admin 

     

    - I double checked in the entity the question id is passing the correct value

    - Followed the instructions in the link and passed the value under question() & questions() but still getting the same error

  • SergioMarques Profile Picture
    on at

    I don't believe the logical name of the linking entity will be questions, as it is a part of the customer voice solution, it should have some sort of prefix.

    You can check then logical name in the entity under customizations of the CDS instance.

    historically, it would be msfp_questions(<id>) but I can't say if this is still the name of the field

  • Power Platform Communities Profile Picture
    8 on at

    Thanks @Syndicate_Admin. I changed the activity from Common Data Service(current environment) to Common Data Service and the flow worked with correct question mapping.

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 51 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans