Forum Discussion
PBI Service: AS400 Server with folder connector doesn't work with SMB
- 1 year ago
Hi mpros ,
Even though credentials work in Power BI Desktop,Power BI Service fails because it runs in the cloud and relies on the On-Premises Data Gateway to access SMB shares.
To fix this:
As you already Installed the Gateway on a machine that can access the AS400 shared folder.Run the Gateway Service under a Windows account that has access to the SMB share (not the default system account).Configure the data source in Power BI Service using the UNC path (\\AS400Server\SharedFolder) and matching credentials.Test access from the gateway machine using net use to confirm connectivity.
This ensures Power BI Service can authenticate and access the AS400 folder via the gateway.Thank you.
Hi mpros
The recommended approach would be to install a Power BI Gateway server, configure your ODBC driver on the Power BI Gateway server, and then connect to the gateway server via the Power BI service to refresh your data successfully. Power BI gateway and Report Builder support for ODBC data sources - Power BI | Microsoft Learn
- mpros1 year ago
Helper I
Dear GilbertQ
as mentioned in the message, I was able to connect through ODBC, but I need SMB as the data I need to work on is there:- ODBC (Open Database Connectivity): This is an interface for accessing structured data (e.g., DB2 tables on AS/400), not system files. It's used for SQL queries, not for browsing folders or files.
- SMB (Server Message Block): This is a file-sharing protocol used by Windows to access shared folders on other systems.
Regards,
M