web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Working with Mail cont...
Power Automate
Unanswered

Working with Mail contacts and Users in the same flow

(0) ShareShare
ReportReport
Posted on by 2
I am building a notification flow and have run into a snag.
 
The flow reads a group, then for each member of the group it extracts the mobile phone number, reformats it, and uses a 3rd party connector to text that user.
 
Works great for user objects, does not work for mail contact objects.
 
The sticking point comes because users store their mobile number in the "MobilePhone" attribute.  Contacts store their mobile number in the "Mobile" attribute.    The notification group has both users and contacts in it.
 
I have created a test flow and created a step which sets a variable to the value for "Mobile" but it does not return the value.  The "Mobile" attribute does not show up a valid option, I typed it in.
 
Anyone know how I can pull attributes out of a Mail Contact object?
Categories:
I have the same question (0)
  • David_MA Profile Picture
    15,432 Super User 2026 Season 2 on at
    Can you show your flow? That will help to understand what you are referring to regarding group members, users and contacts. I am assuming you're referring to a Microsoft 365 group. When you get the group members from an M365 group, it only returns the "mobile phone" value and not "mobile" value:
     
  • BB-04121723-0 Profile Picture
    2 on at
    The group is (was) an Exchange Distribution group.  Some members were of type "user", and some members were of type "contact".   The flow is pretty basic, I pasted a section of it below.  The only thing that happens before it is initializing variables, and after this section is the "send SMS message" and "send run status email" sections
     
    Users store the number in the field "MobilePhone"
    Contacts store the number in the field "Mobile"
     
    I had to get this working, so I switched to using a basic security group and created User objects for the Contacts I needed.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard