Working on migrating exising SSRS reports from an On Prem environment to Azure. Currently hosting reports on an A4 Power BI Embedded capacity in Azure. I've had success in publishing and executing several RDLs on the A4 capacity.
However, we do have a few reports that evaluate the Connection String in the Data Source at runtime and I'm starting to run into errors. The funny thing is that it's working perfectly when I run the report locally. The issue is when I try to save the report to the PBI Service.
Here's the error I'm getting:
Operation returned an invalid status code 'BadRequest'
RdlWorkloadErrorCode:
PaginatedReportAuthoringError
RdlWorkloadErrorMessage:
Report is invalid. ErrorCode: rsInvalidReportDefinition, Details: The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: String reference not set to an instance of a String.
Parameter name: s
PaginatedReportAuthoringError:
Report is invalid. ErrorCode: rsInvalidReportDefinition, Details: The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: String reference not set to an instance of a String.
Parameter name: s
ErrorCode: PaginatedReportAuthoringError
Details: An unknown error was encountered. Please try again.
ResponseId: ec9c681b-12ec-433e-a1c7-8564bfb484a5
ActivityId: 1b571c9d-6610-49ea-991d-791113577f04
RequestId: 51ddd51c-a295-4091-9793-9e58a9daa3f3
Timestamp: 7/16/2020 12:53:28 PM -04:00
I think I may have found a difference in the Power BI Report Builder and the SSRS Report Builder. Here's a snipet of the Data Source Properties side by side:
![ssrs-pbi.PNG ssrs-pbi.PNG]()
In the old report builder there a fx button to create a function the will evalutate a query for the connection string but in the new PBI report builder there is not. The odd thing is that it still works locally.
Has anyone tackled this before? Any suggestions are much appreciated.
Thanks!!!!!