refactor provision_v3 for mssql

Change-Id: I404476b3b6875286fcb08f5daa1d325446629506