When an email with attachments arrives in a shared mailbox, I would like to forward it to a distribution list (along with the attachment/s and then start an approval process. However, i am stuck at the first step ie. forwarding it to a distribution list
any help in this regard is appreciated.
ERROR message: One or more fields provided is of type 'Null', a different type is expected.
PS: the incoming email might have multiple attachments and
Solved! Go to Solution.
Hello @ramakrishnanpr
You are right, as it seems that msg files are not recognized by Power Automate. Read this post with the same issue as yours: https://powerusers.microsoft.com/t5/Building-Flows/Saving-email-attachments-msg-with-flow/td-p/26069...
Hope it helps!
Ferran
Hello @ramakrishnanpr
As you don't know the number of the attachments you are going to receive in the shared mailbox, you should save them in one single variable and send only one email. Have a look at this post: https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/
Apart from that, you should check you have permissions on the shared mailbox to send emails.
I attach an example:
In the "send an email from a shared mailbox" you have to click the icon near the attachments section to change its view, and allow the insertion of a variable.
Hope it helps!
Ferran
Thanks @fchopo
For sure i have the permission in the shared mailbox. I did try your solution but still get an error
Parameter 'Attachment Content' cannot be null or empty.
Output:
for reasons not known to me my "when a email arrives in a shared mailbox" recognizes only 1 of the two attachments. additionally the contentBytes is null at this level itself?
Any idea why this is happening?
Hello @ramakrishnanpr
Have you tried with different emails and attachments? Maybe it's something with the attachment, since it should'nt be null!
Regards,
Ferran
I think the prob is that the ,msg files are not recognized by the system, it works fine with other types. Any reason / solution for the same?
Hello @ramakrishnanpr
You are right, as it seems that msg files are not recognized by Power Automate. Read this post with the same issue as yours: https://powerusers.microsoft.com/t5/Building-Flows/Saving-email-attachments-msg-with-flow/td-p/26069...
Hope it helps!
Ferran
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
28 | |
26 | |
23 | |
17 | |
10 |
User | Count |
---|---|
60 | |
54 | |
29 | |
27 | |
25 |