In Riva, advanced options can be used to remove unwanted categories
The advanced options can be applied
This section applies to Riva 2.4.25 or higher. — In Riva 2.4.45 (forty-five) or higher, a more efficient technology is available; see Remove categories from Exchange items (Riva 2.4.45 or Higher).
Caution: Regular expression (regex) patterns.
This process requires a comprehensive understanding of regex patterns. Clients can contact the Riva Success Team to request professional services to prepare regex patterns required for their use.
To remove categories from previously synced items:
Examples of regex patterns:
To remove multiple regex patterns, separate them with a pipe ("|", which is ASCII code 124).
Sync.Crm.RivaBadCategoryRegexPattern = "Regex pattern 1 | Regex pattern 2 | Regex pattern 3"
This section applies to Riva 2.4.25 or higher. To remove a category for one, some, or all users, an advanced option and a re-initialization option are used. — In Riva 2.4.47 or higher, to remove a custom category for all users, a check box is selected; see Remove categories from the Master Category List of all synced users (Riva 2.4.47 or higher).
Category name match.
To remove a category from the Users' Master Category Lists:
Wildcard characters and the patterns that they represent:
To remove multiple category name patterns, separate them with commas (,) or semicolons (;).
Crm.CustomMasterCategories.RemovePatterns = "Category name pattern 1, Category name pattern 2, Category name pattern 3"