This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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.
| User | Count |
|---|---|
| 13 | |
| 11 | |
| 9 | |
| 6 | |
| 5 |