web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

[RESOLVED] All Report fail with error "The user authentication passed to the platform is not valid" on-premise

(0) ShareShare
ReportReport
Posted on by 105

hi team,

We're facing the error related to report, all reports can not run, and getting the same message as: 

Invalid User Authorization
The user authentication passed to the platform is not valid.

- The error log on Report Server:

runningjobs!ReportServer_0-2!3564!01/07/2021-08:51:27:: i INFO: Adding: 1 running jobs to the database
processing!ReportServer_0-2!2c3c!01/07/2021-08:53:20:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
System.ComponentModel.Win32Exception: Access is denied ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: Access is denied

- something has

--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.<>c__DisplayClass2.<CreateExtensionObject>b__0()
at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass1.<Run>b__0(Object state)
at System.Security.SecurityContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.Run(ContextBody callback)
at Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.CreateExtensionObject(Extension extConfig, Boolean typeOnly).
library!ReportServer_0-2!b4!01/07/2021-09:53:51:: i INFO: Call to GetDataSourceContentsAction(/SharedReports/8.0.xxxx/MSCRM_DataSource). User: CAWOWX\crmservice.
library!ReportServer_0-2!b4!01/07/2021-09:53:51:: i INFO: Call to GetDataSourceContentsAction(/CRM_MSCRM/CustomReports/MSCRM_DataSource). User: CAWOWX\crmservice.
runningjobs!ReportServer_0-2!359c!01/07/2021-09:54:28:: i INFO: Adding: 2 running jobs to the database
processing!ReportServer_0-2!3434!01/07/2021-09:54:52:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'MSCRM_DataSource'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
Microsoft.Crm.CrmException: Could not acquire Write lock. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: Could not acquire Write lock.
--- End of inner exception stack trace ---

Does any one have solution or how to trouble shoot?

regards,

Nam Le

I have the same question (0)
  • B.Nam Le Profile Picture
    105 on at
    RE: All Report fail with error "The user authentication passed to the platform is not valid" on-premise

    RESOLVED: We found "CRM account (crmservice) is disabled remote login into database" so we do ENABLE, and then the report is working again.

    Does anyone know the reason ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 127 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans