Azure 云中缺少 New-AzureADPolicy shell
New-AzureADPolicy missed in the Azure cloud shell
Azure 云中缺少 New-AzureADPolicy shell
New-AzureADPolicy : The term 'New-AzureADPolicy' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
此外,如果尝试安装 AzureADPreview
Install-Module -Name AzureADPreview
结果是:
PackageManagement\Install-Package : Unable to load shared library 'api-ms-win-core-sysinfo-l1-1-0.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libapi-ms-win-core-sysinfo-l1-1-0.dll: cannot open shared object file: No such file or directory
是否可以在 Web 云中以某种方式使用 Azure AD shell?
AzureAD
模块包含在 Azure 云 shell 中,但是 New-AzureADPolicy
现在只存在 在 AzureADPreview
模块中并且我们无法在 Azure 云 shell 中安装此模块。所以我们不能运行 New-AzureADPolicy
in Azure cloud shell.
但我们可以运行大多数AzureAD命令列表here在Azure云shell,不需要安装AzureAD模块。
Azure 云中缺少 New-AzureADPolicy shell
New-AzureADPolicy : The term 'New-AzureADPolicy' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
此外,如果尝试安装 AzureADPreview
Install-Module -Name AzureADPreview
结果是:
PackageManagement\Install-Package : Unable to load shared library 'api-ms-win-core-sysinfo-l1-1-0.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libapi-ms-win-core-sysinfo-l1-1-0.dll: cannot open shared object file: No such file or directory
是否可以在 Web 云中以某种方式使用 Azure AD shell?
AzureAD
模块包含在 Azure 云 shell 中,但是 New-AzureADPolicy
现在只存在 在 AzureADPreview
模块中并且我们无法在 Azure 云 shell 中安装此模块。所以我们不能运行 New-AzureADPolicy
in Azure cloud shell.
但我们可以运行大多数AzureAD命令列表here在Azure云shell,不需要安装AzureAD模块。