Troubleshooting SharePoint authentication errors for N4V FOR WEBI exports
Anonymised summary of support ticket #251405 (2024-01-10)
Symptom
Authentication errors occur when exporting N4V FOR WEBI components to an on-premise SharePoint server, despite using a service account with correct permissions (read/write/modify/design) and Kerberos authentication being enabled. The issue persists even after verifying the encrypted service account credentials and ensuring the account has the required rights on the SharePoint library.
Environment
N4V FOR WEBI extensions for SAP BusinessObjects Web Intelligence (Webi), SAP BusinessObjects platform, SharePoint on-premise (2013/2016/2019), Kerberos authentication, Tomcat server, Windows Server environment with Active Directory (AD). The SharePoint server and SAP BusinessObjects/N4V servers are in the same AD domain. The SharePoint URL is accessed via a VIP (Virtual IP) with load balancing (e.g., NetScaler).
Resolution
Ensure the service account used for authentication is specified in lowercase without the domain (e.g., 'svcbopp' instead of 'W2K\svcbopp' or 'svcBOPP').
Verify that the service account has 'Design' and 'Modify' permissions on the SharePoint library, not just 'Read/Write'.
Check if the SharePoint server and SAP BusinessObjects/N4V servers are in the same AD domain. If not, a different version of the SharePoint export module may be required.
If the SharePoint
URL is accessed via a VIP or load balancer (e.g., NetScaler), test direct access to one of the SharePoint frontend servers (using its IP or hostname) to bypass the VIP and verify if the issue is related to load balancing or certificate handling.
Generate or update the 'jssecacerts' keystore with the SSL certificate of the SharePoint server (or VIP URL if applicable). Place the keystore in the SAPJVM JRE security directory (e.g., [SAPBI_Installation]\[SAP_BusinessObjects_Enterprise_XI_4.0]\win64_x64\sapjvm\jre\lib\security). If the SharePoint frontend is accessible via HTTP (not HTTPS), modify the 'UploadToSharepoint.properties' file accordingly.
Ensure the SharePoint server is configured for Kerberos authentication (not NTLM) if Kerberos is explicitly required. Verify this in the SharePoint Central Administration or IIS settings.
Avoid using special characters in the encrypted password of the service account. Use only alphanumeric characters for the password when encrypting it for the 'UploadToSharepoint.param' file.
Test manual file upload to the SharePoint library using the service account credentials (e.g., via Internet Explorer) to confirm the account has the necessary access rights.
Other resolution
If the issue persists after these steps, consider scheduling a joint troubleshooting session with the infrastructure team to review network configurations, load balancer settings, and Kerberos delegation (if applicable). Ensure the service account is properly configured for Kerberos delegation in Active Directory if constrained delegation is required.