Reply
Frequent Visitor
Posts: 11
Registered: ‎08-09-2016

Re: How to refresh using REST API with OAuth2

Hi Youseff,

 

Do we have any news about the ouath2 support?

In case not, do we have any workaround at the moment? Could we update via Gateway or something?

 

Many thanks

Regards

 

Frequent Visitor
Posts: 2
Registered: ‎04-12-2017

Re: How to refresh using REST API with OAuth2

I'm hoping this may be of use - I had ocassion to get data for a customer from the graph API on the Azure B2C service and I needed to use Oauth 2.0 to authenticate to get this data.

I achieved this by using a simple azure function the take a clientID and secret and perform the OAuth get token and submit token in the azure function - so a single http call to the function gets the graph api data protected by Oauth 2.0.

 

The code is in Node.js which is natively supported in azure functions and I guess you could host it elsewhere if you required.

See https://github.com/djburnham/graph-api-azure-fn-proxy for the code.

 

I hope this helps.

 

Kind regards,

                          David.

 

BTW I included my voice in the requests to the dev team to include this functionality in the PowerBi product.

Member
Posts: 89
Registered: ‎02-12-2017

Re: How to refresh using REST API with OAuth2

Any news to make it easier to work with a broader variety of REST APIs? Everyone seems to be deprecating simple API key authentication and moving to more complicated Oauth schemes. We need something that works out of the box in PBI.

Occasional Visitor
Posts: 1
Registered: ‎09-12-2018

Re: How to refresh using REST API with OAuth2

Hello,

 

It is now 8th of January 2019. The last post was 12-11-2017.

iIs it already possible to do this?

Can you refresh using a REST API with OAuth2 in Power BI?