dataverse-modeldriven-azure-functions-llm
Installation
SKILL.md
Dataverse Model-Driven -> Azure Functions -> LLM
Follow this workflow whenever the request is about invoking Azure Functions from Dataverse/Dynamics 365 model-driven experiences.
1) Classify invocation path first
MANDATORY: Load references/integration-patterns.md before selecting a pattern. Do NOT load it if the request is purely about security or language implementation details.
Before picking, ask:
- Is the user waiting on-screen for a result? → Interactive client path. If yes, can it complete in under 5 seconds reliably? If not, reconsider.
- Is this triggered by a Dataverse record event? → Server-side event path. Should almost always be async.
- Does it need approval, polling, or variable wait time? → Orchestrated path.
Pick one primary pattern before writing code:
- Interactive client path: model-driven form script, custom page, or PCF calls a protected API endpoint (prefer APIM + custom connector or a well-controlled direct function endpoint).
- Server-side event path: Dataverse event framework step (or Webhook or Service Bus endpoint) emits context and function app processes asynchronously.
- Orchestrated path: Power Automate or queue mediator calls function app and updates Dataverse later.