问题描述
我正在尝试运行Add-SPShellAdmin命令来向我的SharePoint 2013环境授予NTAUTHORITY/SYSTEM权限(第三方工具需要这些权限才能起作用).
I am trying to running the Add-SPShellAdmin command to grant NTAUTHORITY/SYSTEM permissions to my SharePoint 2013 environment (a third party tool requires these permissions to work).
尝试在共享点Powershell控制台中执行Add-SPShellAdmin NTAUTHORITY/SYSTEM时,出现以下错误.关于我应该如何使此命令起作用的任何想法.错误文本如下.
Trying to execute Add-SPShellAdmin NTAUTHORITY/SYSTEM in a sharepoint powershell console I get the following error below. Any ideas on what I should try to get this command to work. Error text is as follows.
Add-SPShellAdmin:无法转换某些或所有身份引用.
Add-SPShellAdmin : Some or all identity references could not be translated.
第2行,char:1
At line:2 char:1
+ Add-SPShellAdmin-用户名NTAUTHORITY/SYSTEM
+ Add-SPShellAdmin -username NTAUTHORITY/SYSTEM
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo:InvalidData:(Microsoft.Share ... AddSPSHellAdmin:SPCmdletAddSPShellAdmin)[Add-SPShellAdmin],IdentityNotMappedExcception
+ CategoryInfo : InvalidData: (Microsoft.Share...AddSPSHellAdmin:SPCmdletAddSPShellAdmin) [Add-SPShellAdmin], IdentityNotMappedExcception
+ FullyQualifiedErrorId:Microsoft.SharePoint.PowerShell.SPCmdletAddSPShellAdmin
+FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddSPShellAdmin
修复了应该正常工作的东西=)
Fixing things that ought to just work =)
推荐答案
Add-SPShellAdmin-用户名"NT Authority \ System"
Add-SPShellAdmin -UserName "NT Authority\System"
这篇关于对NTAUTHORITY/SYSTEM错误执行Add-SPShellAdmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!