We have installed the lastest Power BI Report Server (October) which includes the features for scheduled data refreshes. The options for scheduling are now appearing in the options but they doesn't seem to trigger at all.
Having gone through the https://docs.microsoft.com/en-us/power-bi/report-server/scheduled-refresh-troubleshoot we still don't have any luck and the log isn't showing anything regarding scheduling.
Anyone got this working? Any suggestions for further troubleshooting?
Thanks in advance!
Please go to SSMS, please execute the query below:
Use <your report server DB name> Go select c.Path, c.Name,rs.ScheduleID,s.StartDate,s.LastRunTime,s.LastRunStatus from Catalog c
join [dbo].[ReportSchedule] rs on c.ItemID=rs.ReportID
Join Schedule s on rs.ScheduleID=s.ScheduleID
You will find the ScheduleID for the corresponding report, then go to SQL Server Agent -> Jobs, find the job based on ScheduleID, check the job history about this job.
Thanks @v-qiuyu-msft! This was just the kind of help and guidance I was hoping for.
Looking at the SQL Server Agent jobs now explains why it happened:
Next question is why and what to do about it? What kind of server access is missing for the account?
As an addition improved logging and some information directly through the portal would be appreciated for this.
Please click on the failed job and see detail message:
Thanks again @v-qiuyu-msft, unfortunately that doesn't really bring any more details (which makes it a bit hard to resolve).
Try a powerbi that just pulls something from a web site to see if the problem is the type of data source. It sounds weird if it works from refresh now as the schedule should use the same authentication.
Have you had a look at the log files?
%ProgramFiles%\Microsoft SQL Server\MSSQL.x\Reporting Services\LogFiles
This file RSPowerBI_????.log
shows entries when my scheduled refresh runs.
Those are the Shared Schedule definitions.
You need to add the schedule on each powerbi document.
Click the 3 dots on the powerbi doc and select Manage. Then add authentication before adding an entry under scheduled refresh.
You can also test it by selecting refresh now.
We have set the schedules for the reports as well and "Refresh Now" is working - the scheduled refreshes are not firing though.
Vote for your favorite t-shirt design now through March 28.
Find out more about the March 2023 update.
Find out more about the online and in person events happening in March!