Forum Discussion
Datamart Cmdlet and Allow Refresh
We utilize the Invoke-PowerBIRestMethod cmdlet to refresh our datasets on the service when the on prem data is ready. This process is needed as our data warehouse and other sources do not refresh at a consistent time and we need the refresh to be event driven.
We have started using datamarts to store our data. When a datamart gets created it creates a dataset. These datasets can not be refreshed vis the above method. However it does not appear there is an API option for datamarts for this seem behavior.
If anyone has a solution I am curious. I tried the cmdlet Invoke-RestMethod as well and it also did not work.
3 Replies
- v-yinliw-msftCommunity Support
Hi loweg ,
Please review the following documents to hope to help you:Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn
Hope this helps you.
Best Regards,
Community Support Team _Yinliw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- lowegFrequent Visitor
Thank you for sharing but there is no mention of DataMarts in this documentation. I assume since it is a Preview feature it is not yet available via API or CmdLet.
- apoellinNew Member
Is this supported now? I still cannot find an option about refreshing Datamarts on demand