Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ciampa
New Member

Having PowerBI reading a token from text file to be used in a web source

Hi all,
I need to connect to a REST web source that supports only Anonymous connection and needs the token to be inserted as "Authorization" HTTP Header. I'd like though to make this token external to the Power BI desktop file, so that it'd be shared to other colleagues or clients in a safer way.
I've seen how to find the token within the power query  > Advanced editor but even looking in this forum i'd not find a detailed  example script on how to read that info from an external file.

any help is greatly appreciated.

many thanks in advance

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @ciampa 

 

If you just need to read a value from an external file you can do this using any of the relevant connectors e.g.

 

Get Data -> Excel Workbook

Get Data -> Text/CSV

 

regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.