Forum Discussion
Dataset scheduled refresh fails with odata azure devops source
- 1 year ago
Well, its an answer, but if acceptable... i don't think so, hence i won't mark any as such.
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.
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.
- V-yubandi-msft1 year ago
Community Support
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'.