Hi @Taylor, Damien ,
To be honest, PowerShell is beyond my abilities. The following content is for reference only, and may not be of significance to resolving the issue:
If updating the connection string and the data source makes use of stored credentials, you need to provide the account password.
To update a data source connection string:
$dataSources[0].ConnectionString = 'data source=myCatalogServer;initial catalog=ReportServer;persist security info=False'
To change the data source credential type:
$dataSources[0].DataModelDataSource.AuthType = 'Integrated'
To change the data source username/password:
$dataSources[0].DataModelDataSource.Username = 'domain\user'
$dataSources[0].DataModelDataSource.Secret = 'password'
Best Regards,
Joy
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.