Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

DestroyOrganizationSharingLink seems not to be working

$
0
0

Hi there!

I’m trying to delete permissions on SharePoint Online folder by calling DestroyOrganizationSharingLink method. Unfortunately, this method seems not to be working for me. I’ve tried both a folder URL as a parameter and a shared link but both have failed.

Examples of URL value parameters:


https://xxxcompany-my.sharepoint.com/personal/sasha_de_com/_layouts/15/guestaccess.aspx?guestaccesstoken=BWTJHQIlpx3vBfAiGWfE%2fZ03Rnh1mMuRFQetr75PU2U%3d&folderid=2_14f7ee2fde30b4d8aaec0c51e2e49cc54&rev=1


https://xxxcompany -my.sharepoint.com/personal/sasha_de_com/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fsasha%5Fsmcru%5Fcom%2FDocuments%2FA5%2F665a167c%2Da4fe%2D4239%2Dab48%2De6a0b290ed65

 

I’ll appreciate any advice how to resolve this issue. May be there is any alternative method to remove a shared link?

 

Regards,

Alexander


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>