Forum Discussion
Get Dashboards As Admin Expand Tiles Not Working
- 5 years ago
I discovered the "Try It" button on the API documentation page. After playing with this it gave me more meaningful responses then then the Power BI Invoke-PowerBiResetMethod cmdlet does. I discovered I needed to add the $top query parameter in order for the $expand parameter to take effect. When using the cmdlet it apears the behavior is just to throw out the $expand parameter if $top is missing and sweep it all under the rug pretending nothing happened. Final URL endpoint to get it working....
https://api.powerbi.com/v1.0/myorg/admin/dashboards?$expand=tiles&$top=5000
I discovered the "Try It" button on the API documentation page. After playing with this it gave me more meaningful responses then then the Power BI Invoke-PowerBiResetMethod cmdlet does. I discovered I needed to add the $top query parameter in order for the $expand parameter to take effect. When using the cmdlet it apears the behavior is just to throw out the $expand parameter if $top is missing and sweep it all under the rug pretending nothing happened. Final URL endpoint to get it working....
https://api.powerbi.com/v1.0/myorg/admin/dashboards?$expand=tiles&$top=5000