
Powerbi Authoring Cli
Look up which Fabric and Power BI REST APIs return each semantic-model property before you script dataset inspection or refresh tooling.
Install
npx skills add https://github.com/microsoft/skills-for-fabric --skill powerbi-authoring-cliWhat is this skill?
- Maps property categories to three API surfaces when the Fabric API has gaps
- Covers Fabric Items GET semanticModels, dataset metadata, and POST getDefinition with TMDL format
- Documents refresh history, refresh execution details, and Import refresh schedule endpoints
- Links authentication audiences and agentic workflow steps to the parent SKILL.md
- Clarifies owner, storage mode, created date, and query scale-out via Power BI Datasets API
Adoption & trust: 71 installs on skills.sh; 427 GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Paper Context Resolverlllllllama/ai-paper-reproduction-skill
Repo Intake And Planlllllllama/ai-paper-reproduction-skill
Env And Assets Bootstraplllllllama/ai-paper-reproduction-skill
Minimal Run And Auditlllllllama/ai-paper-reproduction-skill
Analyze Projectlllllllama/rigorpilot-skills
Ai Research Reproductionlllllllama/rigorpilot-skills
Journey fit
Primary fit
Semantic model authoring and property retrieval happens while wiring analytics integrations into a product or internal Fabric workspace. The skill is a cross-API integration map (Fabric Items, Power BI Datasets, TMDL export), not a standalone ship or operate runbook.
Common Questions / FAQ
Is Powerbi Authoring Cli safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Powerbi Authoring Cli
# How to Retrieve Semantic Model Properties Semantic model properties are spread across **three distinct API surfaces** due to gaps in the Fabric API. This guide maps each property category to the correct retrieval method. For authentication, variable setup, and audience details, see [SKILL.md § Authentication & API Audiences](../SKILL.md#authentication--api-audiences). --- ## Property-to-API Mapping | Property Category | API Surface | Endpoint Pattern | SKILL.md Section | |---|---|---|---| | Name, ID, Description, Type | Fabric Items | `GET .../semanticModels/{id}` | [Agentic Workflow](../SKILL.md#agentic-workflow) step 2 | | Owner, Storage Mode, Created Date | Power BI Datasets | `GET .../datasets/{id}` | — (see [below](#owner-storage-mode--operational-metadata)) | | Query Scale-Out Settings | Power BI Datasets | `GET .../datasets/{id}` | — (see [below](#owner-storage-mode--operational-metadata)) | | Full TMDL Schema | Fabric Items | `POST .../semanticModels/{id}/getDefinition?format=TMDL` | [Get/Download Definition](../SKILL.md#getdownload-definition) | | Refresh History & Status | Power BI Datasets | `GET .../datasets/{id}/refreshes` | [Refresh Operations](../SKILL.md#refresh-operations) | | Refresh Execution Details | Power BI Datasets | `GET .../datasets/{id}/refreshes/{refreshId}` | — (see [below](#refresh-history-response-properties)) | | Refresh Schedule (Import) | Power BI Datasets | `GET .../datasets/{id}/refreshSchedule` | [Refresh Operations](../SKILL.md#refresh-operations) | | Refresh Schedule (DirectQuery/LiveConnection) | Power BI Datasets | `GET .../datasets/{id}/directQueryRefreshSchedule` | — (see [below](#directquery--liveconnection-refresh-schedule)) | | Data Sources | Power BI Datasets | `GET .../datasets/{id}/datasources` | [Data Sources & Parameters](../SKILL.md#data-sources--parameters) | | Gateway Data Sources | Power BI Datasets | `GET .../datasets/{id}/Default.GetBoundGatewayDatasources` | — | | Discoverable Gateways | Power BI Datasets | `GET .../datasets/{id}/Default.DiscoverGateways` | — | | Parameters | Power BI Datasets | `GET .../datasets/{id}/parameters` | [Data Sources & Parameters](../SKILL.md#data-sources--parameters) | | Permissions | Power BI Datasets | `GET .../datasets/{id}/users` | [Permissions](../SKILL.md#permissions) | | Upstream Dataflow Links | Power BI Datasets | `GET .../datasets/upstreamDataflows` | — (see [below](#upstream-dataflow-links)) | | Query Scale-Out Sync Status | Power BI Datasets | `GET .../datasets/{id}/queryScaleOut/syncStatus` | — | | Tables, Columns, Measures | TMDL Definition | Decode `definition/tables/*.tmdl` parts | [TMDL File Structure](../SKILL.md#tmdl-file-structure) | | Relationships | TMDL Definition | Decode `definition/relationships.tmdl` part | [TMDL File Structure](../SKILL.md#tmdl-file-structure) | | M Expressions / Connections | TMDL Definition | Decode `definition/expressions*` parts | [TMDL File Structure](../SKILL.md#tmdl-file-structure) | --- ## Owner, Storage Mode & Operational Metadata These properties are **only available** via the Power BI Datasets API — the Fabric Items API does not expose them. ```bash az rest --method get \ --resource "https://analysis.windows.net/powerbi/api" \ --url "$PBI/groups/$WS_ID/datasets/$MODEL_ID" ``` **Properties returned**: | Property | Description | |---|---| | `configuredBy` | Owner / last configured by (user principal name) | | `createdDate` | ISO 8601 creation timestamp | | `targetStorageMode` | `Abf` (Direct Lake), `PremiumFiles` (Import on Fabric), `Import` | | `isRefreshable` | Whether the model supports refresh (always `false` for DirectQuery/LiveConnection) | | `isEffectiveIdentityRequired` | RLS requires effective identity in embed scenarios | | `isEffectiveIdentityRolesRequired` | RLS roles must be specified | | `isOnPremGatewayRequired` | On-premises gateway needed for data sources | | `isInPlaceSharingEnabled` | Whether the dataset can be shared with external users to consume in