Update documentation for Power BI REST API via Powershell: Create Datasource
The documentation on how to create or update gateway data sources using PowerShell needs to be updated. Several users experience issues: https://community.powerbi.com/t5/Developer/Power-BI-REST-API-via-Powershell-Create-Datasource/m-p/590293#M17980
- A working example would be helpfull
- Detailled instructions how to compose "credentionDetail" information is needed. A working example how to encrypt the credetials would be very helpfull.
- A list of availlable values for "dataSourceType" is needed.
yes I would like to see an example or someone help figuring out this issue.