Forum Discussion
SamTrexler
Helper IV
7 years agoPowerShell get-gateways always returns blank value
I am using PowerShell to retrieve information on dashboards, tiles, reports, datasets, dataset refreshes, etc. - using both the cmdlets and Invoke-PowerBIRestMethod. All is well, I am able to retrieve...
- 7 years ago
Hi Sam,
Since there isn't a REST API of gateways for Admin, I think you have gotten the expected result.
Best Regards,
SamTrexler
Helper IV
7 years ago
It seems to be working correctly now. I don't know why I got all five gateways the first time, pobably a coding error on my part.
At this point I have it pretty well debugged. And I get every gateway in the tenant which has my connection account as an administrator.
Is that expected behavior?
Thanks,
Sam
v-jiascu-msft
Microsoft Employee
7 years agoHi Sam,
Since there isn't a REST API of gateways for Admin, I think you have gotten the expected result.
Best Regards,
- SamTrexler7 years ago
Helper IV
Thanks, v-jiascu-msft. You have been very helpful.