Sample data for Dynamics 365 Customer Engagement (on-premises)

You can install and uninstall sample data programmatically for an organization using these messages: InstallSampleDataRequest and UninstallSampleDataRequest. For more information, see Sample: Install or Remove Sample Data.

See also

Sample: Install or Remove Sample Data
Write Code for Dynamics 365 Customer Engagement (on-premises)
Use IOrganizationService for Your Organization