Is there any way that I can view a report (Sales > Reports) using C# without having access to the reporting server?
I am attempting to write a tool that monitors the health of our CRM servers (entity records in right place etc) and as such I want the tool to be located somewhere where it has access to each CRM instance (ranging from 2013 on prem to 2016 Online).
The reason for this is that we havea report that does all the heavy lifting of checking the health of all entities,settings,records etc and i just want to be able to programatically examine this report (via xml parsing) and tell the user the result.
I tried using the html scraping, direct URL approach: /crmreports/viewer/viewer.aspx?Id=xxxxxxx
however, perhaps predictably, the returned HTML was just a page prompting for a login.
I do have all of the credentials to make an Xrm Service connection but I am not sure of how to access reports using this.
Is going through the reporting services asmx the only way?