How to add a user as a Site Collection Admin using PS

How to add a user as a Site Collection Admin using PS

In this article we want to share with you how to add a second Site Collection Admin using Powershell. If this is a task you are trying to complete, keep reading, you might achieve it by the end of this reading. 

Step-by-step

1. First you need to establish a SPO connection using global admin credentials.


2. Use the following sentence filling the brackets with your own information, you can change $true if you want to add the permission or $false if you are going to remove it.

Set-SPOUser -Site https://<Tenant Name>-my.sharepoint.com/personal/<user site>  -LoginName <User> -IsSiteCollectionAdmin $true



If you need assistance with this or any other task related to your Microsoft licenses or projects you have with us, do not hesitate to contact us today. Our Microsoft certified experts are at your disposal and available via the following channels: The chat inside our website and support portal, email, calls, and you can also open tickets and follow up on them in our support portal.

Furthermore, our Knowledge Base (which you are reading now) has a wide selection of exclusive content for our clients, in order to make your Microsoft experience simpler. Feel free to explore this hub whenever you need, you can also send suggestions about topics or any type of content you think would be helpful.
    • Related Articles

    • Admin roles in Office 365

      Assign admin roles in Office 365 for business. As the person who purchased your Office 365 business subscription, you are the global administrator. This means you have complete control over the Office 365 suite of products. To help you manage Office ...
    • Add additional email aliases to a user

      Your primary email address in Office 365 is usually the email address you were assigned when your Office 365 work or school account was created. The primary email address could also have been changed by you or an admin at your organization. When you ...
    • How to Connect to Exchange Online PowerShell using MFA

      If you are trying to connect to a Tenant as an admin using Multi-facto authentication this post is for you. 1. Go to the Exchange Admin Center 2. Go to Hybrid and then click on Configure to download the powershell module. 3. Run and Install the ...
    • Convert a user mailbox to a shared mailbox

      This article explains how to use the Exchange admin center to convert an Office 365 user mailbox to a shared mailbox. You can also convert one mailbox type to another, but you'll have to perform these tasks using Exchange PowerShell. Convert an ...
    • Setup e-mail forwarding as an Admin in the Office 365 Admin Center

      To setup e-mail forwarding as an Administrator, please follow the instructions below: 1. In the admin center, go to the Users > Active users page. 2. Select the name of the user whose email you want to forward, then open the properties page. 3. On ...