DauleDK
DauleDK

Reputation: 3433

Where do I save token in Power BI web connection?

I am new to Power BI, and starting to use the "From Web" data source. It works great.

But where do I save tokens, so I don't have to provide them as plain-text in every web connection?

enter image description here

I don't seem to find any documentation on variables to do this.

Upvotes: 0

Views: 1188

Answers (1)

DauleDK
DauleDK

Reputation: 3433

First step is to create a token parameter: enter image description here

Now open the Advanced Editor, and refrence the token param from above:

enter image description here

In my case, the headers section uses the bearer token pattern:

[Headers=[Authorization="Bearer " & token]]

And ready to roll :)

Upvotes: 2

Related Questions