Forum Discussion
M function to read from api.powerbi.com
I'd like to create a M function which reads from api.powerbi.com. Any idea how to authenticate with this data source? I had no luck with basic (didn't work) and Organizational (not supported).
4 Replies
- AnonymousNot applicable
Hi TePe ,
Which information you need to read from api.powerbi.com? Could you please provide more detail? Thank you.
Best Regards
Rena
- TePeHelper IV
Hi,
I need the list of workspaces with their users... So I wanted to use this API:
https://api.powerbi.com/v1.0/myorg/admin/groups?$expand=users&$top=100
I tried it via M code and the Web data source, but how to authenticate?
Thanks,
Thomas
- AnonymousNot applicable
Hi TePe ,
How did you connect to that API? And whether you get any error when connected? If yes, could you please provide the related screen shot?
In addition, please check if the following blogs can help you.
how to connect my web api wtih Power BI Reports?
Why is it so complex to connect to an API with Power BI or Power Query? The OAuth explained
ACCESS TO THE RESOURCE IS FORBIDDEN ON POWER BI DESKTOP
Best Regards
Rena