Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Get Emails from Exchange API to overcome the 25 item imit on the Office365outlook.getemails connector

(0) ShareShare
ReportReport
Posted on by 58

Hello,

Do you guys think it's possible to build a compontent that gets get mails from a shared mailbox and displays them all in a gallery in PowerApps through the component framwork?

I did just follow the guide to build my first component and are not really a pro in this area...

The reason of buildnig this would be to go around the problem that Office365Outlook.GetEmailsV3 only support to get 25 emails. I want the whole Inbox.

 

So, what do you guys think? Maybe it would be possible to use the exchange API? 

 

/Elias

  • v-xida-msft Profile Picture
    on at
    Re: Get Emails from Exchange API to overcome the 25 item imit on the Office365outlook.getemails connector

    HI @Softbear ,

    Have you taken a try with the custom connector solution I provided above?

    Have you solved your problem?

     

    If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.

     

    Best regards,

  • Softbear Profile Picture
    58 on at
    Re: Get Emails from Exchange API to overcome the 25 item imit on the Office365outlook.getemails connector

    Thank you @v-xida-msft . I will try it out later today. Would solve a whole solution.... 🙂 

     

    /Elias

  • v-xida-msft Profile Picture
    on at
    Re: Get Emails from Exchange API to overcome the 25 item imit on the Office365outlook.getemails connector

    Hi @Softbear ,

    Do you want to get whole emails from a specific mailbox using Component Framework to overcome the 25 item limits?

     

    Based on the needs that you mentioned, I think it is not necessary to achieve your needs using PowerApps Component Framework, instead, I think a Custom connector could achieve your needs.

    Note: The PowerApps Component Framework is mainly used to custom a code component (control) within PowerApps rather than call REST API.

     

    On your side, you could consider create a custom connector within your PowerApps based on Microsoft Graph REST API, then within the custom conector, define a action to call your Outlook email REST API to retrieve emails within a specific folder for a specific mailbox using the following action path:

    GET /users/{id | userPrincipalName}/mailFolders/{id}/messages

     

    More details about creating a custom connector based on Microsoft Graph REST API, please check the following article:

    https://gotoguy.blog/2017/12/17/access-microsoft-graph-api-using-custom-connector-in-powerapps-and-flows/

     

    More details about creating custom connector in PowerApps, please refer to the following article:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/register-custom-api

     

    Please consider take a try with above solution, check if it could help in your scenario.

     

    Best regards,

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 76 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

Overall leaderboard