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 nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi All,
SAP BW (SNC) SSO has been configurated and works fine with Power BI destkop . I am trying to setup SSO between PowerBI gateway and SAP BW system . Getting the below error during refresh
Data source error: {"error":{"code":"DM_GWPipeline_Gateway_InvalidConnectionCredentials","pbi.error":{"code":"DM_GWPipeline_Gateway_InvalidConnectionCredentials","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"The credentials provided for the SapBusinessWarehouse source are invalid. (Source at hostname/SID/200/AAA-SID.)"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourceKind","detail":{"type":1,"value":"SapBusinessWarehouse"}},{"code":"Microsoft.Data.Mashup.CredentialError.DataSourcePath","detail":{"type":1,"value":" hostname/SID/200/AAA-SID"}},{"code":"Microsoft.Data.Mashup.CredentialError.Reason","detail":{"type":1,"value":"AccessUnauthorized"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.DataSources","detail":{"type":1,"value":"[{\"kind\":\"SapBusinessWarehouse\",\"path\":\" hostname/SID/200/AAA-SID\"}]"}},{"code":"Microsoft.Data.Mashup.MashupSecurityException.Reason","detail":{"type":1,"value":"AccessUnauthorized"}}],"exceptionCulprit":1}}} Table: WAA-BW-042 Interaction Records for Webi.
Cluster URI: AAAA-NORTH-EUROPE-G-PRIMARY-redirect.analysis.windows.net
Activity ID: 3f38f04c-f145-469e-a84e-86bc901f433d
Request ID: 411fda71-ff39-a04a-414c-2ac9e10303c3
Time: 2023-11-27 14:07:24Z
in gateway logs , i can see the message - could not find a suitable sap user for the snc name of the caller .
Please advice
We were able to sort out the issue by adding below two parameter values in gateway config file Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config under C:\Program Files\On-premises data gateway
<setting name="ADUserNameReplacementProperty" serializeAs="String">
<value>SamAccountName</value>
</setting>
<setting name="ADUserNameLookupProperty" serializeAs="String">
<value>UserPrincipalname</value>
</setting>
Hi Gilbert, SAP BW SSO has been configured and it works fine with powerBI desktop. Document followed https://learn.microsoft.com/en-gb/power-bi/connect-data/service-gateway-sso-kerberos-sap-bw-commoncr...
https://blogs.sap.com/2017/07/27/sap-single-sign-on-authenticate-with-kerberosspnego/
Hi @joeljey
Would it not be that you first need a SAP user with the high enough access to access the SAP BW, after which it would then work with SSO.
DirectQuery and SAP Business Warehouse (BW) in Power BI - Power BI | Microsoft Learn
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 9 | |
| 8 | |
| 5 |