Forum Discussion
Power BI API: How to obtain token for https://wabi-west-us-redirect.analysis.windows.net/metadata/ga
Im trying to obtain token "https://wabi-west-us-redirect.analysis.windows.net/metadata/gallery/SharedDatasets" which I got from
Inspect through APIs. I tried getting token from "https://login.microsoftonline.com/<tenant_id>/oauth2/v2.0/token" having permissions for Tenant.Read.All. Could anyone help me in the part which I am missing?
Thanks!
3 Replies
- AnonymousNot applicable
HI Anonymous,
Perhaps you can take a look at the following link to know how to get the access tokens from the rest API:
Solved: REST API Get Access Token - Microsoft Power BI Community
Regards,
Xiaoxin Sheng
- AnonymousNot applicable
I am able to obtain token for other APIs. But for "https://wabi-west-us-redirect.analysis.windows.net/metadata/gallery/SharedDatasets", it throws a 401 Unauthorised error.
- AnonymousNot applicable
Hi,
Have you found the solution how to get token for
metadata/gallery/SharedDatasets endpoints?Thanks