dv-admin

An add-on for Microsoft Dataverse, the cloud data platform used by Power Platform and some Dynamics 365 applications. It lets coding agents work with Dataverse data, structure, security, environments, and solutions.

In plain words
What is it for?
Use it to read, create, update, query, and manage Dataverse records, inspect or change the data model, configure environments, manage security, and work with solutions.
Why use it?
It brings common Dataverse development and administration work into coding-agent workflows instead of requiring separate tools for each task.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/microsoft/dataverse-skills/dv-admin
Any agent
npx skills add microsoft/Dataverse-skills --skill dv-admin
Clone the repo
git clone --depth 1 https://github.com/microsoft/Dataverse-skills

Made for: Claude Code, Codex.

Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,067 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00071 $0.05067
Opus 5 $0.00036 $0.02534
Sonnet 5 $0.00014 $0.01013
Haiku 4.5 $0.00007 $0.00507

Measured 3d ago against content hash 56a54d97693c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dv-admin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/plugins/dataverse/skills/dv-admin/SKILL.md · 314 lines

How it starts

The opening of the file, as written. The whole thing — 314 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Environment Admin — Bulk Delete, Retention, Org Settings, OrgDB, Recycle Bin

⚠️ Critical safety rules — read first

  1. Bulk delete is irreversible and bypasses the recycle bin. pac data bulk-delete schedule without --fetchxml deletes every record in the table. Refuse to run until the user explicitly says ALL (or ALL RECORDS) and the entity logical name — e.g., "yes, delete ALL records in contact". Bare "yes" rejected. Empty-filter FetchXML does NOT bypass this gate. See Bulk Delete Commands for the full rule and disambiguation flow.
  2. Settings allowlist is hard. Only the 37 PPAC toggles in Allowed settings may be read or updated. Any other setting must be refused: "That setting is out of scope for dv-admin. Use the Power Platform admin center."
  3. Recycle bin disable is PATCH, never DELETE. PATCH statecode=1, statuscode=2, isreadyforrecyclebin=false. DELETE enqueues async opt-out and orphans per-entity configs — see references/recycle-bin.md.
  4. System tables warning. Unfiltered bulk delete on systemuser, businessunit, organization, or role breaks the environment. Warn additionally before running.

Four mechanisms — pick based on where the setting lives:

Mechanism Use for How
PAC CLI (pac org update-settings / list-settings) Columns on the organization entity (audit, plugin trace, typeahead, quick find, canvas/flow solutions, email validation, audit retention) --name <column> --value <value> — accepts any org column, not just the legacy audit ones
Python SDK — OrgDB XML Keys inside the orgdborgsettings XML blob (MCP, search, Fabric, Work IQ, TDS endpoint, attachment security, ownership, address records, block unmanaged, delete users, Excel AI) Read XML → parse → modify → PATCH whole blob back on organizations({id})
Python SDK — recyclebinconfigs Recycle bin on/off + retention days CREATE/PATCH recyclebinconfigs entity record
Python SDK — settingdefinition + organizationsettings App-level / plan-level security role toggles Look up settingdefinition by uniquename → CREATE or PATCH organizationsettings row with value

ERP batch admin: see references/erp-batch.md.

Do NOT write Python scripts for operations PAC CLI can handle. Do NOT mix mechanisms (e.g., don't hand-PATCH an org column that PAC CLI already covers).

Read the full file on GitHub · 314 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 314 lines · 71 tokens per session scan A 56a54d97693c

Subscribe to this mod's changes

dv-admin is a skill published in the GitHub repository microsoft/Dataverse-skills (213 stars, last pushed 3d ago), licensed MIT. It adds 71 tokens to every session and 5,067 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories