enable-tables-offline

Enables IsAvailableOffline and ChangeTrackingEnabled flags on Dataverse table metadata for Mobile Offline Profiles.

808|167|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/microsoft/power-platform-skills --skill enable-tables-offline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: enable-tables-offline
Source: https://github.com/microsoft/power-platform-skills/tree/main/plugins/mobile-apps/skills/enable-tables-offline
Command: npx skills add https://github.com/microsoft/power-platform-skills --skill enable-tables-offline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dataverse tables cannot be added to a Mobile Offline Profile unless both the IsAvailableOffline and ChangeTrackingEnabled flags are set on their EntityMetadata, and configuring this manually per table through the maker portal is slow and error-prone.

Core Features & Use Cases

  • Metadata Flag Updates: Sequentially PUTs EntityMetadata changes to set IsAvailableOffline and ChangeTrackingEnabled on one or more Dataverse tables, respecting the Dataverse metadata write lock.
  • Idempotent Execution: Re-running on already-enabled tables is a no-op, and uncustomizable system-managed tables are safely skipped and reported.
  • Targeted Publishing: Publishes customizations with a scoped PublishXml call (with PublishAllXml fallback) and verifies the flags post-update.
  • Use Case: Before running /setup-offline-profile for a Power Apps mobile project, enable offline prerequisites on all tables listed in .datamodel-manifest.json in one guided, approval-gated workflow.

Quick Start

Ask the agent to enable offline prerequisites for the Dataverse tables in this project, optionally passing a comma-separated list of table logical names.

Frequently Asked Questions about enable-tables-offline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable Dataverse tables for offline use in Power Apps?

Set both IsAvailableOffline and ChangeTrackingEnabled to true on each table's EntityMetadata, then publish customizations. This skill automates that via sequential PUT requests to the Dataverse Web API followed by a targeted PublishXml call.

Why can't I add a table to a Mobile Offline Profile?

A table cannot be added unless both IsAvailableOffline and ChangeTrackingEnabled are enabled on its EntityMetadata. These correspond to the 'Can be taken offline' and 'Track changes' options in the maker portal.

Can system-managed Dataverse tables be enabled for offline?

Tables with IsCustomizable set to false cannot be modified through this path and are skipped with a warning. System-managed tables require an admin solution patch approach that this skill does not handle.

What happens if publish fails with a concurrent publish error?

The skill uses targeted PublishXml to avoid org-wide PublishAllXml rate-limit conflicts (error 0x80071151). If rate limiting persists after retries, metadata changes remain committed and the offline profile setup can still proceed.

Is it safe to re-run offline enablement on the same tables?

Yes, the operation is idempotent. Tables already in the target state are detected during the inspection step and skipped without any API mutation, so re-running produces no changes.