我有以下代码:
AuthenticationManager authManager = new AuthenticationManager();
clientContext = authManager.GetAzureADCredentialsContext(site, userSP, passWord);
clientContext.ExecuteQuery();
但是这段代码运行良好,
<块引用>clientContext.ExecuteQuery();
开始投掷
<块引用>底层连接已关闭:发生意外错误 发送
我按照这个 option 并更改为 tTls12 但它不起作用。 我还使用了 GetSharePointOnlineAuthenticatedContextTenant 而不是 GetAzureADCredentialsContext
可能是什么原因?如何解决这个问题?