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.
19 REPLIES 19

@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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,616)