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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Dynamics 365 (9.0) on premise report error

(0) ShareShare
ReportReport
Posted on by 122

HI,

When i try to run the report from the report services i am getting below error message: 

"Cannot impersonate user for data source 'CRM'. (rsErrorImpersonatingUser)"

In CRM server i am gettting  below error message:

"Web service request SetDataSourceCredentials to report server url failed with soapexception. Error: An error has occurred during report processing."

Any suggestions greatly appreciated. 

I have the same question (0)
  • Verified answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Please try the following points.

    1.Check if the SSRS Service stopped.

    pastedimage1578449763826v1.png

    2.Redeploy the reporting server and ensure that you are running as a SQL admin and running the report from the server directly.

    3.Make sure the user of the server you are logging on has the right permission or the local policy of the DC allows for login of non-admin users.

    4.Check if the user that was used to install the repotring has been disabled or changed the password.

    Hope it helps.

    Best Regards,

    Leo

  • Verified answer
    Asif365 Profile Picture
    1,431 on at

    I am not sure about v 9.0 but we faced same issue in CRM 2015, and i resolved this issue by follow these steps:

    1. Browse to Report Manager (http://SERVERB/Reports)

    2. Open the Organisation_MSCRM folder

    3. Click Show Details

    4. Open the MSCRM_DataSource

    5. Change the Data Source Type from Microsoft SQL Server to Microsoft Dynamics CRM SQL

    *Note: - This option is only available once Reporting Extension has been installed on SSRS Server.

    6. Clear the contents of the Connection String box

    7. Set the Connect Using: option to Credentials Supplied by user running the report but do NOT check the Use as Windows Credentials when connecting to the DataSource option.

    8. Click Apply

    9. Restart the SQL Reporting Services Service in Reporting Services Configuration Manager.

  • thomas.s Profile Picture
    122 on at

    Thanks for all, We created all the SPNs for the SSRS and SQL as well. In report manager make sure you selected

    "By prompting the user viewing the report for credentials " and Type of credentials   as " select Type of Credentials: "Database user name and password". If you didnt select this option you will always end up in impersonation error.

    This is version 9.0 CRM on premise, 2017 SQL server and 2017 reporting services. 

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 75 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans