Skip to main content

Setting Up the IIS Site for the Dynamics 365 Rule Execution Web Service

Next, we'll need to setup a website in IIS to host the execution web service. This will require a Windows Server with IIS installed.

1: Open IIS Manager​

Internet Information Services (IIS) Manager start page with the server's Application Pools and Sites in the Connections pane

2: Click on Sites on the Left-Hand Nav Pane​

IIS Manager Sites list showing the InRule.Crm.WebService and Microsoft Dynamics CRM sites, with Add Website in the Actions pane

3: Click "Add Website" Under "Actions" in the Right-Hand Pane​

Empty Add Website dialog with fields for Site name, Application pool, Physical path, Binding type, IP address, Port, and Host name

4: Define Website Information​

Define a site name, application pool, and host name for the website; these can be configured however makes sense within your organization.

The physical path needs to be set to the actual Dynamics Rule Execution web service folder. This will require you having the InRule components downloaded onto the same server you are setting up the website on

Lastly, select either HTTP or HTTPS, depending on which makes sense for your architecture. If you opt to use HTTPS, you will be required to select a certificate before you can finalize the site.

Once you've populated all the required fields, press OK to finalize and start the website

Add Website dialog filled in with site name InRule.Crm.WebService, application pool CrmDeploymentServiceAppPool, physical path C:\inetpub\wwwroot\inrule.crm.webservice, http on port 80, and host name www.MyWebService.com

5: Verify Your Website Successfully Created​

IIS Manager InRule.Crm.WebService Home page showing the ASP.NET, IIS, and Management feature icons