SAP Knowledge Base Article - Preview

2997828 - Error during logon (AUTHENTICATION_FAILED) - Could not get a valid X-CSRF-Token token from the root URL

Symptom

The error below occurs in Analysis Office tool when trying to logon to SAC:

Error during logon (AUTHENTICATION_FAILED)
Could not get a valid X-CSRF-Token token from the root URL 'https://<sac_url>'. (AUTHENTICATION_FAILED)

Error.png

In Analysis Office trace files, the entries below can be found:

General .NET Exception:
The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
...


Read more...

Environment

SAP BusinessObjects Analysis, edition for Microsoft Office

Product

SAP Analysis for Microsoft Office all versions ; SAP Analysis for Microsoft Office, edition for SAP Analytics Cloud all versions

Keywords

sac, logon, fail, failing, authentication, cloud , KBA , BI-RA-AO-XLA , Excel Addin , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.