When using Microsoft Graph SDK, the error handling can be a bit unmanagable. E.g.
You you add a user to a group, and the user was already in that group it will fail. The only way to actually find out that this was the reason it failed is to match the error message (which is a long text string).
For this particular case, you don't care if it fails as the outcome will be the same either way (user is in the group). This error should be easier to match on and ignore as a result.4 votes
- Don't see your idea?