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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to select list ...
Power Automate
Unanswered

Unable to select list records action in Common Data Service.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I created a flow with Manual trigger. I am trying to list all records available in an entity and copy the records to SQL Database\Azure Blob Storage. I am unable to select "List Records" action. Any help is highly appreciated.

 

Regards,

Pradeep.

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi,

     

    I created a solution. Then I placed a manual trigger button. Next step I search for "Common" . Here I can see both connectors of CDS.  I can select List Records action from either of the connectors. Could you please post a screenshot?

     

    Thanks

  • Pradeepsvs Profile Picture
    Microsoft Employee on at

    Thanks for the answer. I did not create solution before. I just clicked on Flows from left Navigation pane and created a new flow.

    Now, I created a solution, a new flow and chose a entity to I need to copy.

     

    Another question is, can I copy the records from a entity to Azure SQL Database or Azure Blob Storage? 

  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @Pradeepsvs 

     

    Thanks for your reply.

     

    To store in Azure blob storage please see this post

     

    https://www.c-sharpcorner.com/article/copy-files-from-sharepoint-to-an-azure-blob-storage-using-microsoft-flow/

     

    For SQL server you need to use SQL connector enter your credentials for Insert Row action step.

     

    image.png

     

     

     

    image.png

  • Pradeepsvs Profile Picture
    Microsoft Employee on at

    Is this applicable to Azure SQL Database as well? or just SQL Server On-Prem? Ideally, I will add a row to a staging table and execute a SP to merge data based on an entity id.

    Can insert row action insert more than one row or is there other method?

  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @Pradeepsvs 

     

    It's the same connector and if you have on-prem then you need to check the box.

     

    So once you retrieved your records then add a foreach loop, then add the insert row inside the loop so that for each iteration it will insert the record.

     

    Thanks

  • Pradeepsvs Profile Picture
    Microsoft Employee on at

    Thank you,

     

    I tried following based on your feedback. I choose insert row action and provided sql server credentials. I chose a database and table to which data should be copied to. On clicking on each column on UI, i see column list from "List Records" action. I mapped each column and saved the flow. Please let me know if this is a right way to map column data between CDS entity and SQL Server database table.

     
     
     

    Annotation 2020-03-19 171405.png

  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @Pradeepsvs 

     

    Yes that looks good. I can see you are mapping a modified on field to Year. Is that correct? Hope that's a datetime field. The best way to do is runt the flow and test it.

     

    Thanks

  • Pradeepsvs Profile Picture
    Microsoft Employee on at

    Cool, Thanks for your help! the mapping is not final yet. I just tried how to map fields and check if that's the right way.

    Appreciate your help 🙂 Thanks @abm 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard