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,
Anyone knows how to perform the OAuth2.0 Authentication using the Power Query for TD Ameritrade.
I am able to make API call using the Power Query, but i need to manually enter the 30min access token.
Trrying to creat a power Query request to perfom the OAuth2.0. Once received the 30min Access token, use it as a function to perfom API requestes.
Solved! Go to Solution.
Got the solution from this video:
https://www.youtube.com/watch?v=2RZkc_qrV1g&t=6s&ab_channel=BIElite
Got the solution from this video:
https://www.youtube.com/watch?v=2RZkc_qrV1g&t=6s&ab_channel=BIElite
Hi @victorF ,
If want to connect from Power BI to a REST API that uses OAuth2 authentication then you need to build a custom connector. You can find documentation on how to implement an OAuth2 flow in a custom connector here.
Refer this blog: Connecting To REST APIs With OAuth2 Authentication In Power Query/Power BI
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @v-yingjl
I have been trying to build the custom connector, its quite compluicated as i am not so familar with M code.
I have the cURL for the POST request. Sucessfully tested in Postman.
Postman alows to convert the cURL in many languages but not in to M code.
Are you aware of any tool to convert any code language in to M code?
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.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |