Skip to main content
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 4

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

  • Power Platform Communities Profile Picture
    4 on at
    RE: Creating record in CDS using Power Automate flow is getting failed due to Resource not found for the segment

    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.

  • SergioMarques Profile Picture
    on at
    RE: Creating record in CDS using Power Automate flow is getting failed due to Resource not found for the segment

    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
    4 on at
    RE: Creating record in CDS using Power Automate flow is getting failed due to Resource not found for the segment

    @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

  • Suggested answer
    SergioMarques Profile Picture
    on at
    RE: Creating record in CDS using Power Automate flow is getting failed due to Resource not found for the segment

    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. 

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans