You can apply much of the same code to a different scenario – removing access for any shared files. Sort of like the “sharing” report that you can generate within Office 365, but for all users. The script used the Graph API endpoints to get a list of users within your tenant, then for each user checked the presence of a OneDrive “drive”, enumerated the items therein and spilled details for any “shared” file. A while back I posted a “proof of concept” article/ script about enumerating all shared files across your Office 365/OneDrive for Business environment.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |