cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cymorg Helper I
Helper I

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.

 

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." Attempting to edit the credentials for the failing connection results in a 500 Internal Server Error.  

Clipboard01.jpg

This error is unexpected because I understood the on-demand refreshes & scheduled refreshes would use the same data source(s).  There is no where to specify different data sources/credentials for on-demand vs. scheduled so I just 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 Helper I
Helper I

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 Helper I
Helper I

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
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications