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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
SaharMa
Frequent Visitor

Sending a report's PDF to a specific distribution list

Hi all,

I have a PBI report that contains data from an API call and 4 different groups of users (Microsoft groups).
I'm trying to figure out how to create a trigger so that after the report is refreshed - the appropriate group will receive an email containing a PDF of the report and a link to it.

Something like:
Some action in my web app -> refreshing the report -> sending an email to the appropriate group with report's PDF.

 

I know that it is possible to refresh a report using rest API, but is it also possible to send an automatic email to a specific group that will be scheduled after the refresh is finished?

 

*Groups can be distinguished by a varible that is available in both PBI report and web app.

 

Thanks.

1 ACCEPTED SOLUTION
collinq
Super User
Super User

Hey @SaharMa ,

 

If you are wanting to use API to send the file I believe that the Export to File will do the trick:  Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

If you are waiting until the Dataset is refreshed, then you can use this API call to determine if it is done or not:

Datasets - Get Refresh Execution Details - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

OR, you could use Power Automate to do all of this.




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




View solution in original post

1 REPLY 1
collinq
Super User
Super User

Hey @SaharMa ,

 

If you are wanting to use API to send the file I believe that the Export to File will do the trick:  Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

If you are waiting until the Dataset is refreshed, then you can use this API call to determine if it is done or not:

Datasets - Get Refresh Execution Details - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

OR, you could use Power Automate to do all of this.




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors