Forum Discussion
Accessing push data set api with azure function app - power bi service
- 2 years ago
The App Registration is an application with app ID, therefore you can add it to the workspace with a role just like you add your user principal id
The App Registration is an application with app ID, therefore you can add it to the workspace with a role just like you add your user principal id
Yes this would indeed grant access to the API, now there is another question.
The permission that you can grant an application is very broad, so i would like to know the alternatives.
There is a key that is generated which can be used for a push dataset when viewing API info:
This is generated along with an example script that shows how to access the dataset through the api.
Is there documentation on this key? Is it permanent or does it expire? how long does it last if it does expire?
Or is this key solely for ilustration and is not intended for use in an application?
Here is an example of what the url looks like:
- aj19732 years agoCommunity Champion
Not sure what do you want to say by Key !? Dou you mean the Access Token? If so then Yes the Access Token normally lasts no more than 1 hour but because you are using the App Regsitration then it will be generated automatically by the App and there is no expiration time.
- Anonymous2 years agoNot applicable
I mean the query parameter that is named "key" in the url presented above that is presumedly used to grant access to the api of the dataset.
As can be seen here, bu redacted out:- aj19732 years agoCommunity Champion
Honestly I am not familiar with cURL as I use Powershell mainly.
Check these out it might help you :
https://community.fabric.microsoft.com/t5/Power-Query/Use-cURL-in-PowerBi/td-p/692055
But I think the Key is also the Token because Power bi uses the Access Token to use REST APIs