Uninstalling Field Service

I am working on a project where we want to schedule a custom entity using Universal Resource Scheduling (URS)

There isn’t a way to install URS on its own; URS is installed with Field Service and Project Service Automation. So I installed Field Service and I can see the URS managed solutions along with the Field Service managed solutions. However, I want to simplify the Dynamics 365 user interface and want to remove Field Service but it is not straightforward.

First I deleted the following solutions:

  • Field Service UCI App Module
  • Field Service App Module
  • Field Service Anchor

That leaves the Field Service solution. There are a number of dependencies on other components that prevent the Field Service solution from being deleted.

To find these dependencies you need to find the Id of the solution. The easiest way to get the Id is to open the Field Service solution and click on Actions and Email a Link

image

You will get a URL similar to https://<OrganisationName>.crm<N>.dynamics.com/tools/solution/edit.aspx?appSolutionId=%7b23C03DF6-8DE9-4CD3-85BB-D3663EAFF640%7d&id=%7b23C03DF6-8DE9-4CD3-85BB-D3663EAFF640%7d

The Id is between the %7b and %7d such as highlighted above.

Use this Id in this URL https://<OrganisationName>.crm<N>.dynamics.com/tools/dependency/dependencyviewdialog.aspx?objectid=[ID]&objecttype=7100&operationtype=dependenciesforuninstall

This will list the components that have dependencies. I had the following:

  • Account (Form)
  • Contact (Form)
  • Lead (Form)
  • Opportunity (Form)
  • Price List (Form)
  • Case (Form)
  • SiteMap

I manually removed fields and navigation from these forms and removed Field Service from the default SiteMap.

I was then able to delete the Field Service solution although it did take some time!

#MSDyn365

Advertisements

About Julian Sharp

I have worked with Dynamics CRM since 2004 and have been involved in over 100 CRM projects. I am a Dynamics MCT and teach Dynamics 365 and Azure in the UK and across Europe
This entry was posted in Customisation, Dynamics 365, Field Service, URS. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.