Add Site Collection Admin

How to add the site collection admin role to a user in a single SharePoint Online site collection using a Power Automate flow.

URI

Headers

Body

Screenshot with example

Sample data
User Id – in my sample I am updating the role for Jane Doe, who has principalId 14 in my site collection.

addsitecollectionadmin

Copy/paste example

Resources

User.IsSiteAdmin Property
Web.GetUserById method

That’s it, Happy testing!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.