Friday, September 4, 2015

How to Get the GUID of the Address Book in Office365

 

Open the Exchange admin center in Office 365 > permissions > admin roles

Add the Address Lists roll to an existing roll group or create a new role group with the Address List role. Make sure you are a member of the group.

Connect to Office 365 with Powershell:

$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://ps.outlook.com/powershell/" -Credential $cred -Authentication Basic -AllowRedirection

Import-PSSession $session

Get GUID of global address list:

Get-GlobalAddressList | fl name, guid

Get GUID of other address list:

List address lists:

Get-AddressList | fl name

Enter name of address list in place of addresslistname below:

Get-AddressList -Identity "addresslistname" | fl name, guid

Disconnect PowerShell session:

Get-PSSession | Remove-PSSession

No comments:

Post a Comment

Attendant Pro Q4-2017 Update: IM Consult Transfer, Microsoft Teams UX, Call History, Calendars & Configure Contacts & More

Below is a summary of the new features in Q4-2017 (November 2017) update for Attendant Pro, which can be downloaded here as MSI installer. ...