Forum Discussion
Pavel Večeř
Sep 10, 2018Brass Contributor
Send email to all Shared With
Hello all, I'm looking for some option, if there is any to notify all users that I have shared file with. The scenario can be, that file was for example restored from previous version due to some...
MagnusGoksoyrOLDProfile
Sep 11, 2018Bronze Contributor
Hi Pavel!
I do not know of any standard functionality for this other than looking at the properties of the document and see which people you have shared it with, and then manually send an email to them.
Otherwise, with some programming, you should be able to write a small script that runs through a specified document (or all documents) in your OneDrive and list the people you've shared the document(s) with.
Here are something that might be useful for You if you choose to code the functionality:
https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/driveitem_list_permissions
Regards, Magnus