I am trying to use the Logic App 'List Records' connector for CRM Online to move attachments to SharePoint Online, For example- when an email is created with an attachment in CRM, I am trying to move the attachment to SharePoint Online. I am successful in moving all the attachments from all the emails in the system in one go but I want to filter the attachments based on single email as similar to how we do in C# plugin/workflow by querying the entity "activitymimeattachment". But I couldn't achieve it through filtering in Logic Apps(I have tried entering filter as "_objectid_value eq EMAILMESSAGE") AND also from the given list of entities, or by entering a custom value of the entity as "activitymimeattachment" which is not exposed. My Logic App is Failing . If this entity is not exposed, how can we can get the attachment list for an email?
Please give some suggestions on it...Many Thanks.