Forum Discussion

Ybam's avatar
Ybam
Icon for Helper I rankHelper I
5 years ago
Solved

PowerShell Invoke-PowerBIRestMethod -Method Post WriteError

Hi,  I have a PowerShell script for Rebind my report in a workspace.    $clientId = "myClientId" $clientSec = "myClientSecret" | ConvertTo-SecureString -AsPlainText -Force $tenantId = "myTenant...
  • Ybam's avatar
    Ybam
    5 years ago

    Hi v-lionel-msft , 

    Yes I'm sure I have these permissions. 

    My error was fixed. 

    My problem was the "Headers" parameter of my invoke method. 

    I didn't need the token since I was already logged in.