Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

How Power BI Using Access Token & Secret to my Platform API

Hi all Power BIers,

 

I want to access platform data using platform API provided by developer. It has API endpoint, access token ID, and token secret. How do I use Power BI to access the dataset? I tried Get Data -> Web -> Basic -> entering access token as username & secret as password. Error is Details: "Web.Contents failed to get contents from 'https://xxx (404): Not Found". Is this the right way to do this?

 

Also, another way to access the platform data is Authentication using basic auth

 

GET /query/results/019dfda3-3338-4110-3cf5-31433d75e6da HTTP/1.1
Authorization: Basic base64(ACCESS_TOKEN_ID:ACCESS_TOKEN_SECRET)

 

Does Power BI support this? If so, how do I achieve it?

 

Thanks in advance.

3 Replies