cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cymorg Regular Visitor
Regular Visitor

Can't schedule a report refresh in PBI Service

I have a report with 2 tables sourced from separate web API calls to a similar service, let's call it MyService.  The service returns json.  The report refreshes perfectly within PBI Desktop.  The report publishes to PowerBI.com where it runs without a hitch.  On-demand refresh of the dataset in the PBI Service works perfectly too, as below

Clipboard01.jpg

I can't schedule a refresh for this report because the option is greyed out.  There is an error reported in the Data source credentials section where one of the two Web sources reports it cannot connect to MyService.  The error is... "Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.

Clipboard02.jpg

Attempting to edit the credentials for the failing connection results in a 500 Internal Server Error.  

 

This error is unexpected because I understood the on-demand refreshes & scheduled refreshes would use the same data source(s).  There is nowhere to specify different data sources/credentials for on-demand vs. scheduled refreshes.  I assume they share the same sets of credentials.

 

Is something weird going on or does my understanding of the innards of the PBI Service need realignment?

1 ACCEPTED SOLUTION

Accepted Solutions
cymorg Regular Visitor
Regular Visitor

Re: Can't schedule a report refresh in PBI Service

Resolved via workaround...

PROBLEM

Dataset credentials cannot be updated without causing 500 error. Invalid credentials disables scheduled refresh options. When publishing a .pbix file via PBI Desktop to PBI Service it may fail to update the dataset connection in the service.

WORKAROUND

Open the same .pbix file via PBI Service (i.e. PowerBI.com --> GetData), and the dataset connection will be updated. Credentials can now be set without error, thus allowing scheduled refreshes to be set.

View solution in original post

1 REPLY 1
cymorg Regular Visitor
Regular Visitor

Re: Can't schedule a report refresh in PBI Service

Resolved via workaround...

PROBLEM

Dataset credentials cannot be updated without causing 500 error. Invalid credentials disables scheduled refresh options. When publishing a .pbix file via PBI Desktop to PBI Service it may fail to update the dataset connection in the service.

WORKAROUND

Open the same .pbix file via PBI Service (i.e. PowerBI.com --> GetData), and the dataset connection will be updated. Credentials can now be set without error, thus allowing scheduled refreshes to be set.

View solution in original post

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Top Kudoed Authors
Users Online
Currently online: 361 members 3,751 guests
Please welcome our newest community members: