Forum Discussion
Ybam
Helper I
5 years agoPowerShell 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...
- 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.
v-lionel-msft
Community Support
5 years agoHi Ybam ,
thank you for your sharing.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.