Hi,
Am newbie to Power BI.
We have an OData feed that supports token authentication.
i.e. requests contain a header with "Authorization Token [guid]"
How can I configure Power BI to be able to call ourOData feed?
Is this possible?
Kind Regards,
Rik
Solved! Go to Solution.
Hi @r_beacroft,
If you connect to OData feed using the following entry, and then enter your password, are you able to get desired result?
If not, add a new blank query in Power BI Desktop, then paste one of the following codes in Advanced Editor and check if you get expected result.
let Source = OData.Feed("URL", null, [Headers = [Authorization = "Bearer Your token" ] ]) in Source
let Source = Web.Contents("URL", [Headers=[#" Authorization " = "Bearer Your token"]]) in Source
There are a similar thread and blog for your reference.
http://stackoverflow.com/questions/33225590/authenticating-with-excel-power-query-against-net-odata-...
http://angryanalyticsblog.azurewebsites.net/index.php/2016/05/16/api-strategies-with-power-bi/
Thanks,
Lydia Zhang
Hi,
Am newbie to Power BI.
We have an OData feed that supports token authentication.
i.e. requests contain a header with "Authorization Token [guid]"
How can I configure Power BI to be able to call ourOData feed?
Is this possible?
Kind Regards,
Rik
Hi @r_beacroft,
If you connect to OData feed using the following entry, and then enter your password, are you able to get desired result?
If not, add a new blank query in Power BI Desktop, then paste one of the following codes in Advanced Editor and check if you get expected result.
let Source = OData.Feed("URL", null, [Headers = [Authorization = "Bearer Your token" ] ]) in Source
let Source = Web.Contents("URL", [Headers=[#" Authorization " = "Bearer Your token"]]) in Source
There are a similar thread and blog for your reference.
http://stackoverflow.com/questions/33225590/authenticating-with-excel-power-query-against-net-odata-...
http://angryanalyticsblog.azurewebsites.net/index.php/2016/05/16/api-strategies-with-power-bi/
Thanks,
Lydia Zhang
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
User | Count |
---|---|
220 | |
54 | |
44 | |
43 | |
42 |
User | Count |
---|---|
271 | |
210 | |
75 | |
71 | |
64 |