Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy SSAS Project using TFS Command Line

How do I deploy an SSAS Cube project from TFS 2015?

For regular database projects, it is sqlpackage.exe /publish with publish profile.

What is the command line argument to auto deploy SSAS Project Model into a server?

We are currently using SQL Server 2016 Enterprise.


1 Answers

You must use Microsoft.AnalysisServices.Deployment.exe located in

C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio

Syntax

Microsoft.AnalysisServices.Deployment [ASdatabasefile]    
{[/s[:logfile]] | [/a] | [[/o[:output_script_file]] [/d]]}

Make sure to use /s to run in silent mode to prevent opening the wizard:

For more information about the arguments check the following article:

  • Deploy Model Solutions with the Deployment Utility

References

  • Running the Analysis Services Deployment Wizard at the Command Prompt
  • Deploy Model Solutions with the Deployment Utility
like image 116
Hadi Avatar answered Sep 16 '26 06:09

Hadi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!