Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3630

REST API in Azure Data Factory to get access token for Power BI

$
0
0

I need to extract/export a excel file from a visual (table) in a Power BI report. I have found an option of export but if it is from a visual in a report just in PDF and ppx, not excel or csv. I found the only option is through an Rest API activity, but still can not even generate a valid access token with scope (can generate a token without scope, but does not work).

Now I am trying to access to the dataset and so on using Rest API in Azure Data Factory, but I can not generate a correct access token for a Bearer authentication.

The steps I have followed are:

  1. Register an App in Azure Entra ID.

enter image description here

  1. Give permissions

enter image description here

  1. Then I have created a ADF activity to get the token

enter image description here

  1. It is giving me a Token, but is it not creating a Scope, so this token is not working to get into de Power BI data.

So I have some suspicious why it is not working, that I have to create an authorization code before, however, I think the configuration is wrong, or maybe the permissions, I am not sure. Below is the confg, where I have tried to generate an authorization code, but still asking me for Application ID URI and Redirect URIs and a Code, that I dont know hot to create.

enter image description here

Does anybody know what is happening here?


Viewing all articles
Browse latest Browse all 3630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>