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

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

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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors