Overview
Add Microsoft Dynamics 365 Sales to any ModuleX agent or workflow. CRM platform integration for managing accounts, contacts, appointments, and custom entities via the Dynamics 365 Web API (https://{org}.crm.dynamics.com/api/data/v9.2).
Authentication
OAuth2 Authentication
Connect using Microsoft OAuth2 (recommended)Required Credentials
OAuth Configuration
- Authorization URL:
https://login.microsoftonline.com/common/oauth2/v2.0/authorize - Token URL:
https://login.microsoftonline.com/common/oauth2/v2.0/token - Scopes:
https://dynamics.microsoft.com/user_impersonation,offline_access
Available Actions
create_appointment — Create a new appointment linked to an account with a required attendee (system user)
create_appointment — Create a new appointment linked to an account with a required attendee (system user)
Parameters
Response
create_custom_entity — Create a custom entity definition in Dynamics 365
create_custom_entity — Create a custom entity definition in Dynamics 365
Parameters
1033)false)false)Response
find_contact — Search for a contact by ID, name, or custom OData filter
find_contact — Search for a contact by ID, name, or custom OData filter
get_account — Retrieve a single account by its GUID
get_account — Retrieve a single account by its GUID
list_accounts — List accounts with optional OData filter and pagination
list_accounts — List accounts with optional OData filter and pagination
list_appointment_categories — List available appointment category values from metadata or existing rows
list_appointment_categories — List available appointment category values from metadata or existing rows
Response
list_appointment_category_options — Retrieve available options for the appointment Category picklist field
list_appointment_category_options — Retrieve available options for the appointment Category picklist field
Response
list_appointments — List appointments ordered by scheduled start descending
list_appointments — List appointments ordered by scheduled start descending
list_solution_id_options — Retrieve available solutions with their IDs and names
list_solution_id_options — Retrieve available solutions with their IDs and names
Response
search_accounts — Search accounts by company name substring
search_accounts — Search accounts by company name substring
update_appointment — Update an existing appointment (only supplied fields are modified)
update_appointment — Update an existing appointment (only supplied fields are modified)
Limits & Quotas
- API limits: Dynamics 365 enforces per-org service protection limits (typically 6,000 requests per 5-minute sliding window per user).
- Throttling: Returns HTTP 429 when limits are exceeded; retry after the
Retry-Afterheader value. - Error model: Non-2xx responses are caught and returned as
success=False+errorrather than raising.