Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/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
在蔚蓝的云壳中错过了新的AzureADPolicy_Azure_Azure Active Directory_Azure Powershell_Azure Cloud Shell - Fatal编程技术网

在蔚蓝的云壳中错过了新的AzureADPolicy

在蔚蓝的云壳中错过了新的AzureADPolicy,azure,azure-active-directory,azure-powershell,azure-cloud-shell,Azure,Azure Active Directory,Azure Powershell,Azure Cloud Shell,在蔚蓝的云壳中错过了新的AzureADPolicy 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 c

在蔚蓝的云壳中错过了新的AzureADPolicy

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云shell中以某种方式使用Azure AD?

AzureAD
模块包含在Azure云shell中,但新AzureADPolicy现在只存在于
AzureADPreview
模块中,我们无法在Azure云shell中安装此模块。因此,我们无法在Azure cloud shell中运行
新AzureADPolicy


但我们可以在Azure cloud shell中运行大多数AzureAD命令列表,无需安装AzureAD模块。

不支持在cloud shell中安装模块,您可以在本地安装。但可能一个月前,该命令可用,我使用索赔映射策略,另外,我在本地也有同样的错误,你是说
安装模块-Name AzureADPreview
一个月前在cloud shell中工作?顺便说一下,云shell从不支持安装模块。我的意思是,如果在windows 10上本地安装模块-名称AzureADPreview出现相同错误,新的AzureADPolicy以前也可用