Friday, November 23, 2018

Modules on the environment do not match with modules in the package

If you try to deploy an 8.0 to 8.1 upgrade to sandbox/UAT where modules have been renamed, you will get the error "Modules on the environment do not match with modules in the package" together with a list of missing modules.

The regular process of renaming a module is to create a new module with the new name, move the code, delete the old module and add the old module name to the ModuleToRemove.txt files for removal during deployment.

When deploying the 8.0 to 8.1 upgrade to sandbox/UAT, Microsoft checks that the package holds at least the same modules as already deployed. But the ModuleToRemove.txt file is not taken into consideration during this check, and thus the modules appears to be missing.

The workaround is to keep and deploy empty models with the old names. Any code must of course be in the new models.

You can uninstall the empty modules at your next regular deployment using the normal process with the ModuleToRemove.txt file.

This is only an issue with 8.0 to 8.1. Not with, for example, 7.3 to 8.1.

Tuesday, November 20, 2018

Thumbprint error when pasting thumbprint into the Regression Suite Automation Tool (RSAT) configuration

You can get an error like this when you paste the thumbprint, from your new certificate, into the configuration tool.

The reason for this is that the certificate UI uses a Unicode enabled RichEdit control to show the value.

You can use a command prompt to list a thumbprint that is suitable for copy-n-paste.
Use "certutil -store my" for the machine certificates. The thumbprint can be located in the line that starts with "Cert Hash(sha1)".

Another workaround is to paste the thumbprint to a new Notepad file, save the txt file, reopen the text file and then copy the thumbprint from there.


Friday, November 16, 2018

Connecting to custom help sites from Finance and Operations

New information and tools from Microsoft to help you connect Dynamics 365 for Finance and Operations to a website that hosts your custom help content. You can base your custom help on our content, on your existing Dynamics AX 2012 content, or on your own content, as long as you add the required new metadata.

White paper:
Tools on GitHub: