Hi,
I have created a flow that sends an email to a shared mailbox if someone deletes a file in a sharepoint site. And it works well when I tested it, and it worked well with other users when I didn't have the expression:
It now fails on DirName (Send an email (V2)) when other users delete a file. Any reason for this? Do the users need access to the flow for it to trigger when they delete?
I think this may be a permissions issue. Do you have owner permissions on the SharePoint site? If so, give one of the other users for whom the flow does not trigger when they delete a file owner permission. If changing their permissions allows the flow to run, then you can decide what to do next. Before you give them owner permissions, are these users members of the site? If not, then first add them as members to see if that resolves the issue. Although this would be odd since the flow should be running under your credentials so it shouldn't matter.
@plshelpme I believe that the Send an email (V2) action, will require each user (who will be triggering the flow) to have a copy of the flow installed in their own Power Automate instance.
Alternatively, you can replace your Send an Email (V2) action with a Send an Email from a Shared Mailbox (V2) action. However, it's important to note, whoever will be triggering this flow will need to have access to the Shared mailbox (so they can send an email on behalf of the Shared Mailbox).
Hope this helps!
If I helped you solve your problem—please mark my post as a solution ✅. Consider giving me a 👍 if you liked my response! |
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional