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?
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.