I am executing an XMLA script which creates a database. The Data Source object in the database is created successfully. When I view the connection string of the data source, the radio button for 'Use SQL Server Authentication' is selected (with blank username and password), even though the connection string specifies "Integrated Security=SSPI". I need the option of 'Use Windows Authentication' to be selected automatically from my script.
Here is the relevant XMLA that creates the data source:
<DataSource xsi:type="RelationalDataSource">
<ID>MyDataStore</ID>
<Name>MyDataStore</Name>
<ConnectionString>Provider=SQLNCLI10.1;Data Source=MYSERVER;Integrated Security=SSPI;Initial Catalog=MYDB</ConnectionString>
<ImpersonationInfo>
<ImpersonationMode>Default</ImpersonationMode>
</ImpersonationInfo>
<Timeout>PT0S</Timeout>
</DataSource>