共用方式為


MicrosoftPowerBIMgmt.Profile Module

用於管理與 Power BI 服務連接的 PowerShell cmdlet。

MicrosoftPowerBIMgmt.Profile Cmdlet

指令程式 Description
Connect-PowerBIServiceAccount

Log in to the Power BI service.

Disconnect-PowerBIServiceAccount

Log out of the Power BI service.

Get-PowerBIAccessToken

Gets the access token for your current Power BI authenticated session.

Invoke-PowerBIRestMethod

Executes a REST call to the Power BI service, with the specified URL and body.

Resolve-PowerBIError

Shows detailed error information produced from MicrosoftPowerBIMgmt.* cmdlets.