Forum Discussion
Anonymous
8 years agoNot applicable
Script data source creation on a gateway
Hello,
I'd like to know if there is a way to script (or automatize in other way) the creation of a new data source on a gateway ?
The data source type will mostly be SSAS Tabular but it can also be all the other types.
Thank you.
Arthur
1 Reply
- v-yuta-msftCommunity Support
Hi Tusozor ,
To achieve your requirement, you can use power bi restful api. See similar post here: https://community.powerbi.com/t5/Developer/Automating-Power-BI-Gateway-administration-by-using-Powershell/td-p/207528.
https://community.powerbi.com/t5/Community-Knowledge-Base/Power-BI-REST-API-demos-in-C/ta-p/211155.
Regards,
Jimmy Tao