How to get the attchement name with extension (Microsoft office 365 activities)

You should use Office365 activity with same name ‘Download Email Attachments’

As a output it gives array of O365AttachmentLocalItem from which you can use ‘FullName’ property to get file path.

Check below image for available properties