feat(integrations): add Dynamics 365 CRM - #6714
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryHigh Risk Overview Environment-bound OAuth is new for Dynamics paths: connect/reconnect flows collect a public-cloud Dataverse environment URL, request per-environment Microsoft scopes, validate link/callback scopes in auth, and persist an internal environment marker so credentials are not rebound across environments. Legacy unbound Dataverse credentials keep working; workflow credential selection enforces a matching environment when the block depends on Docs, integrations catalog, and icon mappings register Reviewed by Cursor Bugbot for commit a2842cf. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThe PR adds a Microsoft Dynamics 365 CRM integration with environment-bound Dataverse OAuth, ten block operations, and eight registered tools.
Confidence Score: 5/5The PR appears safe to merge because the previously reported redirect credential-disclosure path is fixed. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/tools/microsoft_dynamics_365/create_record.ts | The prior redirect credential-disclosure issue is fixed by enabling authorization stripping. |
| apps/sim/tools/microsoft_dynamics_365/dynamics_crm.test.ts | A table-driven regression test covers the redirect policy across all eight Dynamics tools. |
| apps/sim/tools/index.ts | The tool transport forwards the redirect-auth policy to the secure HTTP implementation. |
| apps/sim/lib/core/security/input-validation.server.ts | Redirect handling removes both supported Authorization header casings before following the validated target. |
| apps/sim/blocks/blocks/microsoft_dynamics_365.ts | Defines the ten-operation CRM block and maps its operations to the eight registered tools. |
Reviews (4): Last reviewed commit: "fix(integrations): align Dynamics paging..." | Re-trigger Greptile
|
@greptile please re-review the latest commit. |
|
@cursor review |
d757dd4 to
2a508dd
Compare
|
@cursor review |
|
@greptile please re-review the rebased latest commit. |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 2a508dd. Configure here.
2a508dd to
a2842cf
Compare
|
@greptile please re-review the latest exact-head commit. The update preserves the opaque Dataverse nextLink with a paired page-size contract and aligns Opportunity Close/Case Resolution metadata limits. |
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit a2842cf. Configure here.
Summary
nextLinkwhile pairing it with the page size required for the next requestCompatibility and safety
microsoft_dataverse_*implementations and documentation are unchanged; shared generated registries change additively to register DynamicsValidation
bun run test: Sim reported 25,507 passed / 46 skipped; setup and all other package suites also passedgit diff --checkpassedMerge prerequisite
Do not merge until #6716 lands and this branch is rebased onto that platform fix.