SQL Change Automation (TFS plugin): Dropping Users during deployment
kevin_neumann
Posts: 2 New member
We're using the TFS Plugin for SQL Change Automation 3, and we've got a build and release pipeline set up. During the SQL CA Release step, we're seeing roles and users getting dropped from the destination database, even though we've included the IgnoreUsersPermissionsAndRoleMemberships flag in the SQL Compare options.
Our verbatim options are as follows:
IgnoreFillFactor, IgnorePermissions, IgnoreWhiteSpace, IgnoreBindings, IgnoreIdentitySeedAndIncrement, IgnoreCertificatesAndCryptoKeys, IgnoreUsersPermissionsAndRoleMemberships, IgnoreUserProperties, IgnoreWithElementOrder, IgnoreReplicationTriggers, IgnoreNotForReplication, IgnoreDatabaseAndServerName, IgnoreSchemaObjectAuthorization, DecryptPost2KEncryptedObjects, IgnoreTSQLT
Are we specifying these options incorrectly, or is there some option we're missing? We've tried with and without spaces after the comma, but that didn't seem to make a difference.
Our verbatim options are as follows:
IgnoreFillFactor, IgnorePermissions, IgnoreWhiteSpace, IgnoreBindings, IgnoreIdentitySeedAndIncrement, IgnoreCertificatesAndCryptoKeys, IgnoreUsersPermissionsAndRoleMemberships, IgnoreUserProperties, IgnoreWithElementOrder, IgnoreReplicationTriggers, IgnoreNotForReplication, IgnoreDatabaseAndServerName, IgnoreSchemaObjectAuthorization, DecryptPost2KEncryptedObjects, IgnoreTSQLT
Are we specifying these options incorrectly, or is there some option we're missing? We've tried with and without spaces after the comma, but that didn't seem to make a difference.
Tagged:
Best Answer
-
chris_godfree Posts: 50 Silver 1Are you using a filter file and is the same file being used when you commit objects to source control and during your build & release pipelines? From when I first set-up our TFS pipelines and a user was being dropped, I think the only way to exclude users/roles is via a filter rule. The option you mention will not exclude users, only their permissions.
Answers