Skip to content

Dataverse Python Advanced Patterns

Write production-grade Python code for the Dataverse SDK with retries, batching, and optimized queries

Stars
40,703
Licence
MIT
Files
1 file

What it does

This skill tells an AI agent to act as an expert in the Microsoft Dataverse SDK for Python. When you ask for Dataverse code, the agent writes more robust scripts: it handles errors and transient failures with exponential backoff, uses bulk create, update and delete operations, writes efficient OData queries with filtering, paging and expansion, and can create or inspect custom tables. It also covers configuration, cache flushing, large file uploads and pandas DataFrame workflows, adding docstrings and type hints along the way.

Great for

  • Python developers building integrations or automations against Microsoft Dataverse (Dynamics 365 data)
  • Data engineers moving or syncing large volumes of Dataverse records who need batching and retry handling
  • Developers who need custom table or column definitions created through code

Skip it if

  • Users who do not write or run Python against Dataverse; the skill only shapes generated code, so it adds little for other tasks
  • Production use without review: generated code that creates or deletes tables and records can cause data loss if run against the wrong environment, so test against a sandbox first
  • Non-Dataverse Microsoft or Dynamics APIs, since the patterns are specific to the Dataverse SDK

Try asking

  • “Write a Python script that bulk-creates 5,000 account records in Dataverse with retry logic for transient errors”
  • “Create a custom Dataverse table in Python with a picklist column defined using an IntEnum”
  • “Upload a large file to a Dataverse file column in chunks using the Python SDK”
  • “Query Dataverse contacts with filter, select, orderby and paging, then load the results into a pandas DataFrame”
Step-by-step guide: how to use Dataverse Python Advanced PatternsInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the MIT licence and an attribution note.

    dataverse-python-advanced-patterns.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip dataverse-python-advanced-patterns.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip dataverse-python-advanced-patterns.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Point the agent at a non-production Dataverse environment first, and ask it to add a dry-run or confirmation step before any delete or bulk update.
  • Name the exact tables and columns you need, so the agent uses correct logical names instead of guessing.
  • Ask the agent to show the official API reference links it used, and check them, since the skill asks for links but the agent may still get method details wrong.

What's inside

  • SKILL.md

Redistributed unmodified from github/awesome-copilot under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.