Update Global Address List: Fixing the “Not Recognized” Error

The Exchange Management Shell (EMS) provides a powerful command-line interface built on Windows PowerShell that enables administrators to automate and manage Exchange Server tasks, including updating the Global Address List. In this article, we shall discuss “Update Global Address List: Fixing the “Not Recognized” Error”. Please, see How to reset Microsoft 365 User Password, Universal, Global, and Domain Local Group Scopes Differences, and “The term “git” was not used as the name of a cmdlet, function, script file, or executable Program recognized“.
Update Global Address leverage the Exchange Management Shell. A robust command-line interface based on Windows PowerShell technology, for streamlined automation of Exchange admin tasks.
To manage every aspect of Exchange, including Update Global Address, utilize the Exchange Management Shell.
Why was the error “Command not recognized” Prompted?
As shown below, the system does not recognize the command. This indicates that the current session has not loaded or installed the required Exchange PowerShell snap-in or RBAC roles.
Update-GlobalAddressList is not a recognized cmdlet
Please, see “Running Docker commands returns Docker is not recognized as an internal or external command“, and “GitLab-runner is not recognized as an internal or external command, operable program, or batch file“.
Fixing the “Not Recognized” Error
When prompted with this error “Update-GlobalAddressList’ is not a recognised” Ensure to follow these few steps:
Open Exchange Management Shell on your Exchange server, and type in the command below and hit enter. This will load the Exchange‑related PowerShell components.
Add-PSSnapin Microsoft*
Now type in the below command and hit enter
Install-CannedRBACRoles
Lastly, run the below command and hit enter. This assigns the default RBAC roles to the appropriate users.
Install-CannedRBACRoleAssignments
Close the Exchange Management Shell and reopen it to refresh the session.
Update‑GlobalAddressList command
Type the command one more time:
Update-GlobalAddressList -Identity "Default Global Address List" -DomainController "yourdomaincontrollername"
This fix should correct the issue associated with GlobalAddresslist and make the list of end users available.
I hope you found this blog post on “Update Global Address List: Fixing the “Not Recognized” Error” very helpful. Please let me know in the comment session if you have any questions.