---
title: List Office 365 Global Administrators via Powershell
description: Managed IT Services Brisbane
---

[![Exxa Managed IT Services Brisbane](https://blog.exxa.tech/hubfs/Exxa_June2019%20/Images/logo_Png_small_1.png)](https://exxa.tech)

- [Home](https://exxa.tech/)
- [Services](https://exxa.tech/services/it-services-inforgraphic) 
    - [All Services](https://exxa.tech/services/services)
    - [Managed IT Services](https://exxa.tech/services/it-managed-services)
    - [Compute and Email to Cloud Migrations](https://exxa.tech/services/compute-and-email-to-cloud-migrations)
    - [Automated Backups](https://exxa.tech/services/automated-backups)
    - [IT Security Services](https://exxa.tech/services/it-security-services)
    - [VOIP Hosted Phone Service](https://exxa.tech/services/pbx-voip-hosted-phone-service)
    - [Microsoft 365 Business & Office 365 Discounts](https://exxa.tech/services/office365-discounts)
    - [Surface Pro 6 for Business Tax Time offer!](https://exxa.tech/services/surface-pro-6-for-business-tax-time)
- [Insights](https://exxa.tech/insights/managed-it-services-insights) 
    - [News](https://exxa.tech/news)
    - [Articles](https://exxa.tech/table/articles/)
    - [LinkedIn](https://www.linkedin.com/company/exxa-tech)
- [Partners](https://exxa.tech/partners/partners)
- [STORE](https://store.exxa.tech/find/computer-systems)
- [FREE AUDIT](https://info.exxa.tech/audit)
- [CONTACT](https://exxa.tech/about/contact-us)

![Managed IT Services Brisbane Articles](https://blog.exxa.tech/hubfs/Exxa_June2019%20/Images/server_racks_blue.png "Managed IT Services Brisbane Articles")

# Exxa Articles

# List Office 365 Global Administrators via Powershell

 

## Prerequisites

You need to be an Office Global Administrator to run these commands.

You need to be running Powershell as Admin and you need to download

**Microsoft Online Services Sign-In Assistant for IT Professionals RTW**

Firstly download and install this software:

[https://www.microsoft.com/en-us/download/details.aspx?id=41950](https://www.microsoft.com/en-us/download/details.aspx?id=41950)

Then fire up Powershell as Admin and run the following commands:

***Install-Module MSOnline***

This will install the Office 365 Powershell Module

 

## Connect to Your Office 365 Tenant

Use this command to connect to your Office 365 tenant:

***Connect-MsolService***

Finally run these two commands and it will display all your Global Administrators

***$role = Get-MsolRole -RoleName "Company Administrator"***

***Get-MsolRoleMember -RoleObjectId $role.ObjectId***

 ![powershell](https://d2zfluxj8lqv3m.cloudfront.net/Office365-Powershell/powershell.png)

## Using the Portal to List Global Administrators

You can also login to the Office 365 Portal, Click on Admin > Active Users and then select Global Admins in the Views drop down menu:

![Office 365 Portal](https://d2zfluxj8lqv3m.cloudfront.net/Office365-Powershell/console.PNG)

 

## Related Articles

[https://exxa.tech/articles/office-365-sharepoint-team-sites](http://wordpress.exxa.tech/2018/03/03/office-365-sharepoint-team-sites/)

[https://exxa.tech/articles/add-permissions-for-2nd-mailbox-office365](http://wordpress.exxa.tech/2018/03/05/add-permissions-for-2nd-mailbox-office365/)

 

 

### Articles

### NEVER MISS A NEWS UPDATE

- [Legal](https://exxa.tech/about/legal)
- [Privacy Policy](https://exxa.tech/about/privacy-policy)
- [Terms & Conditions](https://exxa.tech/about/terms-and-conditions)
- [Sitemap](https://exxa.tech/sitemap)

[LinkedIn](https://www.linkedin.com/company/exxa-tech)    |    [Twitter](https://twitter.com/exxatech)     |    [Facebook](https://www.facebook.com/Exxa.tech)                                            Copyright Exxa    