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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Stop Sharing an Item o...
Power Automate
Unanswered

Stop Sharing an Item or File - 403 Forbidden Error

(0) ShareShare
ReportReport
Posted on by 10

I have a flow where I create a share link to 'view and edit' an excel file. At the end of the flow I try to stop sharing this link, using the 'Stop Sharing an Item or File' but get the following error: 

{
  "status"403,
  "message""Exception of type 'Microsoft.SharePoint.SPConnectorException' was thrown.\r\nclientRequestId: 3e587957-d2e3-41bc-b59c-048bcd17a5fd\r\nserviceRequestId: 3e587957-d2e3-41bc-b59c-048bcd17a5fd"
}
ErrorErrorCreate sharing link for a fileCreate sharing link for a fileStop sharing linkStop sharing link
 
Any pointers as to what the issue might be?
Categories:
I have the same question (1)
  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @dsilvera 

     

    Pls check if Id parameter is correctly set in "Stop sharing an item or file" action. You can check this value from the failed instance of flow.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • dsilvera Profile Picture
    10 on at

    Hi @ManishSolanki ,

     

    The ItemId is taken from the Create File step.

    It matches as 561 in this instance.

    ItemId from Create File stepItemId from Create File stepSection of Flow showing ItemId is the only option to inputSection of Flow showing ItemId is the only option to input

  • DJanssen Profile Picture
    427 on at

    @dsilvera Hey hope you are well. Did you manage to solve your error? I'm running into exact the same type of error during my workflow when non-owners trigger this workflow. 

  • dsilvera Profile Picture
    10 on at

    Hey, I had to work around this issue, so I didn't try to stop the file share again. I had wanted to stop the share, to prevent anymore edits to the file. Instead, I created a delay to delete the excel file after some time and recreate and share a new file for the next day.

     

    Would have been a cleaner solution to stop the share but...couldn't figure out this issue.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 784

#2
Valantis Profile Picture

Valantis 589

#3
Haque Profile Picture

Haque 522

Last 30 days Overall leaderboard