MscrmTools / MsCrmTools.UserSettingsUtility

XrmToolBox plugin to manage users personal settings in bulk
GNU General Public License v3.0
7 stars 11 forks source link

Log errors but continue applying settings #40

Closed Roland80 closed 4 years ago

Roland80 commented 4 years ago

When you're applying settings to a lot of users and one user's settings can't be updated, an error is thrown, and the process stops. While it makes sense that this happens, there's no clear indication which user caused the error and thus where to continue applying the settings. Via trial & error, using small batches of users at a time, it's possible to pinpoint which users are 'problematic', but that's very time consuming when there are ~1700 users and 12 cause an error.

Would it be possible to adjust the plugin so it skips users which cause an error, keeping a log of those particular records? The log doesn't have to be very detailed IMO, as long as it would contain which users couldn't be updated would be enough.