Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
$workspaceId
$profileId
# Construct the headers and URL for the API call
$SPHeader = @{'X-PowerBI-profile-id' = $profileId}
$url = "https://api.powerbi.com/v1.0/myorg/admin/groups/$workspaceId"
$body = @{
"logAnalyticsWorkspace" = @{
"subscriptionId" = "subscriptionId"
"resourceGroup" = "resourceGroupName"
"resourceName" = "LogAnalyticsWorkspaceName"
}
}
# Make the API call
$response = Invoke-PowerBIRestMethod -Method 'Patch' -Url $url -Body $body -Verbose
$response | ConvertTo-Json
When you Invoke-PowerBIRestMethod you use relative URIs, not the full URL (you would use the full URL with Invoke-RestMethod)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 17 | |
| 10 | |
| 9 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 31 | |
| 27 | |
| 25 |