Forum Discussion
Power BI Service Refresh Fails Unknown Function AutodeskDataExchange Contents
- 10 months ago
Hi Om_Bhartiya ,
Unfortunately, there is no possibility that one can legally share a .mez connector file unless it’s an officially released or open-source connector.
The supported way is to install the official Autodesk connector locally, set up an On-premises Data Gateway (Standard mode) with the .mez in the Custom Connectors folder, enable custom connectors, and map your dataset to the gateway.
Please go through the below documentation for your reference:
Use custom data connectors with the on-premises data gateway - Power BI | Microsoft Learn
Thank you.
Hi Om_Bhartiya,
That error means the Service can’t “see” your custom connector. In Desktop, the AutodeskDataExchange.Contents function is available because the connector is installed locally. In the Service, refresh runs through a gateway, and if that gateway doesn’t have the Autodesk connector enabled and loaded, static analysis fails and you get “unknown function name.”
Quick solution
- Install/configure an On-premises data gateway on a machine that’s always on (Standard or Personal mode can work; I recommend Standard).
- Enable custom connectors in the gateway app and point it to the folder containing the Autodesk .mez file, then restart the gateway service.
- In the Power BI Service, go to Manage gateways > your gateway cluster > Allow user's custom data connectors to refresh through this gateway cluster and Add data source that matches the Autodesk connector. Enter credentials there.
- Open your dataset settings > Gateway and cloud connections > map it to that gateway/data source.
- Refresh.
Docs:
• Power BI – enable and use custom connectors with a gateway: https://learn.microsoft.com/power-bi/connect-data/service-gateway-custom-connectors
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.