Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PBISupport
Frequent Visitor

Microsoft Exchange Online not folding

I'm building a report in Power BI Desktop to pull emails via the Exchange Online connector. All emails are native to Microsoft Outlook in Microsoft cloud. There are no on-premises mailboxes, nothing out of the ordinary. Think of it as the simplest case possible.

I only need last month's emails. The Exchange Online connector pulls all emails since the inception of the mailbox, then applies my date filter. So, in some cases, it pulls 200K entries, only to filter it down to 500 entries after already downloading the entire 200K entries. It's quite inefficient, especially when multiplied by the 70+ mailboxes I'm pulling data for.

Seems Power Query isn't folding my query.

I know we can use other tools outside of Power BI to build our dataset, but that's not what I'm looking for.

Is it possible to send parameters through the Exchange Online connector to fetch a subset of emails using Power Query inside the Power BI platform? Do you know of any good documentation on this?

2 REPLIES 2
PBISupport
Frequent Visitor

Graph was my first choive but is way too slow. I've used it in other projects but somehow it takes forever to pull emails.

Anonymous
Not applicable

Hi @PBISupport ,

How about use Graph API?
Use the Outlook mail REST API - Microsoft Graph v1.0 | Microsoft Learn

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.