Forum Discussion

roxane_cz's avatar
roxane_cz
Frequent Visitor
5 years ago
Solved

Power BI REST API Authentication with Postman

Hello, 

 

CONTEXT

I am trying to get the lineage data, user data through PowerBI REST API, to be able to manage the usage of the tool and of the objects (reports, datasets, dataflows, ...) basically doing the admin. 

I have tried to configure some simple calls to the API with Postman with the help of this tutorial (How to Call the Power BI REST API from Postman - Carl de Souza). I have set up the App in Azure and I am the owner of the app. The client ID is the tenantID and the secret has been set up

 

ISSUE 

When I try this POST: https://login.microsoftonline.com/common/oauth2/token

I get this error message 

AADSTS65001: The user or administrator has not consented to use the application with ID 'xxxxxxxxxxx' named 'xxxxxxxx'

 

Have anyone encountered this before? I have tried looking as some AAD forum threads but nothing that could help me... 

Thanks in advance!

6 Replies