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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
katmaher_1
New Member

Send Email to Report Users when Report is Refreshed

I have a report that willl be shared with ~300 users, but the user list will change as people enter/leave the company. I am trying to find a way to send an email via Outlook to all of the report users when the dataset is refreshed. Given the irregular nature of users being added to the report the subcription button does not really work that well to acomplish my goal. Is there a way to set up an email that is triggered on a PowerBI refresh using PowerAutomate, or is there a way to subcribe every report user to the Subcription feature in PowerBI?

 

Thank you and looking forward to learning new ideas/solutions!

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Subscription is the wrong approach as it doesn't trigger from a dataset refresh.  API based refresh requests allow you to specify when mails should be sent (default is on failure only but you can also choose to send on any completion)

Datasets - Refresh Dataset In Group (Power BI Power BI REST APIs) | Microsoft Docs

 

You can also monitor refresh status with Power Automate and upon completion send a mail to a distribution list

Datasets - Get Refresh History In Group (Power BI Power BI REST APIs) | Microsoft Docs

 

View solution in original post

DavisBI
Solution Specialist
Solution Specialist

Hi, @katmaher_1 

Are you using Power BI Report Server or Power BI Service?

For PBIRS, it can be solved through SQL Server Agent job if you using SQL Server that runs on your domain server as your report's data source. By setting a job,  whenever the dataset is refreshed, an email task can be triggered.

For Power BI Service, you can use PowerAutomate.

View solution in original post

5 REPLIES 5
Elephant
Frequent Visitor

Hello, I have the exact same need as the previous users.

The problem with subscriptions is that it send an email at regular intervals only (day, week, month).

 

I need to send an email ONLY when a report is manually published (or refreshed) and that could be anytime.

 

Shouldn't there be a way that can be done in Power Automate?

DavisBI
Solution Specialist
Solution Specialist

Hi, @katmaher_1 

Are you using Power BI Report Server or Power BI Service?

For PBIRS, it can be solved through SQL Server Agent job if you using SQL Server that runs on your domain server as your report's data source. By setting a job,  whenever the dataset is refreshed, an email task can be triggered.

For Power BI Service, you can use PowerAutomate.

lbendlin
Super User
Super User

Subscription is the wrong approach as it doesn't trigger from a dataset refresh.  API based refresh requests allow you to specify when mails should be sent (default is on failure only but you can also choose to send on any completion)

Datasets - Refresh Dataset In Group (Power BI Power BI REST APIs) | Microsoft Docs

 

You can also monitor refresh status with Power Automate and upon completion send a mail to a distribution list

Datasets - Get Refresh History In Group (Power BI Power BI REST APIs) | Microsoft Docs

 

Anonymous
Not applicable

Hi, 

 

how do you power automate this? 

 

thanks in advance 

Best regards 

Atif

Is there any way to send refreshed report link to the user whenever my dataset get refreshed

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.