Null reference assignment to result at : https://github.com/AzureAD/SCIMReferenceCode/blob/d445ef901981fef684a220fe8cf6c97b588600fd/Microsoft.SystemForCrossDomainIdentityManagement/Service/HttpResponseExceptionFactory.cs#L20 is probably not what is expected. Consider replacing with : `message = null; `