I am trying to generate a Drift Report using sqlpackage.exe on the command line.
I open command prompt as Administrator. SQL Server 2012. Visual Studio 2013 Update 4, Team Foundation Server 2013 RTM. Windows 7, with latest patches.
I type in the below command, but the drift report xml file never gets created. The only feedback I get in the command window is "Generating drift report for database "Kiosk" on server 10.241.xxx.xxx.
After that message is displayed, it returns me to the command prompt and the xml file is nowhere to be found. I have looked at the Event viewer for any kind of error letting me know what is going on, but there is nothing. Below is the command:
sqlpackage /Action:DriftReport /TargetConnectionString:"Data Source=10.241.xxx.xxx;Integrated Security=True;Pooling=False;Initial Catalog=Kiosk" /OutputPath:"c:\Kiosk_Deploy_DriftReport.xml"