Search code examples
powershellsdksynchronizationssasanalysisservices

Synchronizing Analysis Services Tabular Model using SDK


I am creating a Powershell script to allow synchronizing a tabular model between two servers. I went through the documentation found for the Synchronize method on the Analysis Services SDK and I really do not understand what should be given to the "source" parameter. I have tried passing the server name/IP and an error is throw saying:

The data source or location is not valid. Please provide a valid server to which to connect...

Had anyone used this method before? Could not find examples online.


Solution

  • So the source argument for the Synchronize method is actually the connectionString to the source.