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 / MS Teams phone numbers
Power Automate
Answered

MS Teams phone numbers

(0) ShareShare
ReportReport
Posted on by 13

Hello, I am building a power automate to send an email to people with our user's business phone number. Business phone number are not stored in office365users -> businessnumbers. They are in MS Teams (see picture below), I get this information in MS Teams Admin > Manage Users.

 

Henryxia_1-1711984779942.png

 

Is there a way where I can retrieve this phone number in powerautomate?

Categories:
I have the same question (0)
  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    Hi @Henryxia 

     

    Teams are just groups, so you can use the Office 365 Groups connector and select the Team.
    Phone numbers will be in businessPhones which will be an array (as this field accepts multiple phone numbers)

     

    DJ_Jamba_0-1711988760877.png

     

    Result:

    DJ_Jamba_1-1711988866703.png

     

  • Henryxia Profile Picture
    13 on at

    Got it! But now...How can I filter the phone number? I have a sharepoint list with a bunch of items, and a 'host' column with the host's email address. Then it will be sending an email to invitee with the host's business phone number. 

  • Verified answer
    DJ_Jamba Profile Picture
    2,837 Moderator on at

    email address is case sensitive so use toLower in your filter

    DJ_Jamba_0-1711992612344.png

     

    Then to get the first (which is usually the primary number):

    first(first(body('Filter_array'))?['businessPhones'])

     

  • Henryxia Profile Picture
    13 on at

    Thank you @DJ_Jamba ! Everything is working as expected until I send the email. Here the screenshot

    Henryxia_0-1711993741260.png

    Henryxia_1-1711993757666.png

    I am not sure what I am doing wrong

     

  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    @Henryxia 

    I don't see any errors in your screenshot nor can I see what is wrong.

     

    Would you mind creating a new post so that this other issue is not buried? It would help the community.

    Hope you understand.

     

    Also you can @mention me and I'll pick it up as soon as I can

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard