While working with reports deployed to an older SharePoint environment using Business Intelligence Development Studio (BIDS) 2005, we encountered an authentication error when opening reports. The error included: An error has occurred during report processing. Cannot impersonate user for data source 'datasource'. Logon failed This article documents the troubleshooting experience and resolution in that environment. Applicability: This guidance relates to legacy SSRS and SharePoint installations. It should not be treated as current guidance for Power BI, SharePoint Online or modern SQL Server Reporting Services deployments. I tried many things but nothing worked. I did some research and found many blog posts which suggested reapply the password on the datasource file specified in the error message and save it again. That didn't work for me. I saw some check boxes in the data source file that read "Use as Windows Credentials" and "Set Execution Context to this...
Practical insights into Microsoft 365 architecture, SharePoint Online, PowerShell automation, governance and security. Real world troubleshooting, technical solutions and lessons learned from enterprise IT environments.