
Get Files (Properties Only): Ensure the action retrieves the correct files from SharePoint. Confirm that the file identifiers or paths are being passed correctly to the subsequent steps.Ensure File Content is Retrieved: Use the Get File Content action after retrieving file metadata. Pass the Identifier dynamic content from the previous step to fetch the actual file content.
Add Attachments Properly: Use the "Attachments" field in the email action and map the fields correctly: Attachment Name: Use the file name (e.g., @{body('Get_file_content')?['Name']}). Attachment Content: Use the file content output (e.g., @{body('Get_file_content')?['$content']}). Attachment Name: dynamic content for file name
Attachment Content: dynamic content for file content