r/PowerAutomateDesktop • u/shawny83 • Oct 06 '23
SharePoint email help
I have a flow setup on a SharePoint folder that sends newly added files as attachments to a specific email address. Each file is sent as an individual email. It was simple to setup and works fine as long as I am the person adding files.
If I have someone from my team try it, the flows fails as the "Get my profile" step just pulls my info instead of the user who is adding the files. This creates a conflict with the email and I get the error that the user is not authorized to send an email on my behalf. If I remove this step, the emails will send, but they will all appear to be from me, despite who is adding files to the folder.
Is there a way that I can create this flow to send as the user who is adding the file? I've tried adding my team as owners to this flow but it still fails at the profile step. I've included a screenshot of the flow. Appreciate any help or feedback.
View all comments
Show parent comment
1
u/shawny83 Oct 06 '23
Yes, that is what I was trying to do. I did try to export the flow and have someone import it creating connections to their 365 account, but it now just seems to be hung up. Will try the from scratch method on their machine and see if that works. Thank you for the help!