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

Exchange Online connector pulling org level emails

Intent is to retrieve all or a subset of emails from all users within the organization into Power BI. So far, I've explored two methods, both functional but not without their drawbacks.

 

First, I attempted the Graph API. I made two calls: the first to retrieve all userPrincipalNames (i.e. email addresses), and the second to pull emails for each email address. Limiting my pull to 10 emails per address came back reasonably quickly, but retrieving 100 took considerably longer. Retrieving 1000 never completed, indicating inefficiency unless I'm overlooking something.

 

Second, I explored the Exchange Online connector. This approach is significantly faster. I don't even need to cap the number of emails. Retrieving 6000 emails for a single email address took only seconds. However, the issue arises when Power BI requests credentials for every email address. As an organization admin, I can use my master password, but this is not scalable. What if there are 10K users? Even if I address this, what happens when a new user is added? I would need to come back and provide credentials for the new user.

 

There must be a solution to this, and I'm inclined towards the second approach.

I'm more familiar with Power BI than Microsoft 365, so I suspect there's a method in the Azure admin portal for delegating access to the organization admin account.

1 REPLY 1
Anonymous
Not applicable

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.