cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GT2
Advocate I
Advocate I

SharePoint action 'UnshareItem' forbidden 403

Hi,

 

I'm trying to use the SharePoint Action "Stop sharing an item or a folder" to block the access to a folder.

The action returns everytime:

{
"status": 403,
"message": "Exception of type 'Microsoft.SharePoint.SPConnectorException' was thrown.\r\nclientRequestId: ead389df-3c52-4410-810e-22311a56c8da\r\nserviceRequestId: ead389df-3c52-4410-810e-22311a56c8da"
}
 
This action works only blocking the access to a file.
20 REPLIES 20

@v-bacao-msft  Same problem here! Please update.. Thank you

adri3
Frequent Visitor

Same problem here

digitaldanlim26
Advocate II
Advocate II

User running the FLOW must have Full Control Access. We can raise this issue to Microsoft. 

 

Workaround:

 

1. Use SharePoint Designer Workflow to add/remove item permission 

2. If you have Plumsail - you can use the 'Change SharePoint Permission'

 

 

Philip_Worrell
Advocate II
Advocate II

This is a major blocker for me at the moment. 

 

Trying to set permissions on confidential documentsets. 

 

Giving me 403 when I try anything that is folder content type related. 

That mean Folders, Document sets, and OneNote's all fail with the same error. 

Yet I can remove permissions on individual office files in the same site, library, same flow with the same connection privs. 

 

Basically looks like that action itself just cannot handle those content types. So the name of the action is misleading Stop Sharing an item or Folder should not have the 'or folder' on it. 

 

I am going to try the permissions Https request option that Serge Luca came up with prior to these actions being 

 

 

 

Please vote for this feature: https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/39024700-flow-sto...

 

 

MS confirmed this won't work for SP folders

Already done and more 😀!!!

 
 
 

2019-11-26 09.10.56 pm.png

vargafranz
Frequent Visitor

Thanks to you all for the hard work you put in. Upvoted and will continue to monitor. Frustrating that their released functionality does not do what it says it does.

Thanks,

 

A link to that article would be appreciated

vargafranz
Frequent Visitor

Sure, I was referring to the tech article already mentioned in the UserVoice. 

Thanks so much @digitaldanlim26 ! Indeed, giving full access to the account running the flow works!

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Top Solution Authors
Users online (1,166)