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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ciclope
New Member

Reading local files in custom connector development in VS Code.

Hey guys,

I
'm starting to develop a custom connector for PowerBI using the Powerquery SDK in VS Code, and I'm having difficulty configuring authentication that allows me to read local files (on my "C:\example.xxx" for example)

Authentication using the method indicated in the documentation (Anonymous) does not work. I need to change the specification in the section below, right?


MyConnector = [
Authentication = [
// Key = [],
// UsernamePassword = [],
// Windows = [],
Anonymous = []
]
];

Thanks!!

1 REPLY 1
lbendlin
Super User
Super User

Think ahead to when you deploy the custom connector to your gateways. These gateways will have no idea how to connect to your C:  drive (nor do they have any business doing so).

 

Place your files on a OneDrive or other cloud file share.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.