web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger the flow when ...
Power Automate
Unanswered

Trigger the flow when a sharepoint document is shared

(0) ShareShare
ReportReport
Posted on by 8

Hi,
I am learning the power flow.
I would like to create a power flow when a sharepoint online document or list is been shared to another user. I would like to retrieve the details of the Document ID, Document name, current user , shared user and the shared datetime to on-prem sql server.

Can you please guide me on how to create a flow with the above details.

 

Thank you in advance

Categories:
I have the same question (0)
  • Verified answer
    MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @chandrashekar07 ,

    There is no trigger that can fire when a document is shared. It's not the same as modifying it. The only way I can think of doing it is to add an additional columns to your library for the recipient which would need to be completed before or after the Share which would then fire the When a file is created or modified (properties only) trigger. You could then get the ModifiedBy, Recipient and Filename from the dynamic content and do whatever you want with them.

     

    Please vote this already existing idea:

    https://ideas.powerautomate.com/d365community/idea/d356b4fe-6a82-4e9e-a769-4f519085e4ee

     

    If I have answered your question, please mark my post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

  • chandrashekar07 Profile Picture
    8 on at

    Thank you for your answer @MarconettiMarco .  In the link that you have attached. There is no solution or any comments to it.

    But as you have mentioned. if there is no solution directly without adding a column to the library then it would have been much good for me.
    Thank you for your answer.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard