Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
i have a dataflow gen1 connecting to an api. The Flow run succesfull for some time.
I used a web connection with OAuth 2.0 Authentification.
URL: https://go-api.avepointonlineservices.com/admin/report
Now the Flow fails due connection errors. But when i try to edit the connection in the flow, it wont let me switch the used account.
I get error "Failed to login with OAuth token. Please try logging in again."
And when i try to use the account i am signed in witch i get error "Unable to create connection using an organizational account, please check to see if the data source path is correct and that the data source supports using an organizational account."
When trying to change the connection ouside of the flow under "manage connections and gateways" i get error
"Unable to start OAuth login for this data source. Failed to login with OAuth token, please update the credential manually and retry.Details: The WWW-Authenticate header doesn't contain a valid authorization URI. Header value: 'Bearer'. Please have this information handy if you choose to create a support ticket."
-Why did the flow stop running in first place with the given credentials?
-Why can't i edit the connection in the dataflow editor?
Thank you
Solved! Go to Solution.
The problem was caused by an expired client secret on the API side.
Renewing the secret and using basic authentication with the secret works.
The problem was caused by an expired client secret on the API side.
Renewing the secret and using basic authentication with the secret works.
Hi @LuITS,
This issue is relatively common in Dataflows Gen1 when OAuth authentication expires or when there are changes to the API endpoint.
Possible Solutions
Option A: Update credentials manually
Option B: Migrate to Dataflows Gen2
Introduction to Dataflows and Self-service Data Prep - Power BI | Microsoft Learn
If this response was helpful in any way, I’d gladly accept a 👍much like the joy of seeing a DAX measure work first time without needing another FILTER.
Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop 🌀.
If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster.
Connect with me on LinkedIn
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 9 | |
| 8 | |
| 8 |