Commands › Power BI

Disconnect-PowerBIServiceAccount

Power BI MicrosoftPowerBIMgmt Disconnect-*

Log out of the Power BI service.

Quick start script

# Disconnect-PowerBIServiceAccount — 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
Disconnect-PowerBIServiceAccount | Format-List

# 3. Export for evidence / drift tracking
Disconnect-PowerBIServiceAccount | Export-Clixml .\PowerBIServiceAccount-$(Get-Date -Format yyyyMMdd).xml

Syntax

Disconnect-PowerBIServiceAccount [<CommonParameters>]

Reference facts derived from Microsoft documentation, © Microsoft, licensed MIT; restructured with original guidance by serv365.ai.