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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
seraphlich
Regular Visitor

Custom Connector not showing custom icon

Hello everyone,

   

I hope you all are doing well!

 

I am working on a custom connector for power bi.

 

But I can't get my icons to display in PowerBI Get Data List, it is still showing the default icon. I tried to follow this thread (https://community.powerbi.com/t5/Developer/Custom-Data-Connector-Icons/m-p/829327#M21204) and make sure that the properties of each icon was set to a 'build action' of 'compile' instead of 'content' in the Solution Explorer but it does not work in my case.

 

Even more strange, sometimes the icons of all database kind connector with default icons (the small cube icon) change to my custom connector: it seems that my connector always shows the default icons but the default icons change as I update the icon files in my connector.
2021629-172319.png
 
The code snippet is like:
PowerConnector.Publish = [
    ...
    SourceImage = PowerConnector.Icons,
    SourceTypeImage = PowerConnector.Icons,
    ...
];
 
PowerConnector.Icons = [
     Icon16 = {
              Extension.Contents("PowerConnector16.png"),
              Extension.Contents("PowerConnector20.png")
              Extension.Contents("PowerConnector24.png")
              Extension.Contents("PowerConnector32.png")
     },
     
     Icon32 = {
              Extension.Contents("PowerConnector32.png"),
              Extension.Contents("PowerConnector40.png")
              Extension.Contents("PowerConnector48.png")
              Extension.Contents("PowerConnector64.png")
     }
];
 
Am I missing any thing? Please help..
 
I hope i was able to clearly explain my questions. If not , please feel free to message me . I am looking forward to your reply.
2 REPLIES 2
Anonymous
Not applicable

Hi @seraphlich,

What version of power bi desktop are you test? Did this issue appear when you work on old versions?

How to Get Your Question Answered Quickly  

In addition, if you already refer to the official document and steps to custom but the issue still appears, you can try to contact to power bi dev team with your custom connector codes for further test.

Start developing custom connectors for Power Query | Microsoft Docs
Regards,
Xiaoxin Sheng

Thank you for your reply!

 

I tried 2.87.1061.0 (November 2020) in my dev environment and lastest version in my personal test environment. In both environments, this problem occured. So is it the only option that I contact to PowerBI dev team?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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