Forum Discussion
IbisRipley
4 years agoFrequent Visitor
ReportingServicesTools Set-RsRestItemDataSource - BAD REQUEST how to diagnose?
I am attempting to write a script to update Datasource connect strings for power bi reports on PBIRS(on prem, no service) - Trying to add a port to the ( sharepoint ) url in the connect string. For...
DustinKeith
3 years agoNew Member
I am having the same issue. I can set many of the values (e. g. Name, Description, DataModelDataSource.AuthType, DataModelDataSource.Username) but, as soon as I add in the DataModelDataSource.Secret = "mypw" it results in the Bad Request (400) error.
That rules out the cerdentials being wrong/expired. I have tried setting the CredentialRetrieval to "prompt" and "store" with no success.