Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powershell Set-Mailbox Exchange Online cmdlet不';t识别-CustomAttribute1参数_Powershell_Exchange Server - Fatal编程技术网

Powershell Set-Mailbox Exchange Online cmdlet不';t识别-CustomAttribute1参数

Powershell Set-Mailbox Exchange Online cmdlet不';t识别-CustomAttribute1参数,powershell,exchange-server,Powershell,Exchange Server,我正在创建一个脚本,该脚本将通过PowerShell更新用户的Exchange邮箱CustomAttribute1。我连接到O365服务器并运行了它。文档中明确指出此属性存在,但无法识别: 这是非常奇怪的,因为在文档中,参数明显存在: 知道为什么会这样吗?我们使用100%云环境,这意味着我已连接到Exchange Online shell。谢谢@Robin!参数存在,但我连接到Exchange Online的帐户没有足够的权限。在使用另一个具有全局管理功能的帐户登录后,它工作得非常出色。我们

我正在创建一个脚本,该脚本将通过PowerShell更新用户的Exchange邮箱CustomAttribute1。我连接到O365服务器并运行了它。文档中明确指出此属性存在,但无法识别:

这是非常奇怪的,因为在文档中,参数明显存在:


知道为什么会这样吗?我们使用100%云环境,这意味着我已连接到Exchange Online shell。

谢谢@Robin!参数存在,但我连接到Exchange Online的帐户没有足够的权限。在使用另一个具有全局管理功能的帐户登录后,它工作得非常出色。

我们过去也看到过类似的情况(能够使用参数调用命令,但命令似乎无法“查看”)。最终,这要归功于RBAC。一些阅读: