To enable Windows Authentication to the MSSQL instance please follow below steps:
Please amend the following entry in web.config file (default location: C:\inetpub\wwwroot\tfs-jira-synchronizer)
from: <add name="SyncProfileContextExpressConnection" connectionString="Data Source=localhost\TFS4JIRA; Database=TFS4JIRA; User Id=TFS4JIRA_Synchronizer_User; Password=B$3K94ynVQf7aDm!; MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
to: <add name="SyncProfileContextExpressConnection" connectionString="Data Source=localhost\TFS4JIRA; Initial Catalog=TFS4JIRA;Integrated Security=True; MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
Add access for
ApplicationPoolIdentity
user to SQL Express database OR change the Identity ofTFS4JIRA Sync App Pool
user to the one with permissions to SQL Express database. To do the latter please follow below steps:Stop
TFS4JIRA Sync App Pool
application pool in IIS using IIS Manager (cmd: inetmgr)Go to Advanced Settings
Click (…) next to Identity
Choose Custom account
Enter authorized (in SQL instance) user credentials and click OK
Start
TFS4JIRA Sync App Pool
application pool