Overview

When installing the Expense Management Add-In on your Dynamics 365 F&O Environment in LCS, you may encounter a failure, with the only information available being the Installation Failed error message. This is more common on newly provisioned environments, but can happen on any environment.

You click install new add-in:

LCS install add-in

You select Expense Management:

Expense management details

However the installation fails. It will look exactly like this:

Expense Management installation failed

Solution

The cause of the problem is usually 2 undocumented data prerequisites in D365 the environment which you are installing to.

  • The System Language must be set
  • A record must exist in Expense Parameters

Set the System Language

In D365, browse to or search for System Parameters. Ensure the system language is set, and save the record. Even if the system language is already set, be sure to click Save:

System parameteres form

Save an Expense Parameters record

In D365, browse to or search for Expense Management Parameters. All that’s required is to hit save then close the form, no fields need to be changed:

Expense management parameteres form

Retry!

Click abort and then retry the installation, via install new Add-in.

One more thing…

After following the steps, and retrying the installation, the install occasionally fails again on the first retry. Retry a second time, and all should now work, and after a few minutes, the Expense Management Add-in will be installed.