Dynamics 365 Integration

The easiest way to connect Dynamics 365 and Dynamics CRM with WordPress.

For developers

The page describes aspects of the plugin that are useful for developers.

Plugin constants

  • WPCRM_CACHE_METHOD

    default: ‘auto’
    Forces the specific caching method. Valid values are off, wpcache, files, auto.

  • WPCRM_KEY

    default: ‘’ (empty)
    Key to encrypt connection passwords. If not present AUTH_KEY is used instead.

  • WPCRM_REMOVE_DISCOVERY

    default: false
    If set to true discovery service is bypassed for on-premises instances. Note: online instances no longer use discovery services and this setting is ignored.

  • WPCRM_SDK_VERSION

    default: ‘’ (empty)
    Specifies client SDK version to pass in every SOAP call, e.g. 8.1. Passing the version is required if new data types like Choices, File, or Image are used (consult SDK documentation for the minimum version required for a specific data type).

  • WPCRM_FORCE_CRM_USER_ROLES

    default: true
    If set to true replaces WordPress user roles with the roles defined in WP Identity Role records when a user linked to CRM signs in. If set to false the WordPress user roles remain unchanged. This option is only valid for WordPress-managed users; for CRM-managed users the roles defined in CRM are always enforced.