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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
ushah763
Helper I
Helper I

Scheduled refresh has been disabled.

I had created a report which is pulling data from two sources. (1) an excel file in sharepoint and (2) the opportunity object in Salesforce.com. I am logging into the latter with my credentials.

 

The scheduled update to that dataset was working fine.

Dataset 1.

 

Then i created another report with another dataset, this time only pulling from Salesforce.com.

Dataset 2. 

 

I scheduled Dataset 2 for auto refresh and noticed that dataset 1 is no longer scheduled for auto refresh and the schedule functionality is greyed out. 

 

ds2.PNG

 

The show details givesme this error:

 

Last refresh failed: Thu Oct 11 2018 22:37:42 GMT-0400 (Eastern Daylight Time) 
Scheduled refresh has been disabled.
Hide details

Data source error:Scheduled refresh has been disabled due to at least one data source not having credentials provided. Please provide credentials for all data sources, and then turn scheduled refresh back on.
Cluster URI:WABI-WEST-US-redirect.analysis.windows.net
Activity ID:c75de6db-0f3c-4a8b-935d-79b69eb2dc60
Request ID:91fb8339-b283-ef94-90a0-54c06f8efe1a
Time:2018-10-12 02:37:42Z

 

i tried a manual refresh and that fails as well.

 

I created the reports in Power BI Desktop and verified the datasets and their credentials there. 

I get no errors.

 

Why did it stop working?

Why can i only schedule one dataset to salesforce.com to update automatically and not the other?

How do check where the credential error is?

 

 

 

 

 

13 REPLIES 13
ReportGuru
Post Patron
Post Patron

Hi @ushah763 As a workaround, maybe you can try to test your connection with a 3rd party connector, I think that won't require a gateway. I've tried windsor.ai, supermetrics, and funnel.io. I stayed with Windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Salesforce connector in the data sources list:

 

SALESFORCE-1.png

 

After that, just grant access to your Salesforce account using your credentials, then on preview and destination page you will see a preview of your Salesforce fields:

 

SALESFORCE-2.png

 

There just select the fields you need. It is also compatible with custom fields and custom objects, so you'll be able to export them through windsor.  Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url. 

 

SELECT_DESTINATION_NEW.png

polymathy2017
Advocate III
Advocate III

1. Go to your dataset in the PBI service. 

2. Click on the elipsis (3 dots) next to your dataset.

3. Click on Settings.

4. Click on Data Source Credentials.

5. Edit credentials for all listed failures.

v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@ushah763,

Do you connect to SharePoint online excel or on-premises sharepoint excel? What authentication method do you use in Power BI Desktop for the Excel file? Are you able to re-enter credential for the dataset1 in Power BI Service?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft i am connecting to sharepoint online O365. I had to install a personal gateway for the scheduled refresh to work.

Now everytime my computer is asleep or down, the refresh fails.

@ushah763,


What authentication method do you use for SharePoint data source? When you connect to SharePoint online data source, gateway is not required to refresh the dataset. Does your dataset contain other on-premises data sources?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft using windows authentication. 

 

i do not see an option to change it to anything else.

 auth.png

 

@ushah763,

If you connect to SharePoint online data source, you would need to use Organizational account instead of Windows authentication in Power BI Desktop, and you would need to use OAuth2 method in Power BI Service.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft

 

I do not see that option when looking at the data source connections from the service.

How, where do I access that to change it? on the desktop or service? and where?

 

When I go to File > Options and Settings > Data Source Settings

in Power BI Desktop, this is all i see when i select "global permissions"

 

permissions.png

 

So where do I go to change the data source credentials?

@ushah763,

You would need to change the credential option in Power BI Desktop, then re-publish PBIX file to Power BI Service.
1.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft

 

i do not have that option.

 

auth2.png

@ushah763,

What connector do you use in Power BI Desktop to connect to the Excel file? It seems that you are connecting to Excel file which is stored in a network path.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft

 

I used the "Excel" connector in the "Get Data" menu.

getdata.png

@ushah763,

You are combining on-premises data source(Excel) and online data source(salesforce) in a single dataset, in this case, gateway is required.

"I had to install a personal gateway for the scheduled refresh to work. Now everytime my computer is asleep or down, the refresh fails.

"
However , based on your previous reply, your computer could be asleep or down. Then it is an expected behavior that the schedule refresh is not working for the dataset, as stated in this article, you shouldn't install a gateway on a computer, such a laptop, that may be turned off, asleep, or not connected to the Internet because the gateway can't run under any of those circumstances.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.