wayfinder
MAmattpocock/skills336k5,004 new stars in the last 7 days
Author, review and manage Microsoft Fabric governance policies and PolicySet items. Invoke before clarifying underspecified lockdown requests or missing intent, identities or scope. Discover current contracts and roles, map scenarios to rules, and execute one approved API lifecycle. Not catalog audits or KQL policies. Triggers: Fabric policy, PolicySet, governance rule, latest Fabric policies, policy contract review.
Telemetry — MANDATORY. Every
api.fabric.microsoft.comcall must carryx-ms-fabric-skill: fabric-policies-cli(az rest:--headers "x-ms-fabric-skill=fabric-policies-cli"), including every LRO poll,fabric_lroand retry. Snippets omit it — add it anyway.
Translate governance intent into policy rules, explain their effective behavior, and manage the PolicySet item lifecycle across all currently documented Fabric policies, not a fixed list. The bundled snapshot describes preview policies and beta rule APIs, for evaluation/development and not recommended for production; verify current availability and contracts before presenting them as current.
CRITICAL NOTES
- To find workspace details (including its ID) from a workspace name: list all workspaces, then use JMESPath filtering. Follow pagination and resolve ambiguous matches.
- To find item details (including its ID) from workspace ID, item type, and name: list all items of that type in the workspace, then use JMESPath filtering.
- A workspace storing the PolicySet is NOT its enforcement scope. Tenant or Capacity is chosen at creation and cannot be changed; targeted workspaces are rule conditions.
- Creating a policy set does NOT activate it. Explicit approval is required before activation, replacement, deactivation, deletion, or editing rules in an active set.
- Rules are OR alternatives, not ordered overrides. A broad Allow rule can defeat a narrower restriction.
Read the relevant reference before mapping or reviewing a policy, constructing payloads, or executing commands. Load only the detail needed for the current request.
| Mode | Task | Read |
|---|---|---|
| Authoring | Map intent, discover objects/roles, construct and validate rules | Policy capabilities, then API reference for discovery; examples as needed |
| Consumption | Inspect policy sets, rules, or current activation without mutation | API reference above |
| Operations | Create/manage items or rules; activate, deactivate, replace | API reference above |
Use the generated policy knowledge inventory as a discovery seed, not proof of API acceptance or a replacement for live checks.
For authentication, discovery, REST transport, pagination, retry and LRO handling,
read COMMON-CLI.md and
COMMON-CORE.md. Do not reproduce shared setup guidance.
Use onelake-catalog-cli for catalog posture audits/remediation, not this
skill; KQL ingestion/retention policies belong to eventhouse-cli.
On each use, first check the latest official documentation using the live-discovery procedure in the policy capabilities reference. Enumerate the overview's supported policies and follow the relevant scenario and endpoint links; for an inventory request, cover every listed policy. Do not treat the table below as an allowlist. Include newly documented policies or changes once their semantics and contracts are verified, without requiring an update to this skill. If a documentation response is truncated, follow its pagination offsets until the supported-policy table and relevant REST enum are complete before reporting verification.
An explicitly offline request overrides live lookup. If offline or documentation is unavailable, use the dated bundled inventory/references, disclose that newer support is unverified, and do not claim a current inventory or infer absence from this table. Documentation lookup never authorizes tenant/API access or deployment.
For a free-text request to build a policy, do the work rather than return a manual CLI tutorial: discover the policy, resolve existing objects and role requirements read-only, generate the exact configuration, and present one approval-ready proposal. Do not require the user to supply IDs that authorized discovery can resolve. Advice-only, file-only and offline requests remain non-executing.
The proposal includes resolved names/IDs, storage workspace, scope, actor groups, required operator and governed-user roles, complete rules and allow/block cases, existing active-set conflicts, exact intended API changes, and rollback. One explicit approval can authorize creation, configuration and activation together when all are named in that reviewed plan. Before approval, make no mutations. After approval, execute the exact plan using the APIs, read back each stage and confirm activation; do not ask for the same approval again. Changed scope/rules, new conflicts, unapproved replacement, permission grants or rollback require fresh approval. Ambiguous names, unresolved business choices and missing access are genuine blockers, not reasons to guess or silently broaden permissions.
Offline baseline: inventory retrieved 2026-10-28; contract references verified 2026-10-26. These stored dates are available here even when separate file reads are forbidden; report them as baseline dates, not a live check. Neither the weekly refresh schedule nor a merge guarantees freshness or a maximum snapshot age.
| User intent | Policy | Scope | Support boundary |
|---|---|---|---|
| Restrict item creation by group, workspace, or item type | ItemCreation | Capacity | Verified beta rule contract |
| Restrict who can edit CMK or outbound-networking settings | WorkspaceSettingsEditing | Tenant | workspaceSettingsEditing.settingType selects Encryption / OutboundNetworking; governs editing, not setting values |
| Govern external data sharing by group, workspace, label, domain | ExternalDataSharing in the scenario article | Tenant | Documented capability, but absent from the bundled REST PolicyType enum: design only until a current contract is verified |
Do not describe workspace-setting editing as merely planned. Do not infer support for forcing encryption values, new-workspace defaults, arbitrary workspace settings, device restrictions, or new effects from this snapshot. Verify newer claims against official capability and endpoint documentation; announcements alone are not API contracts.
AnyOf values are OR; NoneOf means none match; separate
rules are OR. Omit a dimension to match all values, not "All" or "*".
Use exclusions in Allow rules rather than inventing Deny. Do not extrapolate
these semantics to a newly documented policy or effect without verifying its
evaluation model. An Allow effect alone does not establish defaults or rule
combination: label unverified outcomes as conditional assumptions, not facts.AnyOf/NoneOf, 1-50 nonempty string values, GUIDs,
API item/setting identifiers, and required fields. For the beta Create Policy Rule
request include effects: [{"type":"Allow"}] and ?beta=true; omit response-only
IDs/timestamps. Conceptual and REST schemas differ: follow the endpoint contract,
disclose the discrepancy, and do not claim local checking proves service acceptance.The repository's fabric-policy-knowledge.yml workflow checks official sources
weekly (Monday 08:00 UTC) and on manual dispatch. The refresh script follows the
overview's policy links, captures documented identifiers/scopes and source hashes,
and proposes changed knowledge in a draft PR; it does not deploy or auto-merge.
Failed fetches/schema changes preserve the last good inventory and fail the job.
Maintainers review changed contracts, guidance and evals before merging/publishing.
Scheduled refresh starts only after the workflow is on the default branch and
Actions/PR permissions are enabled. Installed copies receive reviewed updates through
their normal plugin update flow; per-use live discovery covers changes in between.
workspace.id, principal.groups.id, and item.type;
never carry user-supplied workspace.name or principal.id into corrected rules.allowReplace false unless replacement is approved.replaceByPolicy replaces ALL rules of that type;
a PATCH of conditions replaces the entire conditions array.AllowItemCreation / AllowExternalDataSharing API names, invented capacity
/policies endpoints, or Admin /governance/policyPackages.AllOf.ItemCreation, constrained Prod rule plus a workspace NoneOf [Prod]
complementary Allow rule. Resolve storage/target workspace, group and capacity IDs
read-only; ask only when discovery cannot resolve them.WorkspaceSettingsEditing, workspaceSettingsEditing.settingType AnyOf [Encryption]
AND group/workspace conditions, plus complementary rules for other settings and
other workspaces. A generic setting path is not valid. This does not enable encryption.Set effect or permanently ruling out future support.MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days