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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
aattwater
New Member

Refresh Sharepoint Online list data on embedded dashboard hosted in Azure

I've followed this example to get a dashboard embedded in a .NET MVC website. The dashboard is publised to an Azure Power BI workspace collection, then embedded in to a page in my website using the Power BI .NET libraries. The website has authentication (redirects to the login screen at https://login.microsoftonline.com/common/oauth2/authorize) to connect to Sharepoint Online to show list data.

 

I can refresh the data in Power BI desktop to show the correct, current data, but I can't find anywhere an option to refresh the embedded dashboard which stays at the data at the time the PBIX file was published to Azure.

 

Could anyone point me in the right direction to be able to acheive refreshing of Sharepoint Online data in an embedded dashboard?

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee

@aattwater

 

As far as I know, three ways to refresh the data in Power BI Embedded.

  1. If report is importing data, recreate a pbix and re-import it to workspace, no schedule refresh.
  2. If report is using direct query, use Azure SQL database/data warehouse and set the azure credential via REST.
    Patch GatewayDatasource
    Data source connectivity
    Your report would be always up to date, no need to refresh.
  3. Additon to 2, if using direct query to any other on-premises source, there's no gateway supported like in Power BI Service. Say your report is using an on-premises SQL Server, set up an automation process to load the data from SQL Server into the Azure SQL database via an ETL tool like SSIS, then schdule this automation process to run in a certain interval to update the data.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.