Remove Site Collection Admin

How to remove the site collection admin role of 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 10 in my site collection.

removesitecollectionadmin

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.