Capabilities
Dynamics 365 Sales:- Lead and opportunity management
- Contact and account operations
- Sales pipeline automation
- Quote and order processing
- Activity tracking
- Case management
- Knowledge base integration
- Service level agreements (SLAs)
- Customer support workflows
- Omnichannel routing
- Work order management
- Resource scheduling
- Inventory management
- Service agreements
- Financial management
- Supply chain operations
- Project management
- Asset management
Setup
Step 1: Register Application in Azure AD
- Go to Azure Portal → Azure Active Directory → App registrations
- Click New registration
- Configure:
- Name: Noxus Integration
- Supported account types: Accounts in this organizational directory only
- Redirect URI: Web -
https://app.noxus.ai/integrations/dynamics365/callback
- Click Register
- Note Application (client) ID and Directory (tenant) ID
Step 2: Create Client Secret
- In your app registration, go to Certificates & secrets
- Click New client secret
- Add description: “Noxus Integration”
- Set expiration (e.g., 24 months)
- Click Add
- Copy Value (secret) immediately
Step 3: Configure API Permissions
- Go to API permissions
- Click Add a permission
- Select Dynamics CRM
- Select Delegated permissions:
user_impersonation
- Click Add permissions
- Click Grant admin consent (if you have admin rights)
Step 4: Add to Noxus
- Open Connections in the sidebar and click Add connection
- Find Dynamics 365
- Enter:
- Environment URL:
https://your-org.crm.dynamics.com - Client ID: Application (client) ID
- Client Secret: Secret value
- Tenant ID: Directory (tenant) ID
- Environment URL:
- Click Connect
- Authorize access
Step 5: Verify Connection
Test by querying Account or Contact records.Nodes Available
Dynamics 365: Query Records- Execute FetchXML or OData queries
- Filter and sort results
- Returns list of records
- Retrieve single record by ID
- Returns full record data
- Create new record (Lead, Contact, Account, etc.)
- Set attributes
- Returns record ID
- Update existing record
- Modify attributes
- Returns success status
- Create or update based on alternate key
- Prevents duplicates
- Returns record ID
- Delete record by ID
- Returns success status
- Create relationship between records
- Link related records
- Execute custom action
- Run business logic
- Returns action result
Triggers
A flow can start on a Dynamics 365 event. In the flow editor, open Triggers, then the trigger library, and search for “Dynamics”.OData Query Syntax
Basic Query Structure
Common Queries
Leads:Advanced Queries
Expand (Include Related Data):Common Patterns
Pattern 1: Lead Scoring and Routing
Pattern 2: Opportunity Stage Automation
Pattern 3: Case Management and Auto-Routing
Pattern 4: Quote Generation and Approval
Pattern 5: Account Data Enrichment
Pattern 6: SLA Monitoring and Escalation
Pattern 7: Marketing Campaign Response Tracking
Custom Entities and Fields
Work with custom entities just like standard entities:Batch Operations
For multiple operations, use batch requests:Rate Limits
Service Protection Limits:- 6,000 API requests per 5 minutes per user
- 52,000 API requests per 24 hours per user
- Concurrent request limit: 52 per user
- Use batch operations
- Implement exponential backoff (429 retry-after header)
- Cache reference data
- Monitor API usage
Webhooks
Configure webhooks via Power Automate or Plugin Registration: Common Triggers:- Record created
- Record updated
- Record deleted
- Field changed
- Status changed
Troubleshooting
”401 Unauthorized”
Problem: Authentication failed Solutions:- Verify Azure AD app credentials
- Check token expiration
- Regenerate client secret
- Verify API permissions
”403 Forbidden”
Problem: Insufficient privileges Solutions:- Check security roles
- Verify record-level permissions
- Check field-level security
- Grant necessary privileges
”404 Not Found”
Problem: Entity or record not found Solutions:- Verify entity name (use plural)
- Check record ID format (GUID)
- Verify record exists
- Check environment URL
”429 Too Many Requests”
Problem: Rate limit exceeded Solutions:- Implement retry with exponential backoff
- Use batch operations
- Reduce request frequency
- Contact Microsoft for limit increase
Best Practices
Use Alternate Keys: Define alternate keys for upsert operations Security Roles: Assign appropriate security roles to integration user Batch Operations: Batch multiple operations to reduce API calls Error Handling: Implement comprehensive error handling with retries Audit Trail: Enable auditing for critical entities Testing: Always test in sandbox environment first Change Management: Use solutions for deployment Performance: Cache lookup data and use selective queries Documentation: Document all customizations and integration points Monitoring: Track integration health and API usageDynamics 365 integration enables enterprise-grade CRM and ERP automation, streamlining business processes across Microsoft’s business applications platform.
Integration Authentication
Setup Azure AD OAuth
Data Transformations
Transform Dynamics 365 data
Human-in-the-Loop
Build approval workflows
Text Generation
AI-powered CRM operations