Author Posts

July 11, 2018 at 9:16 pm

I am trying to extract the MobilePhone field from the contact list in Office 365, but can't find a way to perform this, does anyone know of a cmdlet or method for extracting this information? I've been using Get-DistrobutionGroupMember and Get-DistrobutionGroup as part of my script, which pulls all the information I need except MobilePhone. Thanks!

July 11, 2018 at 11:28 pm

I use Exchange but not O365. To my knowledge the property "MobilePhone" is not an Exchange property, but one that is tied to the Active Directory User object. There are three "Phone" properties on your AD User object, HomePhone, MobilePhone, and OfficePhone.

Example,

Get-ADUser JohnDoe -properties * | select name,mobilephone

If you need help working this into your script you'll need to post some code, but you get the basic idea.

July 11, 2018 at 11:38 pm

So, The information I'm trying to pull is from the Users in Contact Lists that are apart of distribution groups , not actual AD/Azure users. I couldn't find something for this