Commands › Power BI
Get-PowerBIActivityEvent
Retrieves the audit activity events for a Power BI tenant.
Quick start script
# Get-PowerBIActivityEvent — 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
Get-PowerBIActivityEvent -EndDateTime <String> -StartDateTime <String> | Format-List
# 3. Export for evidence / drift tracking
Get-PowerBIActivityEvent | Export-Clixml .\PowerBIActivityEvent-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-PowerBIActivityEvent -StartDateTime <String> -EndDateTime <String> [-ActivityType <String>]
[-User <String>] [-ResultType <OutputType>] [<CommonParameters>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed MIT; restructured with original guidance by serv365.ai.