Skip to main content

Notifications

Power Apps - Building Power Apps
Suggested answer

How to display contact lists in the PowerApps search field?

Posted on 12 Dec 2024 20:50:54 by 23
Hello, everyone,
 
I’d like to know if it’s possible to integrate contact lists into the email search field in PowerApps.
 
I’ve attached an image to illustrate what these contact lists would look like. The idea is for the lists created in Outlook to appear in the email search field within PowerApps, making it easier to find them when searching. This would make my work much more efficient, as instead of searching and adding each email individually, I could add all recipients from a list with just one click.
 
Does anyone know if this is possible? If so, how can I set up this functionality?
 
 
 
Thank you for your help!
 
  • WarrenBelz Profile Picture
    WarrenBelz 143,595 on 14 Dec 2024 at 05:07:39
    How to display contact lists in the PowerApps search field?
    Put this in the Items of a Combo Box
    Office365Outlook.ContactGetItemsV2("Contacts").value
    and you will then need to set the field elements (displayName, mail) etc you want to display.
    If the user's contacts are in another folder other than the default, you will need to use that folder name.

    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    Buy me a coffee

  • CU29101605-1 Profile Picture
    CU29101605-1 23 on 13 Dec 2024 at 21:07:02
    How to display contact lists in the PowerApps search field?
    Apologies, I still haven't fully understood. I am a beginner in PowerApps and already use the Office 365 connector, as my app includes the email screen model provided by PowerApps. I would like to know if using the Microsoft Graph API is truly essential to retrieve distribution lists. Is there an alternative to access these lists directly through formulas in PowerApps? If possible, could you provide a detailed solution or examples with screenshots or specific explanations? Thank you in advance!
     
     
  • Suggested answer
    Garima_PowerPlatform Profile Picture
    Garima_PowerPlatform 107 on 12 Dec 2024 at 23:59:54
    How to display contact lists in the PowerApps search field?
    Hi,

    Yes, it is possible to integrate contact lists from Outlook into PowerApps to streamline the process of adding multiple recipients in the email search field.
     
    • Access Contact Lists from Outlook:

      • Use Microsoft Graph API to fetch contact lists or distribution groups stored in Outlook.
      • Alternatively, use the Office 365 Users Connector in PowerApps to retrieve personal contacts.
    • Display Contact Lists in PowerApps:

      • Populate a gallery or dropdown in PowerApps with the retrieved contact lists.
    • Enable Selection and Adding of Recipients:

      • Allow users to select a contact list, which will dynamically populate the email addresses in the recipient field.
    • Pass the Recipient List to an Email Function:

      • Use PowerApps integration with Power Automate to send emails to the selected recipients.


        Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,595

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,098

Leaderboard