在使用CrmService往数据库批量Create记录时,为了提高性能经常会设置PreAuthenticate为true,但是如果在创建记录前,往往需要RetrieveMultiple其他实体来查找lookup的值,这样在程序运行时经常会发生HTTP status 401: Unauthorized错误,所以建议这样的情况下不要
设置PreAuthenticate为true。
转载于:https://www.cnblogs.com/caims/archive/2008/12/07/1349766.html