Power BI Embed Token
Prerequisites
-
a Power BI Embedded capacity
-
...that is running
Flows
This is a special feature implemented by the Power BI API.
It is used when following the "App Owns Data" paradigm.
It works like this:
-
authenticate with the API using OAuth
-
get a specific dataset, e.g. by calling
https://api.powerbi.com/v1.0/myorg/groups/81b01d0d-2322-4307-9aa1-a629f14e4beb/reports/da0c49ed-c98c-4c89-991c-1fef6805609f -
in the reply, parse the
embedURL -
generate an embed Token, e.g. by calling
https://api.powerbi.com/v1.0/myorg/groups/81b01d0d-2322-4307-9aa1-a629f14e4beb/reports/da0c49ed-c98c-4c89-991c-1fef6805609f/GenerateToken -
get the dataset data by using the embedURL and the embed token
