日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

SharePoint Set-SPUser 命令拒绝访问

發布時間:2025/3/15 编程问答 22 豆豆
生活随笔 收集整理的這篇文章主要介紹了 SharePoint Set-SPUser 命令拒绝访问 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

  · 前言

  最近碰到一個問題,由于User Profile Service服務有問題,用戶信息無法更新。所以,想到Set-SPUser命令可以更新,于是乎找到這個命令,但是更新的時候發現拒絕訪問的錯誤。找了很久原因,發現需要設置一下權限,不知道是否還會有人遇到類似的問題,記錄一下分享給大家。

  參考鏈接可能需要梯子,如果無法訪問的同學了解一下。

·?Solution:? Add a web application user policy with Full control for the Farm Administrator who runs the Script!

  • Open SharePoint 2016/2013/2010 Central Administration site as a Farm Administrator
  • Click Application Management >> Select Manage Web Applications.
  • Select your target web application >> Click the User Policy button from the ribbon.
  • From the Policy for Web Application dialog box, click on "Add Users" link.
  • Select All Zones for the web application and click on Next
  • Enter the user account and Select the permission policy level as "Full Control"
  • Click Finish to save your changes.?


參考鏈接:?http://www.sharepointdiary.com/2016/03/access-is-denied-exception-from-hresult-0x80070005-powershell.html#ixzz5PRL5sK36

轉載于:https://www.cnblogs.com/jianyus/p/9547088.html

總結

以上是生活随笔為你收集整理的SharePoint Set-SPUser 命令拒绝访问的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。