Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

CDS List Records action randomly not returning all columns

Using List Records CDS action to get activitymimeattachments from D365 to post them to sharepoint.  These are pdf files generated from a report that get attached to emails.  Seems like there is a severe limitation in the size of fields returned by this action.

Need to get filename and body from the activitymimeattachment, however body is a base64 encoded binary file and when it gets large,, list records truncates the body field and all fields appearing after it like filename.

The record I get back looks like this:

"@odata.context": "$metadata#datasets('contoso.crm')/ta...",
"": "",
"@odata.etag": "",
"ItemInternalId": "9a8bc8d7-30d0-ea11-a812-000d3a8c954b",
"overwritetime": "1900-01-01",
"attachmentnumber": 0,
"solutionid": "25a01723-9f63-4449-a3e0-046cc23a2902",
"_objectid_value": "8d8bc8d7-30d0-ea11-a812-000d3a8c954b",
"_objectid_type": "emails",
"activitymimeattachmentidunique": "2b6e090b-caf7-4206-9e4c-1e736a81288a",
"isfollowed": false,
"activitymimeattachmentid": "9a8bc8d7-30d0-ea11-a812-000d3a8c954b",
"_attachmentid_value": "9b8bc8d7-30d0-ea11-a812-000d3a8c954b",
"_attachmentid_type": "attachments",
"ismanaged": false,
"objecttypecode": "email",
"componentstate": 0,
"_componentstate_label": "Published",
"versionnumber": 133001837,
"attachmentcontentid": null,
"anonymouslink": null


It does not contain the 2 fields I am interested in.

Any ideas?

Posting the in a web browser does return body and filename.

Community Support
Community Support

Hi @bwilliamson,


Which CDS connector are you using? Is the regular CDS or CDS (Current Environment)?

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,019)