cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Softbear
Helper I
Helper I

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
v-xida-msft
Community Support
Community Support

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.

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

 

/Elias

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (798)