Remove-PowerBIReport

Deletes a Power BI report.

Syntax

Remove-PowerBIReport
      -Id <Guid>
      [<CommonParameters>]
Remove-PowerBIReport
      -Id <Guid>
      -WorkspaceId <Guid>
      [<CommonParameters>]
Remove-PowerBIReport
      -Id <Guid>
      -Workspace <Workspace>
      [<CommonParameters>]

Description

Removes a Power BI report from a workspace. If no workspace is specified, your personal (My Workspace) is used. Before you run this command, make sure you log in using Connect-PowerBIServiceAccount.

Examples

Example 1

PS C:\> Remove-PowerBIReport -Id 12345-abc56-jkl56-700a0 -WorkspaceId ccd01-bif87-abc12-34efg

Deletes a report with the GUID, '12345-abc56-jkl56-700a0', from the Workspace with ID of 'ccd01-bif87-abc12-34efg'.

Example 2

PS C:\> Remove-PowerBIReport -Id 12345-abc56-jkl56-700a0

Deletes a report with the GUID of '12345-abc56-jkl56-700a0' from your personal workspace.

Parameters

-Id

Id of the report to be deleted.

Type:Guid
Aliases:ReportId
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Workspace

Workspace object that contains the report to be deleted.

Type:Workspace
Aliases:Group
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WorkspaceId

Id of the workspace that contains the report to be deleted.

Type:Guid
Aliases:GroupId
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Void