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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
decarsul
Helper V
Helper V

Dataset scheduled refresh fails with odata azure devops source

Hi there!

 

I have a report that i made, using an odata query to the azure devops environment. This was done because i wanted board columns and other items that are not available by creating an analytics view.

Now the issue is, that it will not refresh unless i am actually logged into my workspace.

 

I cannot find a workaround to this. Any suggestions?

1 ACCEPTED SOLUTION

Well, its an answer, but if acceptable... i don't think so, hence i won't mark any as such.

View solution in original post

10 REPLIES 10
V-yubandi-msft
Community Support
Community Support

Hi @decarsul ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

V-yubandi-msft
Community Support
Community Support

Hi @decarsul ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

Well, its an answer, but if acceptable... i don't think so, hence i won't mark any as such.

Hi @decarsul ,

Thanks for the update.  You're absolutely right to expect a workaround, and while Power BI doesn’t currently support scheduled refresh for Azure DevOps OData with a service principal. If there’s a specific workaround or approach you’re looking for ? Let us know .

 

Regards,

Yugandhar.

 

 

BhavinVyas3003
Super User
Super User

Use a Power BI Dataflow instead of connecting directly in the report.

In Power BI Service, go to your workspace.

Click “New” → “Dataflow”.

Choose “Add new tables”, then select OData feed as the source.

Enter your Azure DevOps OData URL (e.g., https://analytics.dev.azure.com/{org}/_odata/v3.0-preview/).

Sign in using OAuth2 (Organizational account).

Select the tables and save the dataflow.

In Power BI Desktop, use “Power BI dataflows” as your source and connect to this data.

Publish the report. Scheduled refresh will now work from the dataflow.

 


Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!

I'll try create a dataflow, but honestly i do not see how authentication for a dataflow would be different from a dataset. Both are tied to my personal credentials, which seem to require an active AD user.

You're right, both use your Azure AD credentials but dataflows handle authentication more reliably in the cloud. Once set up, the dataflow refreshes data independently, and your dataset connects to that refreshed data, avoiding direct login issues with Azure DevOps OData.


Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!

Does not work. 

Fail message is the same as with a dataset: The credentials provided for the OData source are invalid.
Works just fine when i have an active AD session.

Hi @decarsul ,

I understand how frustrating it is to encounter the  credentials are invalid error when you're not logged in. Power BI connects to Azure DevOps using your Azure login through an OData feed. The problem arises because your login session automatically expires after a few hours, causing Power BI to lose access and resulting in scheduled refresh failures.

 

Unfortunately, Power BI doesn't support using a system account (like a Service Principal) for Azure DevOps OData feeds, so it depends on an active user session. Consequently, the refresh will fail unless you're logged in.

If my response solved your query, please mark it as the Accepted solution to help others find it easily. And if my answer was helpful, I'd really appreciate a 'Kudos'.

 

 

Dataflow created and auto refresh set for tonight 5am. Because i don't intend to work for atleast 8 hours prior to that, this should give AD enough time to remove my active session.

Will come back tommorow with the result.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors