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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Tuney8
New Member

Custom Connector - protect source code

Hi 

 

I've written a custom connector and I want to send this out to some users to test. 

Is there a way I can protect the source code for this?

 

Cheers

Chris

3 REPLIES 3
Anonymous
Not applicable

@Tuney8 Any solution? What u did? Thanks

Greg_Deckler
Community Champion
Community Champion

@Tuney8 I believe you need to compile this into a .mez file: Custom Data Connector: How to Deploy and Test - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler 

 

Thanks for the suggestion. 

 

When you build the mez, all it's doing is packaging the files up. 

If you change the .mez extension to a .zip you can open it up and see the source. 

 

I'm guessing even if I sign the file it will just be signed with a hash of the contents. 

I don't even think there is a way to obfuscate the code with M either. 

 

I'm wondering if my option is to get it certified by Microsoft and get put into Power BI by default. 

 

Chris

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.