Inside the SharePoint UI we can share a file with "People you chose" and we can define both internal users, new external users or existing external users, as follow:

enter image description here

Now I have a Power Automate flow and I want to share a file with internal and external users using the same approach. but seems Power Automate does not provide an out of the box action for this scenario, so can we use SharePoint REST API?

  • Where I can share the file with internal/external
    • Get the file link
      • Send the link in an email

Is this possible? I do not want the Share action to send notification directly, I want to get the link and send it using another Send Email action?


  • Please check my answer here where I provided api details. Here I mentioned how to use it in C# but you can use same API in Power Automate here as well. Let me know if works for you or not Commented Mar 27, 2023 at 8:24
  • I am checking to see how things are going there on this issue. Commented Apr 6, 2023 at 6:03

1 Answer 1


You can refer to following api to get sharelink


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.