Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 39 | |
| 37 | |
| 25 | |
| 24 |