Commands › Power BI
Copy-PowerBIReport
Creates a copy of the specified Power BI report.
Quick start script
# Copy-PowerBIReport — 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
Copy-PowerBIReport -Id <Guid> -Name <String> -Report <Report> | Format-List
# 3. Export for evidence / drift tracking
Copy-PowerBIReport | Export-Clixml .\PowerBIReport-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
Id (Default)
Copy-PowerBIReport -Name <String> -Id <Guid> [-WorkspaceId <String>] [-Workspace <Workspace>]
[-TargetWorkspaceId <String>] [-TargetDatasetId <String>] [<CommonParameters>]
WorkspaceObject
Copy-PowerBIReport [-Name <String>] -Report <Report> [-WorkspaceId <String>] [-Workspace <Workspace>]
[-TargetWorkspaceId <String>] [-TargetDatasetId <String>] [<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed MIT; restructured with original guidance by serv365.ai.