The Microsoft Dynamics CRM Blog
News and views from the Microsoft Dynamics CRM

Creating Report Subscriptions in Microsoft Dynamics CRM 4

Creating Report Subscriptions in Microsoft Dynamics CRM 4

  • Comments 38

How to Create a Microsoft Dynamics CRM 4 Report Subscription in less than 15 minutes

Our guest blogger today is CRM MVP Donna Edwards who blogs regularly here.

I frequently respond to questions about creating Report Subscriptions in Dynamics CRM 4 (on premise version) so I thought it would be helpful to provide some detailed information.

Scheduling report subscriptions is fairly easy if you know the right steps to take. Following the steps below should get you up and running with report subscriptions fairly quickly and you can begin Wowing your users with the delivery of reports directly to their Outlook Inbox.

The first step you need to take is to open your CRM application and navigate to Workplace, Reports. Identify and Select the report that you want to schedule, select More Actions from the top menu bar and select Schedule Report from the dropdown.

I will select the Account Distribution report for scheduling:

image

A wizard dialogue window will open. Select On Demand and Next. We don’t need to select On Schedule because we don’t necessarily want to run Report Snapshots; we want to setup a Subscription for delivery. If you decide you want to create Snapshots in addition to a Subscription, you can do that later from the Report Server:

image

If you want to change the Default Parameters used for the Subscription, select Edit Filter, select the filtering criteria, and Save or leave the defaults provided and Select Next

image

Select “No just save the Snapshot Definition and select Save

image

The report Snapshot Definition was successfully credited. Select Finish:

image

Now if you look at your Report grid in CRM you will see a new report listed with the same name referenced on the Save wizard dialogue window. In this case the report name was: Account Distribution - On-demand Snapshots 7_17_2009 9_15 AM:

image

If you select the report and select the Edit Report button, a new window will open showing you the details of the report. Select Administration and you will see that the report is set to Individual View only as users in the Organization do not need to view this report directly from the Dynamics Application. Leave the Settings and close the window.

image

Now we will move on to the CRM Report Server

You can access your Reporting Services Home page by using the URL http://NameofReportServer/reports. The Reporting Services Home page URL is different than the Report Server which is located at http://NameofReportServer/reportserver so ensure you are using the correct URL.

You will see a list of all your Report folders after the page opens. In this example you do not see the full name of the Report folder but you will see the full name in your deployment. In the upper right-hand corner of the Reporting Services Home page, select Show Details

image

You will notice that the page layout changes slightly and you can now see a new link name Edit

image

Select the Report folder that contains the reports for your CRM 4.0 deployment and select the 4.0 folder

image

After you select the 4.0 folder, you will see a list of your CRM reports. Locate the report that you created in the CRM application. You can easily find it as the report name, which in this example was “Account Distribution - On-demand Snapshots 7_17_2009 9_15 AM”, is included in the Description field.

image

Select the Edit Icon link located to the left of the report

image

Select the Subscriptions tab

image

Select the New Subscription button

image

This will open the window that allows you to enter the details for the report subscription

image

You can now enter the information that will determine how the report is delivered, who receives it and the report delivery frequency.

  • Leave the default delivery method of E-mail selected
  • Enter the e-mail address for the recipients
    • I generally include my e-mail address in the BCC field to ensure the report runs as expected at least the first few times and the format is what I intended
  • Enter the Reply-To e-mail address
  • Modify the Subject line for whatever you prefer
    • This will be the subject line of the e-mail
    • At a minimum Replace “ @ReportName” with the actual Report Name otherwise the value will be the GUID of the report which is not a user friendly name
  • Leave the Include Report and select the Render Format option you prefer. I generally use Excel as this gives users the option to manipulate the report data in a format familiar to them.
  • Leave the Include Link only if it is ok with you that users open the Report directly from the Report Server rather than through the CRM application
  • Set Priority
  • Add Comments
  • Select the Schedule you want the Report to run by selecting the Select Schedule button
  • Select the OK button and the Subscription is created and saved

Saving the Subscription will create a SQL job that runs on the date and time you indicated to deliver the report to your recipients. If you have not yet setup your Report Server for E-Mail Delivery then review this MSDN article for the steps needed to implement that service.

