preview-offline-scope

Estimates download size and sync frequency cost of a Dataverse offline profile before deployment.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Before pushing an offline profile to mobile users, teams have no visibility into how much data devices will download or how often re-syncs will occur, risking data-cap overruns and battery drain. This Skill produces a read-only estimate of per-table row counts, cache size, and daily transfer volume so you can validate the profile first.

Core Features & Use Cases

  • Drift Detection: Runs verify-offline-profile.js to flag divergence between the local offline-profile.json and the live Dataverse profile.
  • Scope-Aware Row Counts: Applies the same recorddistributioncriteria filters (all records, owned by me/team/business unit, related only) the runtime would use, resolving identity via the Dataverse WhoAmI call.
  • Size & Sync Estimates: Computes per-table byte estimates from column-type heuristics and projects daily transfer volume from syncintervalinminutes values.
  • Use Case: Before running /assign-offline-profile, preview the profile to discover that a table syncing every 5 minutes would generate 288 syncs per day and exceed mobile data caps, then adjust the interval.

Quick Start

Ask the agent to preview the offline scope of the current offline profile and show estimated download size and daily sync cost per table.

Frequently Asked Questions about preview-offline-scope

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

FAQPage Schema
How do I estimate offline profile download size in Power Apps mobile?

Run this read-only preview against your offline-profile.json. It counts rows per table using the same scope filters the runtime applies, multiplies by byte-per-column heuristics, and reports total initial download size plus per-table breakdowns.

How to check sync frequency cost of a Dataverse offline profile?

The preview reads each table's syncintervalinminutes and computes syncs per day, then estimates daily transfer bytes assuming roughly 20% of rows change daily. Tables with high-frequency syncs are flagged as concerns in the report.

Does the offline scope preview modify my offline profile?

No, the preview is strictly read-only. It runs verification and count queries against Dataverse but never mutates the profile, making it safe to run before setup, edit, or assignment operations.

Why does the row count show 5000 with a greater-than symbol?

Dataverse caps non-aggregate count queries at 5000 rows. When a table hits exactly 5000, the actual count is unknown and the report prefixes it with ≥ to indicate the estimate is a lower bound.

How accurate are the offline cache size estimates?

The estimates are rule-of-thumb heuristics based on column types, not precise measurements. They are useful for comparing scopes or column lists, but actual cache size depends on Dataverse storage layout and device compression; image and file payloads are excluded.