Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
I was using the rest api https://api.powerbi.com/v1.0/myorg/gateways/{gatewayId}/datasources to add an Azure Analysis Service to my PowerBI gateway. I got an error
@lelouchcccccc -- Hi... Did you manage to fix this error? I have the same error for Updating datasource and would like to know the fix you applied for this. Thank you!
Hi, did you find an answer to this at all? Thanks
Look at the format of the bearer token here (click the "Try it" button and log in). This is how yours should be formatted too.
https://docs.microsoft.com/en-us/rest/api/power-bi/gateways/getdatasource
Hi @lbendlin . This is the Authorization token for logging in, which I already used in the request header. The token failed is the one in the request body (credentials)
https://docs.microsoft.com/en-us/rest/api/power-bi/gateways/createdatasource
This is the referenced API
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 15 | |
| 14 | |
| 11 | |
| 9 | |
| 8 |
| User | Count |
|---|---|
| 44 | |
| 35 | |
| 29 | |
| 28 | |
| 27 |