migueesc123 / PowerBIRESTAPI

A Microsoft Power BI Data Connector or Power Query Connector for the Power BI REST API
MIT License
238 stars 74 forks source link

Gateway APIs not working - missing column 'id' #72

Closed eziam-l closed 3 years ago

eziam-l commented 3 years ago

Gateway-missing colum

klinejordan commented 3 years ago

Are you a gateway administrator on at least one non personal gateway in your tenant?

eziam-l commented 3 years ago

@klinejordan that was the issue. It works only for gateways I am admin of.

I was thinking PBI admin accounts would be able to see all gateways in the tenant.

klinejordan commented 3 years ago

Yes, PBI admin accounts only work for the APIs in the Power BI Service Administrator folder because the Gateway APIs themselves explicitly require the use to have the gateway administrator role - PBI Service Administrator is (strangely) not enough.

Chris-Burgess-ACTGOV commented 3 years ago

Hey Guys vote for this - get gateways as admin - REST API using Service Principal - trying to get Admin access to the Gateway data :)