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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
ScrapwareSuppor
New Member

Automated refreshes

Hello,

 

I am currently working on setting on reporting metrics for our company using powerBI pro. Currently how I have everything set up is our raw data is automatically saved to OneDrive every morning. currently the automated is not functioning and in the service I get the below error 

"

Scheduled refresh is disabled because at least one data source is missing credentials. To start the refresh again, go to this dataset's settings page and enter credentials for all data sources. Then reactivate scheduled refresh."

 

I have already went to Desktop and when to data source settings, edit creds and set to use as current cred and manually entered cred both do not work 

 

 

1 ACCEPTED SOLUTION

Grayed out usually means one of these:
1. You're not the model owner. Only the owner can edit Service credentials. On the model's Settings page, click Take over, refresh, then try again.

2. Dynamic data source in your M code. If the file path is built with variables or concatenation (e.g. Web.Contents(baseUrl & "/" & date)), the Service can't pin down the source and grays this out. Fix: hard-code the base URL as a string literal and move variable parts into the RelativePath / Query options of Web.Contents.

3. Stuck refresh. Wait 10 min, hard refresh (Ctrl+F5), or try incognito. (I don't think it's likely it)

Most likely #1 if someone else published, #2 if the path has today's date in it

If this helped, a thumbs up and accepting the solution would be appreciated.

Thanks,
Shai Karmani

View solution in original post

6 REPLIES 6
cengizhanarslan
Super User
Super User

 

1) Go to the Power BI Service → find your workspace → click the three dots next to the semantic model → Settings.

2) Under Data source credentials, expand each data source listed. You will see a prompt to edit credentials for each one.

3) For the OneDrive source, select OAuth2 as the authentication method and sign in with the account that has access to the OneDrive files.

4) If you have any other data sources (database, web, etc.), configure those credentials as well. Every data source must have valid credentials in the Service before scheduled refresh will work.

5) After all credentials are set, go back to the Scheduled refresh section in Settings and toggle it back on.

 

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn | Follow on Medium
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.

Data source credentials is greyed out and not able to be selected per my previous reply

 

are you the model owner? You need to be to make that change.

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn | Follow on Medium
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.
Shai_Karmani
Solution Specialist
Solution Specialist

Credentials configured in Power BI Desktop don't sync to the published dataset in the Service. The Service keeps its own data source credentials, so editing them in Desktop won't clear that error.

In the Service, open your workspace, find the semantic model (formerly dataset) behind the report, click the three dots and choose Settings. Expand Data source credentials and click Edit credentials for each source listed. Sign in (OAuth2 for OneDrive or SharePoint), save, and once all sources show green the scheduled refresh will re-enable.

One thing worth checking: if the report was built against a local OneDrive sync folder like C:\Users\... that path doesn't exist in the cloud and you'll keep hitting auth issues. In that case re-point the query to the OneDrive or SharePoint URL using the Web or SharePoint Folder connector, then republish.

 

If this helped, a thumbs up and accepting the solution would be appreciated.

 

Thanks,
Shai Karmani

Unfortuantely Data source credentials is completely grayed out 

Grayed out usually means one of these:
1. You're not the model owner. Only the owner can edit Service credentials. On the model's Settings page, click Take over, refresh, then try again.

2. Dynamic data source in your M code. If the file path is built with variables or concatenation (e.g. Web.Contents(baseUrl & "/" & date)), the Service can't pin down the source and grays this out. Fix: hard-code the base URL as a string literal and move variable parts into the RelativePath / Query options of Web.Contents.

3. Stuck refresh. Wait 10 min, hard refresh (Ctrl+F5), or try incognito. (I don't think it's likely it)

Most likely #1 if someone else published, #2 if the path has today's date in it

If this helped, a thumbs up and accepting the solution would be appreciated.

Thanks,
Shai Karmani

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.