Removing Admin Role from a user using PowerShell RRS feed

  • Question

  • Hi

    Can you please guide me on removing the Administrator Roles from a specific user in Office 365 using PowerShell.

    I'm new to PowerShell and was executing some commands for the past few days. I created an Office 365 User and assigned the Global Administrator role using PowerShell cmdlet: Add-MsolRoleMember

    Now, if I want to remove that user from admin roles and keep him as a normal user, what cmdlet shall I use? I definitely know how to do this using the Admin Portal. Just need to get it done using PowerShell.


    Thursday, April 30, 2015 10:23 AM