Manually Updating/Forcing AddressList/GAL on Office 365

Manually Updating AddressList on Office 365

First thing you should do is to connect Exchange Online via PowerShell

$UserCredential = Get-Credential

Now type your global administrator credentials

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session

When the connection is establish, you cannot see the addresslists or GlobalAddressList if you don’t have proper permission. By default none of Global admin can have this rights. So, What to do?

Close the PowerShell and go to Login.Micorosoftonline.com

Login with your global administrator account and then go to Exchange Console, Permissions and Permissions.

Add a new Role, named it Address List Management and choose “Address List” role and assign it to yourself

office 365 - 63

If it is saved (Sometimes it doesn’t work due to maintenance) Open the PowerShell again and follow the command above again.

When the connection is established again, now try get-addresslist

If you have a result, you have assigned yourself correct rights.

If you want to update/force “All Users” due to recent changes

Set-AddressList -Identity “All users”

That is your command

 

Stay Tuned!

Sonat Yaylali

One thought on “Manually Updating/Forcing AddressList/GAL on Office 365

Add yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: