Office 365 MobilePhone field

Welcome Forums General PowerShell Q&A Office 365 MobilePhone field

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
5 months ago.

  • Author
    Posts
  • #104336

    Participant
    Points: 0
    Rank: Member

    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!

  • #104339

    Participant
    Points: 17
    Rank: Member

    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.

  • #104341

    Participant
    Points: 0
    Rank: Member

    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

The topic ‘Office 365 MobilePhone field’ is closed to new replies.