I am using Powersehll in Azure run book with Service principal account to connect PowerBI. However, I am unable to fetch the datasource with the help of Report ID.
I've tried the below API to get the datasources based on the reportid but powershell encountered an error.
Source Code example.
Is your runbook running on Powershell Core 6 or better?
and have a look this document:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.