Once you create a few subscriptions, you will be able to take a few shortcuts that will reduce the steps needed to create new subscriptions. After generating one or two of these subscriptions, you will be an expert.

Happy Subscription Reporting!

Donna Edwards

  • The graphics are all dead links??

  • Shouldn't be. What error message are you getting? No worries, I just reposted using a different drop path.

  • All the graphics are showing now!  Thanks!!

  • Awesome article. Would you happen to know I do not have email as an option for delivered by? I only have "windows file share".

    Thanks,

    Mark

  • Sorry I just saw your link to setup the SQL server for email delivery. Working through it now.

  • Can I schedule reports to be sent to my sales reps. so they get an email for their accounts only? or is there a permisisons issue?

  • (Can I schedule reports to be sent to my sales reps. so they get an email for their accounts only? or is there a permisisons issue?)

    Hi,

    You'll need to create a report that filters on the Account Owner, create one for each Sales Rep and then schedule each report so it is delivered to the correct Rep if you want to use the method I've outlined in this example.  

    Otherwise, you will need to use some other method that allows you to create one report and is able to filter or parse records based on the e-mail address used to deliver the report.  

  • Hi Donna, thanks for this information. It's just a shame that direct access to the reports server is requires - this rules out this feature for partner-hosted and Microsoft-hosted deployments unless the partner is willing to perform all the report server configuration on behalf of the customer. Shame :(

  • I created the snapshot and subscription for the CRM Neglected Accounts folder.  It is rendered in Web Archive format and delivered via email subscription. If I try to 'drill-down' or if I select Show All, a separate report view window displays with the error message "One or more data sources is missing credentials ".  I thought it might have something to do with the sub report, but I cannot figure out how to enable the drill down functionality.  Is there a way to do this?

  • Hi Neil,

    There is most likely a way to setup report subscriptions in a hosted environment.  You're correct, this solution is for On-Premise installations.  

    I haven't explored the solution for hosted environments but it sounds like a good idea for a blog.  Maybe someone can tackle that next.

  • Hi Shelley,

    Try this and let me know if it works.    

    1) Go to your Report server folder http://SQLServerName/reports

    2) Select Show Details from the upper right

    3) Select the CRM Report folder

    4) Select the 4.0 folder

    5) Find the Scheduled report that was created

    6) Select the Edit icon to the left of the report

    7) Select Data Sources from the left navigation menu

    8) Change the Data Source properties to the following:

    Use Connection Type = Microsoft SQL Server

    Connection String =

    Data Source=SQLServerName;Initial Catalog=CRMReportFolderName;Integrated Security=SSPI

    (you can copy and paste the above into the connection string and replace the two values with the unique values from your enironment - SQLServerName = the name of your SQL Server that houses the CRM database

    CRMReportFolderName = name associated with the directory folder that contains your CRM reports)

    9) Under Connect Using, select Windows Integrated Security.

    10) Select Apply

    If you have any problems, I will give you my direct e-mail and we can troubleshoot the issue.

  • Donna,

    I tried changing the Data Source properties for the report subscription to enable the drill down functionality for reports generated by subscription.  I received the error message "Changing the report parameters or data sources to the values you specified is not allowed. The report is configured to run unattended. Using the specified values would prevent the unattended processing of this report. (rsOperationPreventsUnattendedExecution)".

  • You're not trying to make changes to the snapshot by chance, are you?  

    Ok, let's try this.  In your subscription e-mail that goes out to users, did you include a link to the report?  If not, There is an option in the subscription e-mail to include the report link.  If you include the link in the e-mail, can you use the drill-down feature when you access the report via the link in the e-mail?  

    If you wouldn't mind, give me your e-mail contact and we can continue this offline.    

  • Still having trouble...

    My email is ssmart@datexcorp.com.  

    I was editing the properties on the report snapshot created from CRM.  If I click the link in the email, I get errors as well.  I tested just viewing the report in the report manager, and was not able to drill down there either.

    I appreciate the help!

  • Ok, thank you, I'll contact you with the solution.

Page 1 of 3 (38 items) 123
Leave a Comment
  • Please add 6 and 3 and type the answer here:
  • Post