When I use the download attachments activity for O365 I get a List of Objects, all having the same Name und Fullname Attribute despite having different file names in the mail (see objects below):O365AttachmentLocalItem[2]
{
O365AttachmentLocalItem
{
Context = null,
CreationDate = [09/03/2024 17:59:41],
Extension = “pdf”,
FullName = “P3_48DF373B3C881EEEB7A422AF58B60328.pdf”,
IconUri = null,
ID = “XXX”,
IsFolder = false,
IsResolved = true,
LastModifiedDate = [09/03/2024 15:54:19],
LocalPath = “C:\xxx\AppData\Local\Temp\2\31gg5zis.0sh.pdf”,
Metadata = Dictionary<string, string>(0) { },
MimeType = “application/pdf”,
Name = “P3_48DF373B3C881EEEB7A422AF58B60328”,
SizeInBytes = 59370
},
O365AttachmentLocalItem
{
Context = null,
CreationDate = null,
Extension = “pdf”,
FullName = “P3_48DF373B3C881EEEB7A422AF58B60328.pdf”,
IconUri = null,
ID = “YYY”,
IsFolder = false,
IsResolved = false,
LastModifiedDate = [09/03/2024 15:54:19],
LocalPath = “C:\xxx\AppData\Local\Temp\2\3gbwzqlv.rtf.pdf”,
Metadata = Dictionary<string, string>(0) { },
MimeType = “application/pdf”,
Name = “P3_48DF373B3C881EEEB7A422AF58B60328”,
SizeInBytes = 53204
}
}
They do have different IDs, different sizes and different LocalPaths. I need to get the original names to safe the attachments with their real name.