powerbi-authoring-cli

Automate Power BI semantic model lifecycle via Fabric and Power BI REST APIs.

14|3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/patrikborosch/AnalyticsPlatformAgents --skill powerbi-authoring-cli-patrikborosch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: powerbi-authoring-cli
Source: https://github.com/patrikborosch/AnalyticsPlatformAgents/tree/main/creator/skills/powerbi-authoring-cli
Command: npx skills add https://github.com/patrikborosch/AnalyticsPlatformAgents --skill powerbi-authoring-cli-patrikborosch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manually creating, updating, and deploying Power BI semantic models in Microsoft Fabric via the UI is slow, repetitive, and prone to human error, especially when moving models between environments or performing bulk operational tasks.

Core Features & Use Cases

  • Full semantic model lifecycle via CLI: Create new semantic models from TMDL/TMSL definitions, download existing model definitions for backup or modification, and update models with revised definitions using the Fabric Items API.
  • Operational task automation: Trigger and monitor dataset refreshes, configure data sources and parameters, manage dataset user permissions, and deploy models between Fabric deployment pipeline stages using the Power BI Datasets API.
  • Direct Lake specialized support: Includes verified workflows and guardrails for creating Direct Lake semantic models connected to OneLake delta tables, a common requirement for Fabric-based analytics platforms.
  • Use Case: A BI developer can use this skill to deploy a TMDL-defined semantic model to a Fabric workspace, set up a scheduled refresh, grant read access to the business team, and validate model measures via DAX queries, all without manual UI steps.

Quick Start

Use this skill to deploy your TMDL-defined Power BI semantic model to a specified Microsoft Fabric workspace, configure its refresh schedule, and grant read access to designated users.

Frequently Asked Questions about powerbi-authoring-cli

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

FAQPage Schema
How do I automate Power BI semantic model deployment in Microsoft Fabric?

You can automate Power BI semantic model deployment by making CLI calls to Fabric and Power BI REST APIs to push TMDL/TMSL definitions to workspaces. It handles long-running operation polling for asynchronous API execution.

Can I create a Direct Lake semantic model connected to OneLake via CLI?

Yes, you can create a Direct Lake semantic model via CLI. This skill provides verified workflows and guardrails for connecting models to OneLake delta tables using the Fabric Items API without manual UI configuration.

Do I need Azure CLI authentication to trigger a dataset refresh in Fabric?

Yes, Azure CLI authentication is required to trigger and monitor a dataset refresh. The skill uses Azure CLI credentials to securely call the Power BI Datasets API for executing and tracking refresh operations.

What is the best way to move Power BI datasets between deployment pipeline stages?

The best way to move Power BI datasets between pipeline stages is automating calls to the Power BI Datasets API. This skill deploys models across Fabric deployment pipeline stages, eliminating slow and repetitive manual UI processes.

How do I update TMDL definitions for an existing Power BI semantic model?

You update TMDL definitions for an existing Power BI semantic model by pushing revised definitions via the Fabric Items API. The skill enforces TMDL syntax compliance and applies updates without requiring manual UI intervention.