The Term ‘Get-GlobalAddressList’ is Not Recognized


In some cases, you’ll see the following error when running the ‘Get-GlobalAddressList’ CmdLet:

Get-GlobalAddressList : The term 'Get-GlobalAddressList' is not recognized
as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ Get-GlobalAddressList
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-GlobalAddressList:String) [],
    + FullyQualifiedErrorId : CommandNotFoundException

In order to run the Get-GlobalAddressList CmdLet, you need to have the “AddressList” role.

By default, the “Address List” role is not assigned to anyone.

To solve this issue you need to assign the “Address List” role to a role group.

One solution is to add it to the Organization Management role group:

How to assign the Address List role to the Organization Management role group.
Click to enlarge

The Exchange Online Management module only loads the CmdLets for which you have permission, so (assuming you’re a member of the Organization Management role group) you can now reload the EXO module and run the “Get-GlobalAddressList” CmdLet:

PS C:\WINDOWS\system32> Connect-ExchangeOnline

This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which
doesn't require WinRM for Client-Server communication. You can now run these cmdlets after
turning off WinRM Basic Auth in your client machine thus making it more secure.

Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity
with the RPS (V1) cmdlets.

V3 cmdlets in the downloaded module are resilient to transient failures, handling retries
and throttling errors inherently.

However, REST backed EOP and SCC cmdlets are not available yet. To use those, you will need
to enable WinRM Basic Auth.

For more information check

PS C:\WINDOWS\system32> Get-GlobalAddressList

Name                        RecipientFilter
----                        ---------------
Default Global Address List ((Alias -ne $null) -and (((ObjectClass -eq 'user') -or 
                            (ObjectClass -eq 'contact')
                            -or (ObjectClass -eq 'msExchSystemMailbox') -or
                            (ObjectClass -eq 'msExchDynamicDistributionList') -or
                            (ObjectClass -eq 'group') -or (ObjectClass -eq

How to Minimize the Cost of First-Level User Support

According to a Forrester/Microsoft report, administration and training make up the greatest cost increase after moving to Office 365:

Click to view the source report

The main reasons behind the significant increase in administration and training are the following:

  • Administration requires multiple fragmented tools.
  • Many standard tasks require complex PowerShell scripting.
  • You still need to run Exchange on-premises.

With Easy365Manager, you can solve all the above issues in just a few minutes.

Easy365Manager is a snap-in to AD Users & Computers that offers the following benefits:

  • Manage everything from a single well-known interface (ADUC).
  • Eliminate the need for complex PowerShell scripting.
  • Remove your on-premises Exchange Server.

Additionally, you can install and configure Easy365Manager in just a few minutes.

No infrastructure changes are needed, and you can run Easy365Manager in parallel with your on-premises Exchange Server to safely test how the tool fits your IT organization.

Book an online demo here.

Download the fully functional 30-day trial here.

Watch short how-to videos that showcase daily operations using Easy365Manager here.

Read more about Easy365Manager here.