cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Softbear
Level: Powered On

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

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

3 REPLIES 3
Community Support Team
Community Support Team

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-f...

 

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,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Softbear
Level: Powered On

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

Community Support Team
Community Support Team

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,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Platform 24

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Users online (5,373)