
Announcements
So we have had a user leave our organisation, and it looks like they pretty much used to run the whole department from their OneDrive.
I am now trying to migrate this information to SharePoint whilst maintaining the Sharing abilities which doesn't look to be particularly friendly in PnP powershell.
Starting looking at Power Automate, hoping that I can modify the Sharing Report from the OneDrive (move all of the files and specify the new location) then feed this into Power Automate and get it to share everything in the sharing report with the correct user with the correct permission.
Is this even possible? Seems like it would be a really handy flow for offboarding too.
Programatically (Powershell) I guess it would be:
- Read Sharing Report
- Foreach loop
- Obtain Resource Path
- Obtain User Email
- Share Resource Path with User Email
- Next record
This particular user has 28000 lines in their report, so don't really fancy doing this manually.