Commands › Power BI
Add-PowerBIRow
Adds rows to the specified table in a Power BI dataset.
Quick start script
# Add-PowerBIRow — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-PowerBIServiceAccount -ServicePrincipal -CertificateThumbprint $thumb -ApplicationId $appId -Tenant $tenantId
# 2. Run and inspect
Add-PowerBIRow -Dataset <Dataset> -DatasetId <Guid> -Rows <PSObject]> | Format-List
# 3. Export for evidence / drift tracking
Add-PowerBIRow | Export-Clixml .\PowerBIRow-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
Dataset (Default)
Add-PowerBIRow -Dataset <Dataset> -TableName <String>
-Rows <System.Collections.Generic.List`1[System.Management.Automation.PSObject]> [-WorkspaceId <Guid>]
[-Workspace <Workspace>] [<CommonParameters>]
DatasetId
Add-PowerBIRow -DatasetId <Guid> -TableName <String>
-Rows <System.Collections.Generic.List`1[System.Management.Automation.PSObject]> [-WorkspaceId <Guid>]
[-Workspace <Workspace>] [<CommonParameters>]
Parameters (6)
Reference facts derived from Microsoft documentation, © Microsoft, licensed MIT; restructured with original guidance by serv365.ai.