We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
If you became a customer of the Syncfusion Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion for your reporting needs.

Azure AD embedded reports always throwing error

I'm trying to view my reports embedded in a web app using azure AD auth (Passing it through an iframe).  I've setup my azure active directory as per the guides and I can successfully auth my azure user into the report server however I am always hit with an error of  "Value cannot be null. Parameter name: source" when viewing the report. The url I'm trying to access the report on ends in "?hascomments=false&hasviews=false&hassso=true&externallogin=azuread&loginstatus=success".  My datasource is connected to a SQL database.  I've tried simplifying my dataset to a simple query with no luck.  I've also tried adding a parameter called source to my report which changes my error to "Unhandled exception has occurred during data set 'DataSet1' processing."  

Let me know if you need anymore details.  Any help is greatly appreciated.

3 Replies

VS Vinoth Srinivasan Syncfusion Team July 12, 2019 11:10 AM UTC

Hi Hayden, 
Thanks for your interest in Syncfusion Components. 
We suspect that the issue occurs when the users don’t have permission for accessing the shared datasource and shared dataset. So, we suggest you provide permissions for the user to access the shared datasource and shared dataset and please find the below help documentation for this. 
Also, could you please confirm whether the report has been rendering properly while running from ReportServer. 
Vinoth S. 

HH Hayden Harrison July 14, 2019 08:36 PM UTC

Hi Vinoth,

Thanks for your reply.

I have tried using a shared datasource and dataset that I definitely have permission on and I get the error Unhandled exception has occurred during data set 'Test Auth Shared Dataset' processing. Bear in mind my azure user has been added to the Administrators group and I've double checked I have security on the Dataset and Datasource.

What I have working now is if I make a report that only has an internal Datasource and Dataset then go to the embedded Azure AD link (https://myreportserver/en-us/reports/embed/reports/MyReportName?hascomments=false&hasviews=false&hassso=true&externallogin=azureAd) and then auth with azure AD I can auth successfully but get the same error as before "Value cannot be null. Parameter name: source" .

However if I remove the "&externallogin=azureAd" from the url after I've been authenticated I can successfully view the report.  This seems like a bug to me.  It seems like azure ad isn't working with shared datasources/datasets and also that "&externallogin=azureAd" parameter seems to cause problems once the user has been authenticated.  Do you have an environment with azure ad setup to test this scenario to check whether this is some problem with how I've configured everything or just a bug with the report server?

As a side note from the user management page clicking on an Azure AD imported user gives me an error page saying "Internal Server Error", not sure if this is related.


VS Vinoth Srinivasan Syncfusion Team July 16, 2019 01:09 PM UTC

Hi Hayden, 

A support incident has been created under your account and we request you to login into our Direct Trac support system for further updates on this issue. Our Direct Trac support system can be accessed from the following link: 
Vinoth S. 

Live Chat Icon For mobile
Up arrow icon