SAP Knowledge Base Article - Public

3799395 - SAC Add-in loaded outside of the required environment

Symptom

When opening the SAP Analytics Cloud add-in task pane in Excel and attempting to initiate login the add-in fails to load and remains stuck on the welcome screen. 

Environment

SAP SAC Add-in for Microsoft Office

Reproducing the Issue

After clicking on the SAC login button in the SAC Excel add-in, a blank browser window opens.

Upon inspecting the browser task pane DevTools console and network traffic, the following errors are logged:

Console Warning: "Warning: Office.js is loaded outside of Office client"
Console Error: "SAC Add-in loaded outside of the required environment." 

Cause

The tenant configuration steps have not been completed or the hosts are not typed in correctly.

Resolution

Follow the Tenant Configuration instructions:
https://help.sap.com/docs/SAP_ANALYTICS_CLOUD_OFFICE/2b73edbc8f8f4189a36bc7a2e038185c/db2f874261824d63adb3ca198f65ce55.html?locale=en-US

Please note that it may take 24 to 48 hours for the tenant configuration changes to propagate across the Microsoft 365 infrastructure.

After configuring or re-configuring the tenant according to the above document, deploy and publish the add-in as a Microsoft 365 admin:
https://help.sap.com/docs/SAP_ANALYTICS_CLOUD_OFFICE/2b73edbc8f8f4189a36bc7a2e038185c/45ef30e1e14d4258864cbc794250289f.html?locale=en-US

On the end users PC clear the MS Office cache by following the Microsoft documentation:
https://learn.microsoft.com/en-us/office/dev/add-ins/testing/clear-cache

See Also

KBA 3831207 - How to investigate issues with the SAC Add-in authentication redirecting to a blank page

Keywords

KBA , LOD-ANA-OF-XLA , SAP Analytics Cloud, add-in for Microsoft Office , Problem

Product

SAP Analytics Cloud all versions