Troubleshooting
This guide covers common issues and solutions for the OctoMesh Power BI Connector.
Connector Not Visible in Power BI Desktop
- Verify the
.pqxfile is in the correct Custom Connectors folder:C:\Users\<YourUsername>\Documents\Power BI Desktop\Custom Connectors - Check that Allow any extension to load is enabled:
- Go to File > Options and settings > Options
- Under Security > Data Extensions, select Allow any extension to load without validation or warning
- Restart Power BI Desktop completely.
Connector Not Visible in Gateway
- Verify the connector is installed in the Gateway's Custom Connectors folder:
C:\Windows\ServiceProfiles\PBIEgwService\Documents\Power BI Desktop\Custom Connectors - Check that the Gateway service has been restarted after copying the connector.
- Ensure Allow user's custom data connectors is enabled in Gateway settings in Power BI Service.
- Open the Gateway application and check the Connectors tab.
Connector Not Visible in Power BI Service
- Verify the connector appears in the Gateway application's Connectors tab.
- Check Gateway settings in Power BI Service:
- Settings > Manage connections and gateways
- Select Gateway > Settings
- Enable Allow user's custom data connectors to refresh through this gateway cluster
- Restart the Gateway service and refresh the page.
Authentication Errors
OAuth (Desktop)
- Clear existing credentials:
- File > Options and settings > Data source settings
- Find the OctoMesh connection and click Clear Permissions
- Re-authenticate by connecting again.
Client Credentials (Service)
- Verify the Client ID and Client Secret are correct.
- Ensure the service account has the required scopes:
assetTenantAPI.full_access
- Verify the service account has access permissions for the tenant.
- Check if the client secret has expired.
Connection Test Fails
- Verify the Asset Repository URL is correct and accessible:
- Try opening the URL in a browser
- Check for typos (e.g.,
https://nothttp://)
- Check that the Tenant ID exists and you have access.
- Verify the Runtime Query ID is valid:
- Open OctoMesh and check the Runtime Query exists
- Ensure your credentials have access to the query
Gateway Shows "Local Network Problems" or "Not Reachable"
If the Gateway application shows the connector is correctly configured but reports network problems:
1. Check Gateway Status
Open the Gateway application - it should show "Ready" status. If not, the Gateway has connectivity issues to Power BI Service.
2. Verify Firewall Settings
The Gateway requires outbound connections to:
| Domain | Ports |
|---|---|
*.servicebus.windows.net | 443, 5671, 5672 |
*.frontend.clouddatahub.net | 443 |
login.microsoftonline.com | 443 |
*.analysis.windows.net | 443 |
*.pbidedicated.windows.net | 443 |
3. Check Gateway Logs
Look for errors like Invalid relays parameter in the Gateway logs:
C:\Windows\ServiceProfiles\PBIEgwService\AppData\Local\Microsoft\On-premises data gateway\Report
4. Reset the Gateway
If the problem persists, a complete reset may be necessary (see below).
Resetting the Gateway
If the Gateway has persistent configuration issues:
Step 1: Stop the Gateway Service
- Open
services.msc - Find "On-premises data gateway service"
- Click Stop
Step 2: Remove Gateway from Power BI Service
- Go to Power BI Service
- Navigate to Settings > Manage connections and gateways
- Select your Gateway cluster
- Click Remove or Delete
Step 3: Delete Local Gateway Configuration
Delete or rename this folder:
C:\Windows\ServiceProfiles\PBIEgwService\AppData\Local\Microsoft\On-premises data gateway
Step 4: Re-register the Gateway
- Open the Gateway application (as Administrator)
- Sign in with your Power BI account
- Select Register a new gateway on this computer
- Provide a name and save the Recovery Key securely
Step 5: Re-install the OctoMesh Connector
- Copy
OctoMeshConnector.mezor.pqxto:C:\Windows\ServiceProfiles\PBIEgwService\Documents\Power BI Desktop\Custom Connectors - Restart the Gateway service
Step 6: Re-configure Gateway Settings
- Open Power BI Service
- Go to Settings > Manage connections and gateways
- Select your new Gateway > Settings
- Enable custom connectors (see Gateway Setup)
Refresh Fails in Power BI Service
-
Check the refresh history for error details:
- Semantic Model settings > Refresh > Refresh history
-
Verify the Gateway connection:
- Semantic Model settings > Gateway and cloud connections
- Ensure the data source is mapped to a connection
-
Test the connection in Power BI Service:
- Settings > Manage connections and gateways
- Select the connection > Test connection
-
Check Gateway status:
- Open the Gateway application on the server
- Verify it shows "Ready"
Data Not Updating
-
Check if refresh is scheduled:
- Semantic Model settings > Refresh > Scheduled refresh
-
Verify the Runtime Query returns current data:
- Test the query in OctoMesh directly
-
Check refresh history for any failures.
-
Manually refresh to test:
- Workspace > Semantic Model > Refresh now