Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
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
@Tuney8 I believe you need to compile this into a .mez file: Custom Data Connector: How to Deploy and Test - Microsoft Power BI Community
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
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |