Contact US / Information Request Form
This is a required field
This is a required field
Please enter valid email address

 What's New in Microsoft Dynamics 365 - Developers

New Features of Dynamics 365 for Developers are Continually Becoming Available!

 Customer Insights

​Customer Insights is a Azure-based SaaS service that enables organizations of all sizes to bring together data from multiple sources, including Microsoft Dynamics 365, and generate knowledge and insights to build a holistic 360° view of their customers. The Customer Insights Programming Reference documents the two sets of REST interfaces provided by this service: the Azure Resource Manager (ARM) APIs and the Hub APIs. These interfaces enable developers to extend custom applications, as well as to automate Customer Insights Hub administrative operations.

 Introducing Editable Grids

​The new editable grids feature provides inline editing capabilities in the main grid and subgrids without having to switch records or views. The new editable grids are supported in the web client, Dynamics 365 for phones and Dynamics 365 for tablets.The editable grids also support client-side events and methods that can be used to write custom client extensions according to your business need.More information:  Use editable grids and Editable grid objects and methods.

 Data Export Service

​The ability to replicate Dynamics 365 data to an external SQL database provides a lot of flexibility for generating reports. Data Export is an add-on service made available as a Microsoft Dynamics 365 (online) solution that adds the ability to replicate Dynamics 365 (online) data to a Microsoft Azure SQL Database store in a customer-owned Microsoft Azure subscription. The supported target destinations are Microsoft Azure SQL Database and Microsoft Azure SQL Server on Microsoft Azure virtual machines. Data Export intelligently synchronizes the entire Dynamics 365 schema and data initially and thereafter synchronizes on a continuous basis as changes occur (delta changes) in the Microsoft Dynamics 365 (online) system. More information: TechNet: Replicate Microsoft Dynamics 365 (online) data to Microsoft Azure SQL Database

 Web API Enhancements

​Access to local data while Dynamics 365 for Outlook is offline
When you write form scripts that use the Web API, these scripts can work using the local data in Dynamics 365 for Outlook when the user is offline. This capability has been available for the Organization service (SOAP endpoint) and the Organization Data service (OData v2), but was not previously available with the Web API. The context.getClientUrl function automatically redirects requests to the local version of the service when Dynamics 365 for Outlook is offline.

Return entity data on create or update
Sometimes you want to retrieve an entity right after you create or update it. Before this release, you needed to use two operations. The POST request to create an entity returns an HTTP 204 (No content) status and a Uri to the entity created is returned in the OData-EntityId header property. You can then use this Uri with a GET request to retrieve the created entity. This is because the default preference is to apply the return=minimal preference.A PATCH request applied to update an entity will simply return HTTP 204 (No content) status when successful.

With this release you can specify the return=representation preference in the header of the request. A successful POST request will return HTTP 201 (Created) and include the entity properties you select. You can select which properties are returned by using the $select system query option.A successful PATCH request will return HTTP 200 (OK) with the full entity.More information: Create with data returned , Update with data returned, and HTTP headers.

 Activity Sorting Control

​There is a new sortdate attribute on the activitypointer entity that you can use to control how activities are sorted by date. For example, if you want to have email entities sorted by the senton attribute value rather than the modifiedon attribute value, create a plugin or workflow to set the sortdate value equal to the senton value only for email entities. Otherwise, set the sortdate attribute equal to the modifiedon value. Then use this sortdate attribute in the order by criteria for your query. More information: Control how activities are sorted by date.

 Programmatic Management of Product Properties

​You can now programmatically create and manage product properties in Dynamics 365, which enables you to completely automate the product catalog in Dynamics 365 and integrate it with third-party software. Earlier, you could programmatically create and manage product family, product or bundle, but not the product properties.More information:  Define product properties.

 Define Access Permission for Modular Business Apps Programmatically

​The new modular business apps are based on the concept of functional separation that let you choose to expose a limited set of functionality for users in Dynamics 365 depending on their area of work. Developers can programmatically retrieve and associate or dissociate a modular app with security roles in Dynamics 365 to define the app’s access permission.More information: Define access permission for modular business apps in Dynamics 365.

 Use Form Scripts to Add Icons

​Use form scripting in Dynamics 365 to add icons with tooltip text that is based on the column value in the view. You can also specify localized tooltip text. More information:  Add custom icons with tooltip for a column

 Introducing New Client APIs for Creating and Managing Records

​Use the new client APIs under the Xrm.Mobile.offline namespace to create, retrieve, update and delete records in Dynamics 365 for phones and Dynamics 365 for tablets while working in the offline mode. These new client APIs will work only if you are in the offline mode and for entities that are enabled for mobile offline synchronization.More information: Xrm.Mobile.offline (client-side reference)

 Enhanced Client API Support in the Interactive Service Hub

The interactive service hub now supports the following client APIs:
  • Tab TabStateChange event
  • getQueryStringParameters method for the context object (Xrm.Page.context)
  • getValue, addOnKeyPress, removeOnKeyPress, and fireOnKeyPress methods for Dynamics 365 controls
  • openWebResource method in the Xrm.Utility namespace

 Server-to-server Authentication

​Use server-to-server (S2S) authentication to securely and seamlessly communicate with Microsoft Dynamics 365 (online & on-premises) with your web applications and services. S2S authentication is the common way that apps registered on Microsoft AppSource use to access the Dynamics 365 data of their subscribers. Both single-tenant and multi-tenant applications can use this feature.S2S authentication means you don’t need to use a paid Dynamics 365 user license when you connect to Dynamics 365 tenants. There is no license fee for the special application user account you will use with S2S authentication. With S2S authentication a special Dynamics 365 unlicensed application user account is created and includes information about your application registered with Azure Active Directory (Azure AD). Rather than user credentials, the application is authenticated based on an application user identified by an Azure AD Object ID value which is stored in the Dynamics 365 user record. The Dynamics 365 application user is associated with a security role which controls the kinds of data and operations the application is allowed to perform. More information:  Build web applications using Server-to-Server (S2S) authentication

 Process Enhancements

Execute SDK messages and actions from processes
It is now possible to execute select SDK messages and custom actions from workflows, process dialogs, and other actions. More information:  Supported actions for processes.

Access business process instances using the Web API
Business process flow instances are fully exposed through the Dynamics 365 Web API, allowing developers and system integrators to manipulate processes programmatically from an external custom application. The Web API allows you to apply new processes to entity records, switch the process status from Active to Finished or Aborted, and switch the stage of the process flow. More information:  Model business process flows.

Associate multiple business processes with a single entity record
More than one business process can be associated with a single entity record. You can switch between the processes by using the extended SetProcess action or message. Switch between business processes without losing the state and progress of each process. Business processes now support security roles as a means of restricting user access to the process. More information:  Model business process flows.

Client API enhancements for business processes
The setActiveProcess method is updated and some new client APIs are added under the namespace to handle the new functionality for concurrent business flows and the ability to mark a process as Active, Finished or Abandoned.More information: (client-side reference)

Client API enhancements for adding notifications with actions
Earlier, you could set only an error type of notification for a control in Dynamics 365 using the setNotification client API. Now, you can add two types of notification for a control using the new addNotification method: error or recommendation.More information:  Notification

 New Messages Introduced

​The following table lists new messages included in this release.

RetrieveActivePathRetrieveActivePath Function
RetrieveActivePathRequest Class
Retrieves a collection of stages currently in the active path for a business process flow instance.
RetrieveExchangeAppointmentsRetrieveExchangeAppointments Function
RetrieveExchangeAppointmentsRequest Class
Retrieves the appointments for the current user for a specific date range from the exchange web service.
RetrieveProcessInstancesRetrieveProcessInstances Function
RetrieveProcessInstancesRequest Class
Retrieves all the business process flow instances for an entity record across all business process definitions.
SetFeatureStatusSetFeatureStatus Action
SetFeatureStatusRequest Class
For internal use only.
UpdateFeatureConfigUpdateFeatureConfig Action
UpdateFeatureConfigRequest Class
For internal use only.

 New Entities Introduced

Schema nameDisplay nameDescriptionMore Information
ActionCardAction CardAction card entity to show action cards.actioncard EntityType
ActionCardUserStateActionCardUserStateactioncarduserstate EntityType
AppModuleRolesApp Module RolesTo provide specific Dynamics 365 UI context. For internal use onlyappmoduleroles EntityType
ExpiredProcessExpired ProcessExpired Process Business Process Flowexpiredprocess EntityType
InteractionForEmailInteraction for Emailinteractionforemail EntityType
LeadToOpportunitySalesProcessLead To Opportunity Sales ProcessLead To Opportunity Sales Process Business Process Flowleadtoopportunitysalesprocess EntityType
NewProcessNew ProcessNew Process Business Process Flownewprocess EntityType
OpportunitySalesProcessOpportunity Sales ProcessOpportunity Sales Process Business Process Flowopportunitysalesprocess EntityType
PhoneToCaseProcessPhone To Case ProcessPhone To Case Process Business Process Flowphonetocaseprocess EntityType
TranslationProcessTranslation ProcessTranslation Process Business Process Flowtranslationprocess EntityType

 New Privileges Introduced

​The following privileges are new or changed in this release. For an overall view of how the security role editor maps to privilege names in this SDK, see Security role UI to privilege mapping.

Privilege nameName displayed in the security role UIMore Information
prv*ActionCardAction Cardactioncard EntityType
prv*ExpiredProcessExpired Processexpiredprocess EntityType
prv*LeadToOpportunitySalesProcessLead To Opportunity Sales Processleadtoopportunitysalesprocess EntityType
prv*NewProcessNew Processnewprocess EntityType
prv*OpportunitySalesProcessOpportunity Sales Processopportunitysalesprocess EntityType
prv*PhoneToCaseProcessPhone To Case Processphonetocaseprocess EntityType
prv*TranslationProcessTranslation Processtranslationprocess EntityType
prv*ActionCardUserSettingsAction Card User Settings
prv*BookableResourceBookingExchangeSyncIdMappingBookableResourceBooking to Exchange Id Mapping
prvReadInteractionForEmailInteraction for Emailinteractionforemail EntityType
prvLearningPathLearning Path Authoring

  New Features of Dynamics 365 for Business Users