Hi all,
I need to solve this puzzle:
When an employee leaves the company, he has a OneDrive account with a SharePoint site linked to it.
The idea is to create a Flow to make the Manager the new SharePoint site collection admin.
This way he has the option to either delete it or take ownership of it. Wondering if I would be able to do that with the SharePoint trigger: Grant access to an item or a folder?
Will it work for our manager in this case since he does not have the access to the SharePoint site, to begin with? or should I use PowerShell for this requirement?
Thank you,
JS
Hi @JuanSimon
Grant access to an item or a folder is giving permission to a specific folder or item. In your case you need to add a user to give full permission of the list or library. For that you need to use Send an HTTP trigger to SharePoint action step. Please see below.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi, your link does not provide the solution to change the Collection Admin.
You can manually reassign the employee's OneDrive: Step 4 - Give another employee access to OneDrive and Outlook data - Microsoft 365 admin | Microsoft...
I wonder if it is possible through Azure AD (where we have a group with a manager attached to it.)?
Has anyone automated it this?
Is this a desktop flow/PowerShell job only due to security concerns?
Thanks,
Juan Simon
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
66 | |
22 | |
16 | |
16 | |
11 |
User | Count |
---|---|
131 | |
44 | |
32 | |
32 | |
28 |