zh-Hans/Microsoft.Open.MS.GraphV10.PowerShell.dll-Help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Add-AzureADMSAdministrativeUnitMember</command:name> <command:verb>Add</command:verb> <command:noun>AzureADMSAdministrativeUnitMember</command:noun> <maml:description> <maml:para>添加管理单元成员。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Add-AzureADMSAdministrativeUnitMember cmdlet 添加 Active Directory 管理单元成员。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Add-AzureADMSAdministrativeUnitMember</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为: * Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Active Directory 管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>RefObjectId</maml:name> <maml:Description> <maml:para>指定要分配为所有者/管理员/成员的特定 Azure Active Directory 对象的唯一 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为: * Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Active Directory 管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>RefObjectId</maml:name> <maml:Description> <maml:para>指定要分配为所有者/管理员/成员的特定 Azure Active Directory 对象的唯一 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples/> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSAdministrativeUnitMember</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSAdministrativeUnitMember</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Add-AzureADMSScopedRoleMembership</command:name> <command:verb>Add</command:verb> <command:noun>AzureADMSScopedRoleMembership</command:noun> <maml:description> <maml:para>向管理单元添加作用域内角色成员身份。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Add-AzureADMSScopedRoleMembership cmdlet 向管理单元添加作用域内角色成员身份。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Add-AzureADMSScopedRoleMembership</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AdministrativeUnitId</maml:name> <maml:Description> <maml:para>指定管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para></maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>RoleMemberInfo</maml:name> <maml:Description> <maml:para>指定 RoleMemberInfo 对象。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">RoleMemberInfo</command:parameterValue> <dev:type> <maml:name>RoleMemberInfo</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>RoleId</maml:name> <maml:Description> <maml:para></maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AdministrativeUnitId</maml:name> <maml:Description> <maml:para>指定管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para></maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>RoleMemberInfo</maml:name> <maml:Description> <maml:para>指定 RoleMemberInfo 对象。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">RoleMemberInfo</command:parameterValue> <dev:type> <maml:name>RoleMemberInfo</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>RoleObjectId</maml:name> <maml:Description> <maml:para></maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>示例 1</maml:title> <dev:code>$User = Get-AzureADUser -SearchString "The user that will be an admin on this unit" $Role = Get-AzureADDirectoryRole | Where-Object -Property DisplayName -EQ -Value "User Account Administrator" $Unit = Get-AzureADMSAdministrativeUnit | Where-Object -Property DisplayName -Eq -Value "<The display name of the unit" $RoleMember = New-Object -TypeName Microsoft.Open.MSGraph.Model.MsRolememberinfo.RoleMemberInfo $RoleMember.Id = $User.ObjectID Add-AzureADMSScopedRoleMembership -Id $Unit.Id -RoleId $Role.ObjectId -RoleMemberInfo $RoleMember</dev:code> <dev:remarks> <maml:para>此 cmdlet 返回作用域角色成员身份对象:</maml:para> <maml:para></maml:para> <maml:para> AdministrativeUnitId RoleId -------------------------- ------------ c9ab56cc-e349-4237-856e-cab03157a91e 526b7173-5a6e-49dc-88ec-b677a9093709</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSScopedRoleMembership</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSScopedRoleMembership</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSAdministrativeUnit</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSAdministrativeUnit</command:noun> <maml:description> <maml:para>获取管理单元。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADMSAdministrativeUnit cmdlet 获取 Azure Active Directory 管理单元。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSAdministrativeUnit</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有管理单元。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定 oData v3.0 筛选器语句。此参数筛选返回哪些对象。</maml:para> <maml:para>有关 oData v3.0 筛选器表达式的详细信息,请参阅 https://msdn.microsoft.com/zh-cn/library/hh169248%28v=nav.90%29.aspx</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADMSAdministrativeUnit</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有管理单元。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有管理单元。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定 oData v3.0 筛选器语句。此参数筛选返回哪些对象。</maml:para> <maml:para>有关 oData v3.0 筛选器表达式的详细信息,请参阅 https://msdn.microsoft.com/zh-cn/library/hh169248%28v=nav.90%29.aspx</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples/> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSAdministrativeUnitMember</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSAdministrativeUnitMember</command:noun> <maml:description> <maml:para>获取管理单元的成员。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADMSAdministrativeUnitMember cmdlet 获取 Active Directory 管理单元的成员。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSAdministrativeUnitMember</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为: * Continue</maml:para> <maml:para>* Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>* SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有管理单元成员。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为: * Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>* Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>* Stop</maml:para> <maml:para>* Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有管理单元成员。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>示例 1:获取由 ID 标识的管理单元成员</maml:title> <dev:code>PS C:\> Get-AzureADMSAdministrativeUnitMember -Id "ef08b536-9d0a-4f8f-bda5-8b9cd01a9159"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Add-AzureADMSAdministrativeUnitMember</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSAdministrativeUnitMember</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSScopedRoleMembership</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSScopedRoleMembership</command:noun> <maml:description> <maml:para>从管理单元中获取作用域内角色成员身份。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADMSScopedRoleMembership cmdlet 从 Azure Active Directory (AD)的管理单元中获取作用域内角色成员身份。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSScopedRoleMembership</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ScopedRoleMembershipId</maml:name> <maml:Description> <maml:para>指定作用域内角色成员身份的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ScopedRoleMembershipId</maml:name> <maml:Description> <maml:para>指定作用域内角色成员身份的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>----------- 示例 1 获取作用域内角色管理员 -----------</maml:title> <dev:code>PS C:\>Get-AzureADMSScopedRoleMembership -Id "526b7173-5a6e-49dc-88ec-b677a9093709" -ScopedRoleMembershipId "356b7173-5a6e-49dc-88ec-b677a9093709"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------- 示例 2 列出 AU 的作用域内管理员。---------</maml:title> <dev:code>PS C:\>Get-AzureADMSScopedRoleMembership -Id "526b7173-5a6e-49dc-88ec-b677a9093709"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Add-AzureADMSScopedRoleMembership</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSScopedRoleMembership</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-AzureADMSAdministrativeUnit</command:name> <command:verb>New</command:verb> <command:noun>AzureADMSAdministrativeUnit</command:noun> <maml:description> <maml:para>创建管理单元。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>New-AzureADMSAdministrativeUnit cmdlet 在 Azure Active Directory (AD)中创建管理单元。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADMSAdministrativeUnit</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>指定新管理单元的说明。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定新管理单元的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>指定新管理单元的说明。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定新管理单元的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples/> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADMSAdministrativeUnit</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADMSAdministrativeUnit</command:noun> <maml:description> <maml:para>删除管理单元。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADMSAdministrativeUnit cmdlet 从 Azure Active Directory 中删除管理单元。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSAdministrativeUnit</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为: * Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>* SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>* Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Active Directory 中管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为: * Continue</maml:para> <maml:para>* Ignore</maml:para> <maml:para>* Inquire</maml:para> <maml:para>* SilentlyContinue</maml:para> <maml:para>* Stop</maml:para> <maml:para>* Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Active Directory 中管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples/> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADMSAdministrativeUnitMember</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADMSAdministrativeUnitMember</command:noun> <maml:description> <maml:para>删除管理单元成员。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADMSAdministrativeUnitMember cmdlet 删除 Azure Active Directory (AD)中的管理单元成员。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSAdministrativeUnitMember</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。</maml:para> <maml:para>此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>MemberId</maml:name> <maml:Description> <maml:para>指定管理单元成员的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。</maml:para> <maml:para>此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>MemberId</maml:name> <maml:Description> <maml:para>指定管理单元成员的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples/> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Add-AzureADMSAdministrativeUnitMember</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSAdministrativeUnitMember</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADMSScopedRoleMembership</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADMSScopedRoleMembership</command:noun> <maml:description> <maml:para>删除作用域内角色成员身份。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADMSScopedRoleMembership cmdlet 从 Azure Active Directory (AD)中删除作用域内角色成员身份。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSScopedRoleMembership</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ScopedRoleMembershipId</maml:name> <maml:Description> <maml:para>指定要删除的作用域内角色成员身份 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ScopedRoleMembershipId</maml:name> <maml:Description> <maml:para>指定要删除的作用域内角色成员身份 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>Remove-AzureADMSScopedRoleMembership -Id "1026185e-25df-4522-a380-7ab697a7241c" -ScopedRoleMembershipId "3028185e-25df-4522-a380-7ab697a7241c"</dev:code> <dev:remarks> <maml:para>删除作用域内成员身份。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Add-AzureADMSScopedRoleMembership</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSScopedRoleMembership</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-AzureADMSAdministrativeUnit</command:name> <command:verb>Set</command:verb> <command:noun>AzureADMSAdministrativeUnit</command:noun> <maml:description> <maml:para>更新管理单元。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-AzureADMSAdministrativeUnit cmdlet 更新 Azure Active Directory (AD)中的管理单元。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADMSAdministrativeUnit</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>指定说明。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定一个显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>指定说明。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定一个显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中管理单元的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples/> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSAdministrativeUnit</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Add-AzureADMSApplicationOwner </command:name> <maml:description> <maml:para>为应用程序对象添加所有者。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Add</command:verb> <command:noun>AzureADMSApplicationOwner</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>为应用程序对象添加所有者。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Add-AzureADMSApplicationOwner</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>RefObjectId</maml:name> <maml:description> <maml:para>将分配为所有者/管理员/成员的特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>RefObjectId</maml:name> <maml:description> <maml:para>将分配为所有者/管理员/成员的特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 向应用程序添加所有者</maml:title> <dev:code>PS C:\>Add-AzureADMSApplicationOwner -ObjectId 3ddd22e7-a150-4bb3-b100-e410dea1cb84 -RefObjectId c13dd34a-492b-4561-b171-40fcce2916c5</dev:code> <dev:remarks> <maml:para>此命令将所有者添加到应用程序。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSApplicationOwner</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplicationOwner</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureADMSApplication </command:name> <maml:description> <maml:para>检索组织内的应用程序列表。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureADMSApplication</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>检索组织内的应用程序列表。借助 ObjectId 参数,它可以检索与 ObjectId 关联的应用程序对象的属性。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADMSApplication</maml:name> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure Active Directory 中的应用程序的 ID</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>All</maml:name> <maml:description> <maml:para>如果为 true,则返回所有应用程序。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">bool?</command:parametervalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Top</maml:name> <maml:description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">int?</command:parametervalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Filter</maml:name> <maml:description> <maml:para>指定一个 oData v3.0 筛选器语句。此参数控制返回哪些对象。</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>SearchString</maml:name> <maml:Description> <maml:para>仅检索满足 -SearchString 值的应用程序</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure Active Directory 中的应用程序的 ID</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>All</maml:name> <maml:description> <maml:para>如果为 true,则返回所有应用程序。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">bool?</command:parametervalue> <dev:type> <maml:name>bool?</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Top</maml:name> <maml:description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">int?</command:parametervalue> <dev:type> <maml:name>int?</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Filter</maml:name> <maml:description> <maml:para>指定一个 oData v3.0 筛选器语句。此参数控制返回哪些对象。</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>SearchString</maml:name> <maml:Description> <maml:para>仅检索满足 -SearchString 值的应用程序</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>bool?</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>int?</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.MsApplication</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 按显示名称获取应用程序</maml:title> <dev:code> PS C:\>Get-AzureADMSApplication -Filter "DisplayName eq 'My App'" Id : ba4a97a7-3815-4752-bf4c-f1c0cccfff6a OdataType : Api : class ApiApplication { AcceptMappedClaims: KnownClientApplications: PreAuthorizedApplications: RequestedAccessTokenVersion: 2 Oauth2PermissionScopes: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PermissionScope] } AppId : 807dd73f-8451-4cfa-b3bc-52ac3fd95330 AppRoles : {} IsDeviceOnlyAuthSupported : IsFallbackPublicClient : IdentifierUris : {} DeletedDateTime : DisplayName : My App Info : class InformationalUrl { TermsOfServiceUrl: MarketingUrl: PrivacyStatementUrl: SupportUrl: LogoUrl: } KeyCredentials : {} OptionalClaims : ParentalControlSettings : class ParentalControlSettings { CountriesBlockedForMinors: System.Collections.Generic.List`1[System.String] LegalAgeGroupRule: Allow } PasswordCredentials : {} PublicClientApplication : RequiredResourceAccess : {} SignInAudience : AzureADandPersonalMicrosoftAccount Tags : {} TokenEncryptionKeyId : Web : class WebApplication { LogoutUrl: Oauth2AllowImplicitFlow: RedirectUris: System.Collections.Generic.List`1[System.String] ImplicitGrantSettings: class ImplicitGrantSettings { EnableIdTokenIssuance: False EnableAccessTokenIssuance: False } } </dev:code> <dev:remarks> <maml:para>此命令按其显示名称获取应用程序。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 2: 按 ID 获取应用程序</maml:title> <dev:code>PS C:\>Get-AzureADMSApplication -Filter "AppId eq 'ed192e92-84d4-4baf-997d-1e190a81f28e'"</dev:code> <dev:remarks> <maml:para>此命令按其 ID 获取应用程序。</maml:para> <maml:para>输出:</maml:para> <maml:para> Id : ba4a97a7-3815-4752-bf4c-f1c0cccfff6a OdataType : Api : class ApiApplication { AcceptMappedClaims: KnownClientApplications: PreAuthorizedApplications: RequestedAccessTokenVersion: 2 Oauth2PermissionScopes: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PermissionScope] } AppId : 807dd73f-8451-4cfa-b3bc-52ac3fd95330 AppRoles : {} IsDeviceOnlyAuthSupported : IsFallbackPublicClient : IdentifierUris : {} DeletedDateTime : DisplayName : My App Info : class InformationalUrl { TermsOfServiceUrl: MarketingUrl: PrivacyStatementUrl: SupportUrl: LogoUrl: } KeyCredentials : {} OptionalClaims : ParentalControlSettings : class ParentalControlSettings { CountriesBlockedForMinors: System.Collections.Generic.List`1[System.String] LegalAgeGroupRule: Allow } PasswordCredentials : {} PublicClientApplication : RequiredResourceAccess : {} SignInAudience : AzureADandPersonalMicrosoftAccount Tags : {} TokenEncryptionKeyId : Web : class WebApplication { LogoutUrl: Oauth2AllowImplicitFlow: RedirectUris: System.Collections.Generic.List`1[System.String] ImplicitGrantSettings: class ImplicitGrantSettings { EnableIdTokenIssuance: False EnableAccessTokenIssuance: False } } </maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 3: 通过 identifierUris 检索应用程序</maml:title> <dev:code>Get-AzureADMSApplication -Filter "identifierUris/any(uri:uri eq 'http://wingtips.wingtiptoysonline.com')"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 4: 通过对象 ID 获取应用程序</maml:title> <dev:code>PS C:\>Get-AzureADMSApplication -ObjectId ffe886bc-e978-4002-829e-cf5b1e83d56a</dev:code> <dev:remarks> <maml:para>此命令将通过对象 ID 获取应用程序。</maml:para> <maml:para>输出:</maml:para> <maml:para> Id : f8bbcbe4-df80-4a6b-80c5-926e28e41407 OdataType : AddIns : {} Api : class ApiApplication { AcceptMappedClaims: KnownClientApplications: PreAuthorizedApplications: RequestedAccessTokenVersion: Oauth2PermissionScopes: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PermissionScope] AppId : 18f78c92-365c-4fa0-9b6f-7e06fff27ffe ApplicationTemplateId : AppRoles : {} GroupMembershipClaims : IsDeviceOnlyAuthSupported : IsFallbackPublicClient : IdentifierUris : {} CreatedDateTime : DeletedDateTime : DisplayName : my app Info : class InformationalUrl { TermsOfServiceUrl: MarketingUrl: PrivacyStatementUrl: SupportUrl: LogoUrl: } KeyCredentials : {} OptionalClaims : ParentalControlSettings : class ParentalControlSettings { CountriesBlockedForMinors: System.Collections.Generic.List`1[System.String] LegalAgeGroupRule: Allow } PasswordCredentials : {} PublicClient : class PublicClientApplication { RedirectUris: System.Collections.Generic.List`1[System.String] } PublisherDomain : RequiredResourceAccess : {} SignInAudience : AzureADMyOrg Tags : {} TokenEncryptionKeyId : Web : class WebApplication { HomePageUrl: LogoutUrl: RedirectUris: System.Collections.Generic.List`1[System.String] ImplicitGrantSettings: class ImplicitGrantSettings { EnableIdTokenIssuance: True EnableAccessTokenIssuance: False } } </maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 5: 获取前 2 个应用程序</maml:title> <dev:code>PS C:\>Get-AzureADMSApplication -Top 2</dev:code> <dev:remarks> <maml:para>此命令将获取前 2 个应用程序</maml:para> <maml:para>输出:</maml:para> <maml:para> Id : 121ce3aa-64cb-44f2-99e8-deb705caeddd OdataType : AddIns : {} Api : class ApiApplication { AcceptMappedClaims: KnownClientApplications: PreAuthorizedApplications: RequestedAccessTokenVersion: 2 Oauth2PermissionScopes: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PermissionScope] AppId : a1293e4b-97ae-4f58-9eeb-d0ba5b4b821a ApplicationTemplateId : AppRoles : {} GroupMembershipClaims : IsDeviceOnlyAuthSupported : IsFallbackPublicClient : IdentifierUris : {} CreatedDateTime : DeletedDateTime : DisplayName : My App Info : class InformationalUrl { TermsOfServiceUrl: MarketingUrl: PrivacyStatementUrl: SupportUrl: LogoUrl: } KeyCredentials : {} OptionalClaims : ParentalControlSettings : class ParentalControlSettings { CountriesBlockedForMinors: System.Collections.Generic.List`1[System.String] LegalAgeGroupRule: Allow } PasswordCredentials : {} PublicClient : class PublicClientApplication { RedirectUris: System.Collections.Generic.List`1[System.String] } PublisherDomain : RequiredResourceAccess : {} SignInAudience : AzureADandPersonalMicrosoftAccount Tags : {} TokenEncryptionKeyId : Web : class WebApplication { HomePageUrl: LogoutUrl: RedirectUris: System.Collections.Generic.List`1[System.String] ImplicitGrantSettings: class ImplicitGrantSettings { EnableIdTokenIssuance: False EnableAccessTokenIssuance: False } } Id : 14a3f1ac-46a7-4d00-b1ca-0b2b84f033c2 OdataType : AddIns : {} Api : class ApiApplication { AcceptMappedClaims: KnownClientApplications: PreAuthorizedApplications: RequestedAccessTokenVersion: 2 Oauth2PermissionScopes: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PermissionScope] AppId : 51546bbc-4233-42d3-a08e-c73a370f5d41 ApplicationTemplateId : AppRoles : {} GroupMembershipClaims : IsDeviceOnlyAuthSupported : IsFallbackPublicClient : IdentifierUris : {} CreatedDateTime : DeletedDateTime : DisplayName : My App Info : class InformationalUrl { TermsOfServiceUrl: MarketingUrl: PrivacyStatementUrl: SupportUrl: LogoUrl: } KeyCredentials : {} OptionalClaims : ParentalControlSettings : class ParentalControlSettings { CountriesBlockedForMinors: System.Collections.Generic.List`1[System.String] LegalAgeGroupRule: Allow } PasswordCredentials : {} PublicClient : class PublicClientApplication { RedirectUris: System.Collections.Generic.List`1[System.String] } PublisherDomain : RequiredResourceAccess : {} SignInAudience : AzureADandPersonalMicrosoftAccount Tags : {} TokenEncryptionKeyId : Web : class WebApplication { HomePageUrl: LogoutUrl: RedirectUris: System.Collections.Generic.List`1[System.String] ImplicitGrantSettings: class ImplicitGrantSettings { EnableIdTokenIssuance: False EnableAccessTokenIssuance: False } } </maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 6: 检索所有应用程序的列表</maml:title> <dev:code>PS C:\>Get-AzureADMSApplication -All $true</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 5: 检索所有显示名称包含 "asdfl" 的应用程序的列表</maml:title> <dev:code>PS C:\>Get-AzureADMSApplication -SearchString asdfl</dev:code> <dev:remarks> <maml:para>此命令将获取具有指定显示名称的应用程序的列表</maml:para> <maml:para>输出:</maml:para> <maml:para> Id : 88da75d4-2cba-4c47-9a15-80a983228ad4 OdataType : AddIns : {} Api : class ApiApplication { AcceptMappedClaims: KnownClientApplications: PreAuthorizedApplications: RequestedAccessTokenVersion: 2 Oauth2PermissionScopes: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PermissionScope] AppId : 2cffc854-bbcf-404a-8bba-70d043534129 ApplicationTemplateId : AppRoles : {} GroupMembershipClaims : IsDeviceOnlyAuthSupported : IsFallbackPublicClient : IdentifierUris : {} CreatedDateTime : 10/24/2019 6:27:25 AM DeletedDateTime : DisplayName : asdflkj Info : class InformationalUrl { TermsOfServiceUrl: MarketingUrl: PrivacyStatementUrl: SupportUrl: LogoUrl: } KeyCredentials : {} OptionalClaims : ParentalControlSettings : class ParentalControlSettings { CountriesBlockedForMinors: System.Collections.Generic.List`1[System.String] LegalAgeGroupRule: Allow } PasswordCredentials : {} PublicClient : class PublicClientApplication { RedirectUris: System.Collections.Generic.List`1[System.String] } PublisherDomain : RequiredResourceAccess : {} SignInAudience : AzureADandPersonalMicrosoftAccount Tags : {} TokenEncryptionKeyId : Web : class WebApplication { HomePageUrl: LogoutUrl: RedirectUris: System.Collections.Generic.List`1[System.String] ImplicitGrantSettings: class ImplicitGrantSettings { EnableIdTokenIssuance: False EnableAccessTokenIssuance: False } } </maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>New-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureADMSApplicationExtensionProperty </command:name> <maml:description> <maml:para>检索应用程序对象扩展属性列表。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureADMSApplicationExtensionProperty</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>检索应用程序对象扩展属性列表。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADMSApplicationExtensionProperty</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure Active Directory 中应用程序的唯一 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.GetExtensionPropertiesResponse</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 获取扩展属性</maml:title> <dev:code> PS C:\>Get-AzureADMSApplicationExtensionProperty -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84" ObjectId Name TargetObjects -------- ---- ------------- 344ed560-f8e7-410e-ab9f-c795a7df5c36 extension_36ee4c6c081240a2b820b22ebd02bce3_NewAttribute {} </dev:code> <dev:remarks> <maml:para>此命令将获取 Azure Active Directory 中指定应用程序的扩展属性。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>New-AzureADMSApplicationExtensionProperty</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplicationExtensionProperty</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureADMSApplicationOwner </command:name> <maml:description> <maml:para>检索应用程序对象的所有者列表。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureADMSApplicationOwner</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>检索应用程序对象的所有者列表。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADMSApplicationOwner</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure Active Directory 中应用程序的 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>All</maml:name> <maml:description> <maml:para>如果为 true,则返回所有所有者。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">bool?</command:parametervalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Top</maml:name> <maml:description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">int?</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure Active Directory 中应用程序的 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>All</maml:name> <maml:description> <maml:para>如果为 true,则返回所有所有者。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">bool?</command:parametervalue> <dev:type> <maml:name>bool?</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Top</maml:name> <maml:description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">int?</command:parametervalue> <dev:type> <maml:name>int?</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>bool?</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>int?</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.GetDirectoryObjectsResponse</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 获取应用程序的所有者</maml:title> <dev:code> PS C:\>Get-AzureADMSApplicationOwner -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84" -Top 1 ObjectId ObjectType -------- ---------- c13dd34a-492b-4561-b171-40fcce2916c5 User </dev:code> <dev:remarks> <maml:para>此命令将获取应用程序的所有者。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 1: 获取应用程序的所有者</maml:title> <dev:code> PS C:\>Get-AzureADMSApplicationOwner -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84" -All $true ObjectId ObjectType -------- ---------- c13dd34a-492b-4561-b171-40fcce2916c5 User </dev:code> <dev:remarks> <maml:para>此命令将获取应用程序的所有者。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Add-AzureADMSApplicationOwner</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplicationOwner</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureADMSApplication </command:name> <maml:description> <maml:para>创建(注册)新的应用程序对象。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureADMSApplication</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>创建(注册)新的应用程序对象。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>New-AzureADMSApplication</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AddIns</maml:name> <maml:Description> <maml:para>定义自定义行为,占用服务可以使用该行为在特定上下文中调用应用。例如,可呈现文件流的应用程序可以为其 "FileHandler" 功能设置 addIns 属性。这样 Office 365 等服务即可在用户正在处理的文档的上下文中调用此应用程序。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AddIn]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AddIn]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Api</maml:name> <maml:Description> <maml:para>指定实现 Web API 的应用程序的设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ApiApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ApiApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ApplicationTemplateId</maml:name> <maml:Description> <maml:para>定义自定义行为,占用服务可以使用该行为在特定上下文中调用应用。例如,可呈现文件流的应用程序可以为其 "FileHandler" 功能设置 addIns 属性。这样 Office 365 等服务即可在用户正在处理的文档的上下文中调用此应用程序。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AppRoles</maml:name> <maml:Description> <maml:para>应用程序可以声明的应用程序角色的集合。可以将这些角色分配给用户、组或服务主体。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AppRole]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AppRole]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定应用程序的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupMembershipClaims</maml:name> <maml:Description> <maml:para>配置应用程序希望用户或 OAuth 2.0 访问令牌发出的组声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IdentifierUris</maml:name> <maml:Description> <maml:para>用户定义的 URI,可唯一标识其 Azure AD 租户内的 Web 应用程序,或者如果应用程序是多租户的,则可唯一标识经验证的自定义域(请参阅 Azure 经典门户中的“域”选项卡)内的 Web 应用程序。</maml:para> <maml:para>如果通过 Azure 经典门户(或各自的 Azure AD PowerShell cmdlet 参数)进行更新,则从 Web 应用程序的 "APP ID URI" 字段填充第一个元素。可以通过应用程序清单添加其他 URI; 请参阅“了解 Azure AD 应用程序清单”查看详细信息。此集合还用于填充 Web 应用程序的 servicePrincipalNames 集合。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InformationalUrl</maml:name> <maml:Description> <maml:para>应用程序的基本资料信息,如应用的市场营销、支持、服务条款和隐私声明 URL 等。通过用户同意体验向用户呈现服务条款和隐私声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.InformationalUrl</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.InformationalUrl</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsDeviceOnlyAuthSupported</maml:name> <maml:Description> <maml:para>指定应用程序是否支持使用设备令牌进行身份验证。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Nullable`1[System.Boolean]</command:parameterValue> <dev:type> <maml:name>System.Nullable`1[System.Boolean]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsFallbackPublicClient</maml:name> <maml:Description> <maml:para>将回退应用程序类型指定为公共客户端,如在移动设备上运行的已安装应用程序。默认值为 false,表示回退应用程序类型是机密客户端(如 Web 应用)。在某些情况下,Azure AD 无法确定客户端应用程序类型(例如,配置了 ROPC 流,但未指定重定向 URI)。在这些情况下 Azure AD 将根据此属性的值解释应用程序类型。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Nullable`1[System.Boolean]</command:parameterValue> <dev:type> <maml:name>System.Nullable`1[System.Boolean]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>KeyCredentials</maml:name> <maml:Description> <maml:para>与该应用程序关联的密钥凭据的集合</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>OptionalClaims</maml:name> <maml:Description> <maml:para>应用程序开发人员可以在其 Azure AD 应用中配置可选声明,用于指定希望 Microsoft 安全令牌服务通过令牌发送给应用程序的声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.OptionalClaims</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.OptionalClaims</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ParentalControlSettings</maml:name> <maml:Description> <maml:para>指定应用程序的家长控制设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ParentalControlSettings</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ParentalControlSettings</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PasswordCredentials</maml:name> <maml:Description> <maml:para>与应用程序关联的密码凭据的集合。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PasswordCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PasswordCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PublicClient</maml:name> <maml:Description> <maml:para>指定此应用程序是否为公共客户端(例如在移动设备上运行的已安装应用程序)。默认值为 false。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PublicClient</maml:name> <maml:Description> <maml:para>指定已安装的客户端(如桌面或移动设备)的设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.PublicClientApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PublicClientApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>RequiredResourceAccess</maml:name> <maml:Description> <maml:para>指定此应用程序需要访问的资源及它在各个资源下所需的一组 OAuth 权限范围和应用程序角色。对所需资源访问权限的预配置将驱动同意体验。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.RequiredResourceAccess]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.RequiredResourceAccess]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SignInAudience</maml:name> <maml:Description> <maml:para>指定当前应用程序支持的 Microsoft 帐户。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Tags</maml:name> <maml:Description> <maml:para>可用于对应用程序进行分类和标识的自定义字符串。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>TokenEncryptionKeyId</maml:name> <maml:Description> <maml:para>指定 keyCredentials 集合中的公钥的 keyId。配置它时,Azure AD 使用此属性指向的密钥对它发出的所有令牌进行加密。收到加密令牌的应用程序代码必须先使用匹配的私钥对令牌进行解密,然后才能将其用于登录用户。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Web</maml:name> <maml:Description> <maml:para>指定 Web 应用程序的设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.WebApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.WebApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AddIns</maml:name> <maml:Description> <maml:para>定义自定义行为,占用服务可以使用该行为在特定上下文中调用应用。例如,可呈现文件流的应用程序可以为其 "FileHandler" 功能设置 addIns 属性。这样 Office 365 等服务即可在用户正在处理的文档的上下文中调用此应用程序。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AddIn]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AddIn]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Api</maml:name> <maml:Description> <maml:para>指定实现 Web API 的应用程序的设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ApiApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ApiApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AppRoles</maml:name> <maml:Description> <maml:para>应用程序可以声明的应用程序角色的集合。可以将这些角色分配给用户、组或服务主体。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AppRole]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AppRole]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定应用程序的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupMembershipClaims</maml:name> <maml:Description> <maml:para>配置应用程序希望用户或 OAuth 2.0 访问令牌发出的组声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IdentifierUris</maml:name> <maml:Description> <maml:para>用户定义的 URI,可唯一标识其 Azure AD 租户内的 Web 应用程序,或者如果应用程序是多租户的,则可唯一标识经验证的自定义域(请参阅 Azure 经典门户中的“域”选项卡)内的 Web 应用程序。</maml:para> <maml:para>如果通过 Azure 经典门户(或各自的 Azure AD PowerShell cmdlet 参数)进行更新,则从 Web 应用程序的 "APP ID URI" 字段填充第一个元素。可以通过应用程序清单添加其他 URI; 请参阅“了解 Azure AD 应用程序清单”查看详细信息。此集合还用于填充 Web 应用程序的 servicePrincipalNames 集合。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InformationalUrl</maml:name> <maml:Description> <maml:para>应用程序的基本资料信息,如应用的市场营销、支持、服务条款和隐私声明 URL 等。通过用户同意体验向用户呈现服务条款和隐私声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.InformationalUrl</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.InformationalUrl</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsDeviceOnlyAuthSupported</maml:name> <maml:Description> <maml:para>指定应用程序是否支持使用设备令牌进行身份验证。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Nullable`1[System.Boolean]</command:parameterValue> <dev:type> <maml:name>System.Nullable`1[System.Boolean]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsFallbackPublicClient</maml:name> <maml:Description> <maml:para>将回退应用程序类型指定为公共客户端,如在移动设备上运行的已安装应用程序。默认值为 false,表示回退应用程序类型是机密客户端(如 Web 应用)。在某些情况下,Azure AD 无法确定客户端应用程序类型(例如,配置了 ROPC 流,但未指定重定向 URI)。在这些情况下 Azure AD 将根据此属性的值解释应用程序类型。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Nullable`1[System.Boolean]</command:parameterValue> <dev:type> <maml:name>System.Nullable`1[System.Boolean]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>KeyCredentials</maml:name> <maml:Description> <maml:para>与该应用程序关联的密钥凭据的集合</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>OptionalClaims</maml:name> <maml:Description> <maml:para>应用程序开发人员可以在其 Azure AD 应用中配置可选声明,用于指定希望 Microsoft 安全令牌服务通过令牌发送给应用程序的声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.OptionalClaims</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.OptionalClaims</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ParentalControlSettings</maml:name> <maml:Description> <maml:para>指定应用程序的家长控制设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ParentalControlSettings</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ParentalControlSettings</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PasswordCredentials</maml:name> <maml:Description> <maml:para>与应用程序关联的密码凭据的集合。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PasswordCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PasswordCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PublicClient</maml:name> <maml:Description> <maml:para>指定此应用程序是否为公共客户端(例如在移动设备上运行的已安装应用程序)。默认值为 false。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PublicClient</maml:name> <maml:Description> <maml:para>指定此应用程序是否为公共客户端(例如在移动设备上运行的已安装应用程序)。默认值为 false。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.PublicClientApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PublicClientApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>RequiredResourceAccess</maml:name> <maml:Description> <maml:para>指定此应用程序需要访问的资源及它在各个资源下所需的一组 OAuth 权限范围和应用程序角色。对所需资源访问权限的预配置将驱动同意体验。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.RequiredResourceAccess]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.RequiredResourceAccess]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SignInAudience</maml:name> <maml:Description> <maml:para>指定当前应用程序支持的 Microsoft 帐户。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Tags</maml:name> <maml:Description> <maml:para>可用于对应用程序进行分类和标识的自定义字符串。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>TokenEncryptionKeyId</maml:name> <maml:Description> <maml:para>指定 keyCredentials 集合中的公钥的 keyId。配置它时,Azure AD 使用此属性指向的密钥对它发出的所有令牌进行加密。收到加密令牌的应用程序代码必须先使用匹配的私钥对令牌进行解密,然后才能将其用于登录用户。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Web</maml:name> <maml:Description> <maml:para>指定 Web 应用程序的设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.WebApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.WebApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ApiApplication</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.InformationalUrl</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.OptionalClaims</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ParentalControlSettings</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PublicClientApplication</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.WebApplication</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>String</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AddIn]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AppRole]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PasswordCredential]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.RequiredResourceAccess]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Nullable`1[System.Boolean]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.MsApplication</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 创建应用程序</maml:title> <dev:code> PS C:\>New-AzureADMSApplication -DisplayName "My new application" -IdentifierUris "http://mynewapp.contoso.com" ObjectId AppId DisplayName -------- ----- ----------- acd10942-5747-4385-8824-4c5d5fa904f9 b5fecfab-0ea2-4fd1-8570-b2c41b3d5149 My new application </dev:code> <dev:remarks> <maml:para>此命令将在 Azure AD 中创建应用程序。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 2: 创建应用程序</maml:title> <dev:code> PS C:\>New-AzureADMSApplication ` -DisplayName "my name" ` -AddIns @{ Type = "mytype"; Properties = [PSCustomObject]@{ Key = "key"; Value = "value" } } ` -Api @{ AcceptMappedClaims = $true } ` -AppRoles @{ Id = "21111111-1111-1111-1111-111111111111"; DisplayName = "role"; AllowedMemberTypes = "User"; Description = "mydescription"; Value = "myvalue" } ` -InformationalUrl @{ SupportUrl = "https://mynewapp.contoso.com/support.html" } ` -IsDeviceOnlyAuthSupported $false ` -IsFallbackPublicClient $false ` -KeyCredentials @{ KeyId = "11111111-1111-1111-1111-111111111111"; Usage = "Encrypt"; Key = {cert}; Type = "AsymmetricX509Cert" } ` -OptionalClaims @{ IdToken = [PSCustomObject]@{ Name = "claimName"; Source = "claimSource" } } ` -ParentalControlSettings @{ LegalAgeGroupRule = "Block" } ` -PublicClient @{ RedirectUris = "https://mynewapp.contoso.com/" } ` -RequiredResourceAccess @{ ResourceAppId = "31111111-1111-1111-1111-111111111111"; ResourceAccess = [PSCustomObject]@{ Type = "Scope" } } ` -SignInAudience AzureADandPersonalMicrosoftAccount ` -Tags "mytag" ` -TokenEncryptionKeyId "11111111-1111-1111-1111-111111111111" ` -Web @{ LogoutUrl = "https://mynewapp.contoso.com/logout.html" } ` -GroupMembershipClaims "SecurityGroup" ` -PasswordCredentials {passwordcredentials} Id : 6a32197d-6f56-4980-b127-8f0bff362245 OdataType : AddIns : {class AddIn { Id: 4bd3715c-f089-4e88-9619-c34af1fb9519 Type: mytype Properties: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyValue] } } Api : class ApiApplication { AcceptMappedClaims: KnownClientApplications: PreAuthorizedApplications: RequestedAccessTokenVersion: 2 Oauth2PermissionScopes: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PermissionScope] AppId : 4095dbc0-2095-42d3-b631-7a48eeede86c ApplicationTemplateId : AppRoles : {class AppRole { AllowedMemberTypes: System.Collections.Generic.List`1[System.String] Description: mydescription DisplayName: role Id: 21111111-1111-1111-1111-111111111111 IsEnabled: True Origin: Application Value: myvalue } } GroupMembershipClaims : SecurityGroup IsDeviceOnlyAuthSupported : False IsFallbackPublicClient : False IdentifierUris : {} CreatedDateTime : DeletedDateTime : DisplayName : my name Info : class InformationalUrl { TermsOfServiceUrl: MarketingUrl: PrivacyStatementUrl: SupportUrl: https://mynewapp.contoso.com/support.html LogoUrl: } KeyCredentials : {class KeyCredential { CustomKeyIdentifier: System.Byte[] DisplayName: EndDateTime: KeyId: 11111111-1111-1111-1111-111111111111 StartDateTime: Type: AsymmetricX509Cert Usage: Encrypt Key: } } OptionalClaims : class OptionalClaims { IdToken: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.OptionalClaim] AccessToken: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.OptionalClaim] Saml2Token: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.OptionalClaim] } ParentalControlSettings : class ParentalControlSettings { CountriesBlockedForMinors: System.Collections.Generic.List`1[System.String] LegalAgeGroupRule: BlockMinors } PasswordCredentials : {} PublicClient : class PublicClientApplication { RedirectUris: System.Collections.Generic.List`1[System.String] } PublisherDomain : RequiredResourceAccess : {class RequiredResourceAccess { ResourceAppId: 31111111-1111-1111-1111-111111111111 ResourceAccess: System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.ResourceAccess] } } SignInAudience : AzureADandPersonalMicrosoftAccount Tags : {mytag} TokenEncryptionKeyId : 11111111-1111-1111-1111-111111111111 Web : class WebApplication { HomePageUrl: LogoutUrl: https://mynewapp.contoso.com/logout.html RedirectUris: System.Collections.Generic.List`1[System.String] ImplicitGrantSettings: class ImplicitGrantSettings { EnableIdTokenIssuance: False EnableAccessTokenIssuance: False } } </dev:code> <dev:remarks> <maml:para>此命令将在 Azure AD 中创建应用程序。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureADMSApplicationExtensionProperty </command:name> <maml:description> <maml:para>在应用程序对象上创建扩展属性。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureADMSApplicationExtensionProperty</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>在应用程序对象上创建扩展属性。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>New-AzureADMSApplicationExtensionProperty</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DataType</maml:name> <maml:Description> <maml:para>指定扩展属性的数据类型。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>指定扩展属性的数据类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>TargetObjects</maml:name> <maml:Description> <maml:para>指定目标对象。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DataType</maml:name> <maml:Description> <maml:para>指定扩展属性的数据类型。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>指定扩展属性的数据类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>TargetObjects</maml:name> <maml:Description> <maml:para>指定目标对象。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ExtensionProperty</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 创建扩展属性</maml:title> <dev:code> PS C:\>New-AzureADMSApplicationExtensionProperty -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84" -DataType "string" -Name "NewAttribute" -TargetObjects "Application" ObjectId Name TargetObjects -------- ---- ------------- 3ddd22e7-a150-4bb3-b100-e410dea1cb84 extension_36ee4c6c081240a2b820b22ebd02bce3_NewAttribute {} </dev:code> <dev:remarks> <maml:para>此命令将为指定对象创建字符串类型的应用程序扩展属性。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSApplicationExtensionProperty</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplicationExtensionProperty</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureADMSApplicationKey </command:name> <maml:description> <maml:para>将新项添加到应用程序。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureADMSApplicationKey</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>将新项添加到应用程序。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>New-AzureADMSApplicationKey</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>KeyCredential</maml:name> <maml:Description> <maml:para>要添加的应用程序密钥凭据。</maml:para> <maml:para>注释: keyId 值应为 null。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.KeyCredential</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.KeyCredential</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>PasswordCredential</maml:name> <maml:Description> <maml:para>要添加的应用程序密码凭据。</maml:para> <maml:para>注释: keyId 值应为 null。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.PasswordCredential</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PasswordCredential</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>Proof</maml:name> <maml:Description> <maml:para>用作现有密钥所有权证明的已签名的 JWT 令牌</maml:para> <maml:para></maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>KeyCredential</maml:name> <maml:Description> <maml:para>要添加的应用程序密钥凭据。</maml:para> <maml:para>注释: keyId 值应为 null。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.KeyCredential</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.KeyCredential</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>PasswordCredential</maml:name> <maml:Description> <maml:para>要添加的应用程序密码凭据。</maml:para> <maml:para>注释: keyId 值应为 null。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.PasswordCredential</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PasswordCredential</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>Proof</maml:name> <maml:Description> <maml:para>用作现有密钥所有权证明的已签名的 JWT 令牌</maml:para> <maml:para></maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.KeyCredential</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PasswordCredential</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.KeyCredential</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 将密钥凭据添加到应用程序</maml:title> <dev:code>PS C:\>New-AzureADMSApplicationKey -ObjectId 14a3f1ac-46a7-4d00-b1ca-0b2b84f033c2 -KeyCredential @{ key=[System.Convert]::FromBase64String("{base64cert}") } -PasswordCredential @{ displayname = "mypassword" } -Proof "{token}"</dev:code> <dev:remarks> <maml:para>此命令将向指定的应用程序添加密钥凭据。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplicationKey</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureADMSApplicationPassword </command:name> <maml:description> <maml:para>将强密码添加到应用程序。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureADMSApplicationPassword</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>将强密码添加到应用程序。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>New-AzureADMSApplicationPassword</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PasswordCredential</maml:name> <maml:description> <maml:para>表示与应用程序或服务主体关联的密码凭据。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">Microsoft.Open.MSGraph.Model.PasswordCredential</command:parametervalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PasswordCredential</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PasswordCredential</maml:name> <maml:description> <maml:para>表示与应用程序或服务主体关联的密码凭据。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">Microsoft.Open.MSGraph.Model.PasswordCredetial</command:parametervalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PasswordCredential</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PasswordCredential</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PasswordCredential</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 将密码添加到应用程序</maml:title> <dev:code> PS C:\>New-AzureADMSApplicationPassword -ObjectId 14a3f1ac-46a7-4d00-b1ca-0b2b84f033c2 -PasswordCredential @{ displayname = "mypassword" } CustomKeyIdentifier : EndDateTime : 10/28/2021 3:57:37 PM DisplayName : KeyId : 024c4c6e-87c3-4473-8e36-650f16bb730d StartDateTime : 10/28/2019 3:57:37 PM SecretText : EQ:A-s45?Rt9/3Bp?7]-7__IO]3AG09E Hint : EQ: </dev:code> <dev:remarks> <maml:para>此命令将密码添加到指定的应用程序。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplicationPassword</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureADMSApplication </command:name> <maml:description> <maml:para>删除应用程序对象。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSApplication</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>删除 objectId 标识的应用程序对象。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSApplication</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 删除应用程序</maml:title> <dev:code>PS C:\>Remove-AzureADMSApplication -ObjectId "acd10942-5747-4385-8824-4c5d5fa904f9"</dev:code> <dev:remarks> <maml:para>此命令将删除指定应用程序。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureADMSApplicationExtensionProperty </command:name> <maml:description> <maml:para>从应用程序对象中删除扩展属性。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSApplicationExtensionProperty</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>从应用程序对象中删除扩展属性。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSApplicationExtensionProperty</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure Active Directory 中应用程序的唯一 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ExtensionPropertyId</maml:name> <maml:description> <maml:para>指定要删除的扩展属性的唯一 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure Active Directory 中应用程序的唯一 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ExtensionPropertyId</maml:name> <maml:description> <maml:para>指定要删除的扩展属性的唯一 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 删除扩展属性</maml:title> <dev:code>PS C:\> Remove-AzureADMSApplicationExtensionProperty -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84" -ExtensionPropertyId "344ed560-f8e7-410e-ab9f-c79df5c36"</dev:code> <dev:remarks> <maml:para>此命令将从 Azure Active Directory 内的应用程序中删除具有指定 ID 的扩展属性。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSApplicationExtensionProperty</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADMSApplicationExtensionProperty</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureADMSApplicationKey </command:name> <maml:description> <maml:para>从应用程序中删除密钥。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSApplicationKey</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>从应用程序中删除密钥。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSApplicationKey</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>KeyId</maml:name> <maml:description> <maml:para>密钥的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Proof</maml:name> <maml:description> <maml:para>用作现有密钥所有权证明的已签名的 JWT 令牌。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>KeyId</maml:name> <maml:description> <maml:para>与要删除的密钥对象对应的密钥 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Proof</maml:name> <maml:description> <maml:para>用作所有权证明的 JWT 令牌。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 从应用程序中删除密钥凭据</maml:title> <dev:code>PS C:\>Remove-AzureADMSApplicationKey -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84" -KeyId "FDA27CF-1B58-4CAE-8CE7-CD04F0AAB945" -Proof {token}</dev:code> <dev:remarks> <maml:para>此命令将从指定的应用程序中删除指定的密钥凭据。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>New-AzureADMSApplicationKey</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureADMSApplicationOwner </command:name> <maml:description> <maml:para>从应用程序对象中删除所有者。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSApplicationOwner</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>从应用程序对象中删除所有者。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSApplicationOwner</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure AD 中应用程序的 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>OwnerId</maml:name> <maml:description> <maml:para>指定此所有者的 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure AD 中应用程序的 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>OwnerId</maml:name> <maml:description> <maml:para>指定此所有者的 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 从应用程序中删除所有者</maml:title> <dev:code>PS C:\>Remove-AzureADMSApplicationOwner -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84" -OwnerId "c13dd34a-492b-4561-b171-40fcce2916c5"</dev:code> <dev:remarks> <maml:para>此命令将从指定应用程序删除所有者。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Add-AzureADMSApplicationOwner</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSApplicationOwner</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureADMSApplicationPassword </command:name> <maml:description> <maml:para>从应用程序中删除密码。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSApplicationPassword</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>从应用程序中删除密码。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSApplicationPassword</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>KeyId</maml:name> <maml:description> <maml:para>密钥的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>KeyId</maml:name> <maml:description> <maml:para>密钥的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 从应用程序中删除密码</maml:title> <dev:code>PS C:\>Remove-AzureADMSApplicationPassWord -ObjectId 1f88e99f-37a3-468f-80ae-e07b62ed0287 -KeyId 80e561ed-44ed-48dc-8c09-9d4803e26e4c</dev:code> <dev:remarks> <maml:para>此命令将从指定的应用程序中删除指定的密码。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>New-AzureADMSApplicationPassword</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Set-AzureADMSApplication </command:name> <maml:description> <maml:para>更新应用程序对象的属性。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureADMSApplication</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>更新应用程序对象的属性。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Set-AzureADMSApplication</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AddIns</maml:name> <maml:Description> <maml:para>定义自定义行为,占用服务可以使用该行为在特定上下文中调用应用。例如,可呈现文件流的应用程序可以为其 "FileHandler" 功能设置 addIns 属性。这样 Office 365 等服务即可在用户正在处理的文档的上下文中调用此应用程序。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AddIn]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AddIn]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Api</maml:name> <maml:Description> <maml:para>指定实现 Web API 的应用程序的设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ApiApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ApiApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AppRoles</maml:name> <maml:Description> <maml:para>应用程序可以声明的应用程序角色的集合。可以将这些角色分配给用户、组或服务主体。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AppRole]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AppRole]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定显示名称。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupMembershipClaims</maml:name> <maml:Description> <maml:para>配置应用程序希望用户或 OAuth 2.0 访问令牌发出的组声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IdentifierUris</maml:name> <maml:Description> <maml:para>指定标识符 URI。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InformationalUrl</maml:name> <maml:Description> <maml:para>应用程序的基本资料信息,如应用的市场营销、支持、服务条款和隐私声明 URL 等。通过用户同意体验向用户呈现服务条款和隐私声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.InformationalUrl</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.InformationalUrl</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsDeviceOnlyAuthSupported</maml:name> <maml:Description> <maml:para>指定应用程序是否支持使用设备令牌进行身份验证。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Nullable`1[System.Boolean]</command:parameterValue> <dev:type> <maml:name>System.Nullable`1[System.Boolean]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsFallbackPublicClient</maml:name> <maml:Description> <maml:para>将回退应用程序类型指定为公共客户端,如在移动设备上运行的已安装应用程序。默认值为 false,表示回退应用程序类型是机密客户端(如 Web 应用)。在某些情况下,Azure AD 无法确定客户端应用程序类型(例如,配置了 ROPC 流,但未指定重定向 URI)。在这些情况下 Azure AD 将根据此属性的值解释应用程序类型。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Nullable`1[System.Boolean]</command:parameterValue> <dev:type> <maml:name>System.Nullable`1[System.Boolean]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>KeyCredentials</maml:name> <maml:Description> <maml:para>指定密钥凭据。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure AD 中应用程序的 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>OptionalClaims</maml:name> <maml:Description> <maml:para>应用程序开发人员可以在其 Azure AD 应用中配置可选声明,用于指定希望 Microsoft 安全令牌服务通过令牌发送给应用程序的声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.OptionalClaims</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.OptionalClaims</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ParentalControlSettings</maml:name> <maml:Description> <maml:para>指定应用程序的家长控制设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ParentalControlSettings</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ParentalControlSettings</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PasswordCredentials</maml:name> <maml:Description> <maml:para>与应用程序关联的密码凭据的集合。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PasswordCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PasswordCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PublicClient</maml:name> <maml:Description> <maml:para>指定此应用程序是否为公共客户端(例如在移动设备上运行的已安装应用程序)。默认值为 false。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PublicClient</maml:name> <maml:Description> <maml:para>指定此应用程序是否为公共客户端(例如在移动设备上运行的已安装应用程序)。默认值为 false。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.PublicClientApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PublicClientApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>RequiredResourceAccess</maml:name> <maml:Description> <maml:para>@{Text=}</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.RequiredResourceAccess]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.RequiredResourceAccess]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SignInAudience</maml:name> <maml:Description> <maml:para>指定当前应用程序支持的 Microsoft 帐户。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Tags</maml:name> <maml:Description> <maml:para>可用于对应用程序进行分类和标识的自定义字符串。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>TokenEncryptionKeyId</maml:name> <maml:Description> <maml:para>指定 keyCredentials 集合中的公钥的 keyId。配置它时,Azure AD 使用此属性指向的密钥对它发出的所有令牌进行加密。收到加密令牌的应用程序代码必须先使用匹配的私钥对令牌进行解密,然后才能将其用于登录用户。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Web</maml:name> <maml:Description> <maml:para>指定 Web 应用程序的设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.WebApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.WebApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AddIns</maml:name> <maml:Description> <maml:para>定义自定义行为,占用服务可以使用该行为在特定上下文中调用应用。例如,可呈现文件流的应用程序可以为其 "FileHandler" 功能设置 addIns 属性。这样 Office 365 等服务即可在用户正在处理的文档的上下文中调用此应用程序。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AddIn]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AddIn]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Api</maml:name> <maml:Description> <maml:para>指定实现 Web API 的应用程序的设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ApiApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ApiApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AppRoles</maml:name> <maml:Description> <maml:para>应用程序可以声明的应用程序角色的集合。可以将这些角色分配给用户、组或服务主体。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AppRole]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AppRole]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定显示名称。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupMembershipClaims</maml:name> <maml:Description> <maml:para>配置应用程序希望用户或 OAuth 2.0 访问令牌发出的组声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IdentifierUris</maml:name> <maml:Description> <maml:para>指定标识符 URI。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InformationalUrl</maml:name> <maml:Description> <maml:para>应用程序的基本资料信息,如应用的市场营销、支持、服务条款和隐私声明 URL 等。通过用户同意体验向用户呈现服务条款和隐私声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.InformationalUrl</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.InformationalUrl</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsDeviceOnlyAuthSupported</maml:name> <maml:Description> <maml:para>指定应用程序是否支持使用设备令牌进行身份验证。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Nullable`1[System.Boolean]</command:parameterValue> <dev:type> <maml:name>System.Nullable`1[System.Boolean]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsFallbackPublicClient</maml:name> <maml:Description> <maml:para>将回退应用程序类型指定为公共客户端,如在移动设备上运行的已安装应用程序。默认值为 false,表示回退应用程序类型是机密客户端(如 Web 应用)。在某些情况下,Azure AD 无法确定客户端应用程序类型(例如,配置了 ROPC 流,但未指定重定向 URI)。在这些情况下 Azure AD 将根据此属性的值解释应用程序类型。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Nullable`1[System.Boolean]</command:parameterValue> <dev:type> <maml:name>System.Nullable`1[System.Boolean]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>KeyCredentials</maml:name> <maml:Description> <maml:para>指定密钥凭据。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>指定 Azure AD 中应用程序的 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>OptionalClaims</maml:name> <maml:Description> <maml:para>应用程序开发人员可以在其 Azure AD 应用中配置可选声明,用于指定希望 Microsoft 安全令牌服务通过令牌发送给应用程序的声明。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.OptionalClaims</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.OptionalClaims</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ParentalControlSettings</maml:name> <maml:Description> <maml:para>指定应用程序的家长控制设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ParentalControlSettings</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ParentalControlSettings</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PasswordCredentials</maml:name> <maml:Description> <maml:para>与应用程序关联的密码凭据的集合。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PasswordCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PasswordCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PublicClient</maml:name> <maml:Description> <maml:para>指定此应用程序是否为公共客户端(例如在移动设备上运行的已安装应用程序)。默认值为 false。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PublicClient</maml:name> <maml:Description> <maml:para>指定此应用程序是否为公共客户端(例如在移动设备上运行的已安装应用程序)。默认值为 false。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.PublicClientApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PublicClientApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>RequiredResourceAccess</maml:name> <maml:Description> <maml:para>@{Text=}</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.RequiredResourceAccess]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.RequiredResourceAccess]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SignInAudience</maml:name> <maml:Description> <maml:para>指定当前应用程序支持的 Microsoft 帐户。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Tags</maml:name> <maml:Description> <maml:para>可用于对应用程序进行分类和标识的自定义字符串。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>TokenEncryptionKeyId</maml:name> <maml:Description> <maml:para>指定 keyCredentials 集合中的公钥的 keyId。配置它时,Azure AD 使用此属性指向的密钥对它发出的所有令牌进行加密。收到加密令牌的应用程序代码必须先使用匹配的私钥对令牌进行解密,然后才能将其用于登录用户。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Web</maml:name> <maml:Description> <maml:para>指定 Web 应用程序的设置。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.WebApplication</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.WebApplication</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ApiApplication</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.InformationalUrl</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.OptionalClaims</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ParentalControlSettings</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PublicClientApplication</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.WebApplication</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AddIn]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AppRole]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PasswordCredential]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.RequiredResourceAccess]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>System.Nullable`1[System.Boolean]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 更新应用程序</maml:title> <dev:code>PS C:\>Set-AzureADMSApplication -ObjectId fcd37fb8-449c-45af-92fc-5448c671fd30 ` -DisplayName "my name" ` -AddIns @{ Type = "mytype"; Properties = [PSCustomObject]@{ Key = "key"; Value = "value" } } ` -Api @{ AcceptMappedClaims = $true } ` -AppRoles @{ Id = "21111111-1111-1111-1111-111111111111"; DisplayName = "role"; AllowedMemberTypes = "User"; Description = "mydescription"; Value = "myvalue" } ` -InformationalUrl @{ SupportUrl = "https://mynewapp.contoso.com/support.html" } ` -IsDeviceOnlyAuthSupported $false ` -IsFallbackPublicClient $false ` -KeyCredentials @{ KeyId = "41111111-1111-1111-1111-111111111111"; Usage = "Encrypt"; Key = [System.IO.File]::ReadAllBytes("file.cer"); Type = "AsymmetricX509Cert" } ` -OptionalClaims @{ IdToken = [PSCustomObject]@{ Name = "claimName"; Source = "claimSource" } } ` -ParentalControlSettings @{ LegalAgeGroupRule = "Block" } ` -PublicClient @{ RedirectUris = "https://mynewapp.contoso.com/" } ` -RequiredResourceAccess @{ ResourceAppId = "31111111-1111-1111-1111-111111111111"; ResourceAccess = [PSCustomObject]@{ Type = "Scope" } } ` -SignInAudience AzureADandPersonalMicrosoftAccount ` -Tags "mytag" ` -TokenEncryptionKeyId "41111111-1111-1111-1111-111111111111" ` -Web @{ LogoutUrl = "https://mynewapp.contoso.com/logout.html" } ` -GroupMembershipClaims "SecurityGroup" ` -IdentifierUris "https://mynewapp.contoso.com"` -PasswordCredentials {passwordcredentials} </dev:code> <dev:remarks> <maml:para>此命令将更新指定的应用程序。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Set-AzureADMSApplicationLogo </command:name> <maml:description> <maml:para>为应用程序对象设置徽标。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureADMSApplicationLogo</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>为应用程序对象设置徽标。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Set-AzureADMSApplicationLogo</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>用作应用程序徽标的 ImageByteArray</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">Byte[]</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure Active Directory 对象的唯一标识符</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Content</maml:name> <maml:description> <maml:para>用作应用程序徽标的 ImageByteArray</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">Byte[]</command:parametervalue> <dev:type> <maml:name>Byte[]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>Byte[]</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1: 设置应用程序的徽标</maml:title> <dev:code>PS C:\>Set-AzureADMSApplicationLogo -ObjectId 121ce3aa-64cb-44f2-99e8-deb705caeddd -Content {imagebytearray}</dev:code> <dev:remarks> <maml:para>此命令将更新应用程序徽标。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Add-AzureADApplicationPolicy</command:name> <command:verb>Add</command:verb> <command:noun>AzureADApplicationPolicy</command:noun> <maml:description> <maml:para>Add-AzureADApplicationPolicy cmdlet 此时不可用。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Add-AzureADApplicationPolicy cmdlet 将添加 Azure Active Directory 应用程序策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Add-AzureADApplicationPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为: * Continue</maml:para> <maml:para>* Ignore</maml:para> <maml:para>* Inquire</maml:para> <maml:para>* SilentlyContinue</maml:para> <maml:para>* Stop</maml:para> <maml:para>* Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>RefObjectId</maml:name> <maml:Description> <maml:para>指定策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>需要为其设置策略的应用程序的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为: * Continue</maml:para> <maml:para>* Ignore</maml:para> <maml:para>* Inquire</maml:para> <maml:para>* SilentlyContinue</maml:para> <maml:para>* Stop</maml:para> <maml:para>* Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>RefObjectId</maml:name> <maml:Description> <maml:para>指定策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>需要为其设置策略的应用程序的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>------------- 示例 1:添加应用程序策略 -------------</maml:title> <dev:code>PS C:\>Add-AzureADApplicationPolicy -ObjectId <object id of application> -RefObjectId <object id of policy></dev:code> <dev:remarks> <maml:para>此命令将添加应用程序策略。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADApplicationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADApplicationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Add-AzureADMSLifecyclePolicyGroup</command:name> <command:verb>Add</command:verb> <command:noun>AzureADMSLifecyclePolicyGroup</command:noun> <maml:description> <maml:para>将组添加到生命周期策略</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Add-AzureADMSLifecyclePolicyGroup cmdlet 将组添加到 Azure Active Directory 中的生命周期策略</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Add-AzureADMSLifecyclePolicyGroup</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupId</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定生命周期策略对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupId</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定生命周期策略对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\>Add-AzureADMSLifecyclePolicyGroup -Id "b4c908b0-3595-4add-91b4-c5400b31b57b" -groupId "cffd97bd-6b91-4c4e-b553-6918a320211c"</dev:code> <dev:remarks> <maml:para>此命令将组添加到生命周期策略。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Add-AzureADServicePrincipalPolicy</command:name> <command:verb>Add</command:verb> <command:noun>AzureADServicePrincipalPolicy</command:noun> <maml:description> <maml:para>添加服务主体策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Add-AzureADServicePrincipalPolicy cmdlet 将添加服务主体策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Add-AzureADServicePrincipalPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>RefObjectId</maml:name> <maml:Description> <maml:para>指定此策略的对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>需要为其设置策略的服务主体的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>RefObjectId</maml:name> <maml:Description> <maml:para>指定此策略的对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>需要为其设置策略的服务主体的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>---------- 示例 1:添加服务主体策略 ----------</maml:title> <dev:code>PS C:\>Add-AzureADServicePrincipalPolicy -Id <object id of service principal> -RefObjectId <object id of policy></dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADServicePrincipalPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADServicePrincipalPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADApplicationPolicy</command:name> <command:verb>Get</command:verb> <command:noun>AzureADApplicationPolicy</command:noun> <maml:description> <maml:para>获取应用程序策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADApplicationPolicy cmdlet 将获取 Azure Active Directory 应用程序策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADApplicationPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。</maml:para> <maml:para>此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>需要为其检索策略的应用程序的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。</maml:para> <maml:para>此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定要在其中存储信息事件消息的变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>需要为其检索策略的应用程序的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>------------- 示例 1:获取应用程序策略 -------------</maml:title> <dev:code>PS C:\>Get-AzureADApplicationPolicy -Id "<object id of application>"</dev:code> <dev:remarks> <maml:para>此命令将获取指定的应用程序策略。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Add-AzureADApplicationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADApplicationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADApplicationProxyApplication</command:name> <command:verb>Get</command:verb> <command:noun>AzureADApplicationProxyApplication</command:noun> <maml:description> <maml:para>Get-AzureADApplicationProxyApplication cmdlet 检索为 Azure Active Directory 中的应用程序代理配置的应用程序。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADApplicationProxyApplication cmdlet 检索为 Azure Active Directory 中的应用程序代理配置的应用程序。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADApplicationProxyApplication</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ObjectId</maml:name> <maml:Description> <maml:para>这是应用程序的唯一应用程序 ID。可以通过运行 Get-AzureADApplication 命令找到此值。也可以在 Azure 门户中找到此值,具体步骤是依次转到 AAD、“企业应用程序”、“所有应用程序”,选择应用程序,转到属性选项卡,再使用相应页面上的 ObjectId。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ObjectId</maml:name> <maml:Description> <maml:para>这是应用程序的唯一应用程序 ID。可以通过运行 Get-AzureADApplication 命令找到此值。也可以在 Azure 门户中找到此值,具体步骤是依次转到 AAD、“企业应用程序”、“所有应用程序”,选择应用程序,转到属性选项卡,再使用相应页面上的 ObjectId。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADApplicationProxyApplication -ObjectId 8d6c6684-6f8c-42e2-8914-32ed2adf9ccf ExternalAuthenticationType : AadPreAuthentication ApplicationServerTimeout : Default ExternalUrl : https://travel.cycles.adventure-works.com/ InternalUrl : https://awcyclesapps.adventure-works.com:3000/ IsTranslateHostHeaderEnabled : False IsTranslateLinksInBodyEnabled : False IsOnPremPublishingEnabled : True VerifiedCustomDomainCertificatesMetadata : class OnPremisesPublishingVerifiedCustomDomainCertificatesMetadataObject { Thumbprint: [XXXXX] SubjectName: [XXXXX] Issuer: IssueDate: 11/9/2017 5:54:29 ExpiryDate: 11/9/2019 5:54:29 } VerifiedCustomDomainKeyCredential : VerifiedCustomDomainPasswordCredential : SingleSignOnSettings :</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADApplicationProxyApplicationConnectorGroup</command:name> <command:verb>Get</command:verb> <command:noun>AzureADApplicationProxyApplicationConnectorGroup</command:noun> <maml:description> <maml:para>Get-AzureADApplicationProxyApplicationConnectorGroup cmdlet 检索为特定应用程序分配的连接器组。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADApplicationProxyApplicationConnectorGroup cmdlet 检索为指定应用程序分配的连接器组。必须为 Azure Active Directory (AD)中的应用程序代理配置应用程序。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADApplicationProxyApplicationConnectorGroup</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ObjectId</maml:name> <maml:Description> <maml:para>ObjectId 是应用程序 ID。可以通过运行 Get-AzureADApplication 命令找到此值。也可以在 Azure 门户中找到此值,具体步骤是依次转到 AAD、“企业应用程序”、“所有应用程序”,选择应用程序,转到属性选项卡,再使用相应页面上的 ObjectId。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ObjectId</maml:name> <maml:Description> <maml:para>ObjectId 是应用程序 ID。可以通过运行 Get-AzureADApplication 命令找到此值。也可以在 Azure 门户中找到此值,具体步骤是依次转到 AAD、“企业应用程序”、“所有应用程序”,选择应用程序,转到属性选项卡,再使用相应页面上的 ObjectId。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADApplicationProxyApplicationConnectorGroup -ObjectId 8d6c6684-6f8c-42e2-8914-32ed2adf9ccf Id Name ConnectorGroupType IsDefault -- ---- ------------------ --------- a39b9095-8dc8-4d3a-86c3-e7b5c3f0fb84 Application Servers applicationProxy False</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADApplicationProxyConnector</command:name> <command:verb>Get</command:verb> <command:noun>AzureADApplicationProxyConnector</command:noun> <maml:description> <maml:para>Get-AzureADApplicationProxyApplicationConnector cmdlet 检索所有连接器的列表或特定连接器的详细信息(如果指定 ID 的话)。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADApplicationProxyApplicationConnector cmdlet 检索给定连接器的详细信息。如果未指定 connectorId,它检索分配到租户的所有连接器。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADApplicationProxyConnector</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有用户。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定 oData v3.0 筛选语句。此参数控制返回哪些对象。若要详细了解如何使用 oData 进行查询,可以访问 http://www.odata.org/documentation/odata-version-3-0/odata-version-3-0-core-protocol/#queryingcollections</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADApplicationProxyConnector</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有用户。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>特定连接器的 ID。找到此值的方法是运行不使用这个参数即可获取相应 ID 的命令,或通过转到门户并查看连接器详细信息。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADApplicationProxyConnector</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有用户。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>SearchString</maml:name> <maml:Description> <maml:para>指定搜索字符串。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有用户。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定 oData v3.0 筛选语句。此参数控制返回哪些对象。若要详细了解如何使用 oData 进行查询,可以访问 http://www.odata.org/documentation/odata-version-3-0/odata-version-3-0-core-protocol/#queryingcollections</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>特定连接器的 ID。找到此值的方法是运行不使用这个参数即可获取相应 ID 的命令,或通过转到门户并查看连接器详细信息。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>SearchString</maml:name> <maml:Description> <maml:para>指定搜索字符串。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para>System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADApplicationProxyConnector Id MachineName ExternalIp Status -- ----------- ---------- ------ 4c8b06e7-9751-41d5-8e5e-48e9b9bc2c66 AWCyclesApps.adventure-works.com 52.165.149.115 active 834c5dd6-f2e8-47ae-973a-9fc769289b3d AWCyclesAD.adventure-works.com 52.165.149.131 active</dev:code> <dev:remarks> <maml:para>示例 1:检索所有连接器</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 示例 2 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADApplicationProxyConnector -Id 4c8b06e7-9751-41d5-8e5e-48e9b9bc2c66 Id MachineName ExternalIp Status -- ----------- ---------- ------ 4c8b06e7-9751-41d5-8e5e-48e9b9bc2c66 AWCyclesApps.adventure-works.com 52.165.149.115 active</dev:code> <dev:remarks> <maml:para>示例 2:检索特定连接器的信息</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADApplicationProxyConnectorGroup</command:name> <command:verb>Get</command:verb> <command:noun>AzureADApplicationProxyConnectorGroup</command:noun> <maml:description> <maml:para>Get-AzureADApplicationProxyConnectorGroup cmdlet 检索所有连接器组的列表或特定连接器组的详细信息(如果指定 ID 的话)。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADApplicationProxyConnectorGroup cmdlet 检索所有连接器组的列表或特定连接器组的详细信息(如果指定 ID 的话)。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADApplicationProxyConnectorGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有用户。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定 oData v3.0 筛选语句。此参数控制返回哪些对象。若要详细了解如何使用 oData 进行查询,可以访问 http://www.odata.org/documentation/odata-version-3-0/odata-version-3-0-core-protocol/#queryingcollections</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADApplicationProxyConnectorGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有用户。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>特定连接器组的 ID。找到此值的方法是运行不使用这个参数即可获取相应 ID 的命令,或通过转到门户并查看连接器组详细信息。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADApplicationProxyConnectorGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有用户。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>SearchString</maml:name> <maml:Description> <maml:para>指定搜索字符串。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有用户。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定 oData v3.0 筛选语句。此参数控制返回哪些对象。若要详细了解如何使用 oData 进行查询,可以访问 http://www.odata.org/documentation/odata-version-3-0/odata-version-3-0-core-protocol/#queryingcollections</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>特定连接器组的 ID。找到此值的方法是运行不使用这个参数即可获取相应 ID 的命令,或通过转到门户并查看连接器组详细信息。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>SearchString</maml:name> <maml:Description> <maml:para>指定搜索字符串。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para>System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADApplicationProxyConnectorGroup Id Name ConnectorGroupType IsDefault -- ---- ------------------ --------- 1a0bc41a-8663-4da3-934c-214640663a33 Default applicationProxy True 68348ab6-4cc5-4c8c-a0f0-7a43db2f4ff6 Guest Applications applicationProxy False a39b9095-8dc8-4d3a-86c3-e7b5c3f0fb84 Application Servers applicationProxy False</dev:code> <dev:remarks> <maml:para>示例 1:检索所有连接器组</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 示例 2 --------------------------</maml:title> <dev:code>PS C:\Users\nanaeh\Desktop\Microsoft.Open.AzureAD.Module.Preview> Get-AzureADApplicationProxyConnectorGroup -Id a39b9095-8dc8-4d3a-86c3-e7b5c3f0fb84 Id Name ConnectorGroupType IsDefault -- ---- ------------------ --------- a39b9095-8dc8-4d3a-86c3-e7b5c3f0fb84 Application Servers applicationProxy False</dev:code> <dev:remarks> <maml:para>示例 2:检索特定连接器组</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADApplicationProxyConnectorGroupMembers</command:name> <command:verb>Get</command:verb> <command:noun>AzureADApplicationProxyConnectorGroupMembers</command:noun> <maml:description> <maml:para>Get-AzureADApplicationProxyConnectorGroupMembers 获取与给定连接器组关联的所有应用程序代理连接器。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADApplicationProxyConnectorGroupMembers 获取与给定连接器组关联的所有应用程序代理连接器。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADApplicationProxyConnectorGroupMembers</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有用户。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定 oData v3.0 筛选语句。此参数控制返回哪些对象。若要详细了解如何使用 oData 进行查询,可以访问 http://www.odata.org/documentation/odata-version-3-0/odata-version-3-0-core-protocol/#queryingcollections</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>连接器组的 ID。可以通过运行 Get-AzureADApplicationProxyConnectorGroup 命令找到此值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有用户。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定 oData v3.0 筛选语句。此参数控制返回哪些对象。若要详细了解如何使用 oData 进行查询,可以访问 http://www.odata.org/documentation/odata-version-3-0/odata-version-3-0-core-protocol/#queryingcollections</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>连接器组的 ID。可以通过运行 Get-AzureADApplicationProxyConnectorGroup 命令找到此值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para>System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADApplicationProxyConnectorGroupMembers -Id ba07e273-6b9e-4567-afe4-efddac32509d Id MachineName ExternalIp Status -- ----------- ---------- ------ 969eddd2-ad11-47ca-92ba-4442b9901edf vm-test-010 13.93.84.164 active ea4a4b91-aace-4e8b-b81a-b2f6429a477e test-vm-conn1 52.18.9.115 active</dev:code> <dev:remarks> <maml:para>此命令的输出,显示组中的所有连接器。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADApplicationProxyConnectorMemberOf</command:name> <command:verb>Get</command:verb> <command:noun>AzureADApplicationProxyConnectorMemberOf</command:noun> <maml:description> <maml:para>Get-AzureADApplicationProxyConnectorMemberOf 命令获取指定连接器所属的 ConnectorGroup。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADApplicationProxyConnectorMemberOf 命令获取指定连接器所属的 ConnectorGroup。如果未向连接器分配任何组,它默认位于“默认”中。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADApplicationProxyConnectorMemberOf</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>连接器的 ID。可以通过运行 Get-AzureADApplicationProxyConnector 找到此值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>连接器的 ID。可以通过运行 Get-AzureADApplicationProxyConnector 找到此值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADApplicationProxyConnectorMemberOf -Id 4c8b06e7-9751-41d5-8e5e-48e9b9bc2c66 Id Name ConnectorGroupType IsDefault -- ---- ------------------ --------- a39b9095-8dc8-4d3a-86c3-e7b5c3f0fb84 Application Servers applicationProxy False</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADDirectorySetting</command:name> <command:verb>Get</command:verb> <command:noun>AzureADDirectorySetting</command:noun> <maml:description> <maml:para>获取目录设置。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADDirectorySetting cmdlet 将从 Azure Active Directory (AD)中获取目录设置。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADDirectorySetting</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有目录设置。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中目录的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADDirectorySetting</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有目录设置。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有目录设置。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中目录的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADDirectorySettingTemplate</command:name> <command:verb>Get</command:verb> <command:noun>AzureADDirectorySettingTemplate</command:noun> <maml:description> <maml:para>获取目录设置模板。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADDirectorySettingTemplate cmdlet 将从 Azure Active Directory (AD)中获取目录设置模板。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADDirectorySettingTemplate</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要检索的设置模板的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要检索的设置模板的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSDeletedDirectoryObject</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSDeletedDirectoryObject</command:noun> <maml:description> <maml:para>此 cmdlet 用于检索从目录中软删除的目录对象</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 cmdlet 用于从目录中检索软删除的目录对象。请注意,组的软删除目前仅适用于统一组(也称为 Office 365 组)。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSDeletedDirectoryObject</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要检索的目录对象的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要检索的目录对象的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>Get-AzureADMSDeletedDirectoryObject -Id 85b5ff1e-0402-400c-9e3c-0f9e965325d1</dev:code> <dev:remarks> <maml:para>此示例显示如何从目录中检索 ID 为 85b5ff1e-0402-400c-9e3c-0f9e965325d1 的已删除的目录对象</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSDeletedGroup</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSDeletedGroup</command:noun> <maml:description> <maml:para>此 cmdlet 用于检索目录中软删除的组。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 cmdlet 用于检索目录中软删除的组。在删除某个组时,最初是软删除,并且可以在删除后的前 30 天内恢复。30 天后将永久删除该组,并且无法再恢复。请注意,软删除目前仅适用于统一组(也称为 Office 365 组)。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSDeletedGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有组成员。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定一个 oData v3.0 筛选器语句。此参数控制返回哪些对象。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADMSDeletedGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有组成员。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要检索的已删除组的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADMSDeletedGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有组成员。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>SearchString</maml:name> <maml:Description> <maml:para>指定搜索字符串。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有组成员。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定一个 oData v3.0 筛选器语句。此参数控制返回哪些对象。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要检索的已删除组的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>SearchString</maml:name> <maml:Description> <maml:para>指定搜索字符串。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para>System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>Get-AzureAdMSDeletedGroup</dev:code> <dev:remarks> <maml:para>此 cmdlet 将检索目录中所有可恢复的已删除组。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSGroup</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSGroup</command:noun> <maml:description> <maml:para>获取有关 Azure AD 中组的信息。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADMSGroup cmdlet 将获取有关 Azure Active Directory (Azure AD)中组的信息。若要获取组,请指定 Id 参数。指定 SearchString 或 Filter 参数可以查找特定组。 如果未指定任何参数,则此 cmdlet 将获取所有组。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有组。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定 oData v3.0 筛选器字符串以匹配组集。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定此 cmldet 获取的最大记录数。默认值为 100。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADMSGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有组。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定此 cmdlet 获取的组 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADMSGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有组。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>SearchString</maml:name> <maml:Description> <maml:para>指定搜索字符串。此 cmdlet 获取包含与搜索字符串相匹配的 DisplayName 或 Description 属性的组。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有组。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>指定 oData v3.0 筛选器字符串以匹配组集。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定此 cmdlet 获取的组 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>SearchString</maml:name> <maml:Description> <maml:para>指定搜索字符串。此 cmdlet 获取包含与搜索字符串相匹配的 DisplayName 或 Description 属性的组。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定此 cmldet 获取的最大记录数。默认值为 100。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para>System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>此 cmdlet 当前处于公共预览版。既然 cmdlet 处于公共预览版,我们可能会对此 cmdlet 进行更改,这可能会产生意外的影响。建议不要在生产环境中使用此 cmdlet。</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>------------------ 示例 1:获取所有组 ------------------</maml:title> <dev:code>PS C:\> Get-AzureADMSGroup Id : d539a25e-2db2-482a-9dcb-2a0b27fe4f27 Description : OnPremisesSyncEnabled : DisplayName : ADSyncOperators OnPremisesLastSyncDateTime : Mail : MailEnabled : False MailNickname : ADSyncOperators OnPremisesSecurityIdentifier : S-1-5-21-2695029449-1154706203-1063139792-1243 ProxyAddresses : {} SecurityEnabled : True GroupTypes : {} MembershipRule : MembershipRuleProcessingState : Id : d98ddc78-6e8d-4f0d-8a3f-b923c6ebc14b Description : OnPremisesSyncEnabled : DisplayName : Project Icarus OnPremisesLastSyncDateTime : Mail : MailEnabled : False MailNickname : 60f3d02c-0c6e-41da-bb64-128c73b4d9e6 OnPremisesSecurityIdentifier : ProxyAddresses : {} SecurityEnabled : True GroupTypes : {DynamicMembership} MembershipRule : (user.jobtitle -eq "Sales manager") -or ((user.department -eq "Marketing") -and (user.country -eq "Greece")) MembershipRuleProcessingState : On</dev:code> <dev:remarks> <maml:para>此命令将获取 Azure AD 中的所有组。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------- 示例 2:使用 ID 获取特定组 --------</maml:title> <dev:code>PS C:\> Get-AzureADMSGroup -Id "d98ddc78-6e8d-4f0d-8a3f-b923c6ebc14b" Id : d98ddc78-6e8d-4f0d-8a3f-b923c6ebc14b Description : OnPremisesSyncEnabled : DisplayName : Project Icarus OnPremisesLastSyncDateTime : Mail : MailEnabled : False MailNickname : 60f3d02c-0c6e-41da-bb64-128c73b4d9e6 OnPremisesSecurityIdentifier : ProxyAddresses : {} SecurityEnabled : True GroupTypes : {DynamicMembership} MembershipRule : (user.jobtitle -eq "Sales manager") -or ((user.department -eq "Marketing") -and (user.country -eq "Greece")) MembershipRuleProcessingState : On</dev:code> <dev:remarks> <maml:para>此命令将获取具有指定 ID 的组的信息。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADMSGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>#AzureAD: Certificate based authentication for iOS and Android now in preview!</maml:linkText> <maml:uri>https://blogs.technet.microsoft.com/enterprisemobility/2016/07/18/azuread-certificate-based-authentication-for-ios-and-android-now-in-preview/</maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSGroupLifecyclePolicy</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSGroupLifecyclePolicy</command:noun> <maml:description> <maml:para>检索 Azure Active Directory 中 groupLifecyclePolicies 对象的属性和关系。如果未指定任何参数,则此 cmdlet 将获取所有 groupLifecyclePolicies。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADMSGroupLifecyclePolicy 命令检索 Azure Active Directory 中 groupLifecyclePolicies 对象的属性和关系。如果未指定任何参数,则此 cmdlet 将获取所有 groupLifecyclePolicies。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSGroupLifecyclePolicy</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para>System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADMSGroupLifecyclePolicy</dev:code> <dev:remarks> <maml:para>此命令会检索为租户配置的组过期设置</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSIdentityProvider</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSIdentityProvider</command:noun> <maml:description> <maml:para>此 cmdlet 用于检索目录中配置的标识提供程序。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 cmdlet 用于检索已在目录中配置的标识提供程序。这些标识提供程序可便于用户注册或登录受 Azure AD B2C 保护的应用程序。</maml:para> <maml:para>在 Azure AD 租户中配置标识提供程序还会启用后续 B2B 来宾方案。例如,某组织在 Office 365 中有资源,需要与 Gmail 用户进行共享。Gmail 用户使用自己的 Google 帐户凭据进行身份验证和访问文档。</maml:para> <maml:para>最新的一组标识提供程序包括 Microsoft、Google、Facebook、Amazon 或 LinkedIn。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSIdentityProvider</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>标识提供程序的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>标识提供程序的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADMSIdentityProvider</dev:code> <dev:remarks> <maml:para>此示例检索所有已配置的标识提供程序及其属性的列表。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 示例 2 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADMSIdentityProvider -Id LinkedIn-OAUTH</dev:code> <dev:remarks> <maml:para>此示例检索指定标识提供程序的属性。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSLifecyclePolicyGroup</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSLifecyclePolicyGroup</command:noun> <maml:description> <maml:para>检索某个组所属的生命周期策略对象。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADMSLifecyclePolicyGroup 检索某个组所属的生命周期策略对象。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSLifecyclePolicyGroup</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADMSLifecyclePolicyGroup -Id cffd97bd-6b91-4c4e-b553-6918a320211c</dev:code> <dev:remarks> <maml:para>此命令将检索某个组所属的生命周期策略对象。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADObjectSetting</command:name> <command:verb>Get</command:verb> <command:noun>AzureADObjectSetting</command:noun> <maml:description> <maml:para>获取对象设置。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADObjectSetting cmdlet 从 Azure Active Directory (AD)中获取对象设置。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADObjectSetting</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有对象设置。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定设置对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetObjectId</maml:name> <maml:Description> <maml:para>指定目标对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetType</maml:name> <maml:Description> <maml:para>指定目标类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADObjectSetting</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有对象设置。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetObjectId</maml:name> <maml:Description> <maml:para>指定目标对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetType</maml:name> <maml:Description> <maml:para>指定目标类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>All</maml:name> <maml:Description> <maml:para>如果为 true,则返回所有对象设置。如果为 false,则返回 Top 参数指定的对象数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定设置对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetObjectId</maml:name> <maml:Description> <maml:para>指定目标对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetType</maml:name> <maml:Description> <maml:para>指定目标类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Top</maml:name> <maml:Description> <maml:para>指定要返回的最大记录数。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADPolicy</command:name> <command:verb>Get</command:verb> <command:noun>AzureADPolicy</command:noun> <maml:description> <maml:para>获取策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADPolicy cmdlet 将获取 Azure Active Directory (AD)中的策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要检索的策略的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要检索的策略的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADPolicyAppliedObject</command:name> <command:verb>Get</command:verb> <command:noun>AzureADPolicyAppliedObject</command:noun> <maml:description> <maml:para></maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADPolicyAppliedObject cmdlet 将从 Azure Active Directory (AD)中获取已应用策略的对象。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADPolicyAppliedObject</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要为其查找对象的策略的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要为其查找对象的策略的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADServicePrincipalPolicy</command:name> <command:verb>Get</command:verb> <command:noun>AzureADServicePrincipalPolicy</command:noun> <maml:description> <maml:para></maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADServicePrincipalPolicy cmdlet 将获取 Azure Active Directory (AD)中服务主体的策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADServicePrincipalPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要为其检索策略的服务主体的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要为其检索策略的服务主体的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>------------------- 示例 1:获取策略 -------------------</maml:title> <dev:code>PS C:\>Get-AzureADServicePrincipalPolicy -Id "<object id of service principal>"</dev:code> <dev:remarks> <maml:para>此命令将获取用于指定服务主体的策略。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Add-AzureADServicePrincipalPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADServicePrincipalPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-AzureADApplicationProxyConnectorGroup</command:name> <command:verb>New</command:verb> <command:noun>AzureADApplicationProxyConnectorGroup</command:noun> <maml:description> <maml:para>New-AzureADApplicationProxyConnectorGroup cmdlet 新建应用程序代理连接器组。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>New-AzureADApplicationProxyConnectorGroup cmdlet 新建应用程序代理连接器组。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADApplicationProxyConnectorGroup</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>新连接器组的名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Name</command:parameterValue> <dev:type> <maml:name>Name</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>新连接器组的名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Name</command:parameterValue> <dev:type> <maml:name>Name</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.Name</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> New-AzureADApplicationProxyConnectorGroup -Name "Backup Application Servers" Id Name ConnectorGroupType IsDefault -- ---- ------------------ --------- d533d7b1-fd92-49e8-a200-3e7dcf7c2ab5 Backup Application Servers applicationProxy False</dev:code> <dev:remarks> <maml:para>示例 1:新建名为“备份应用程序服务器”的连接器组</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-AzureADDirectorySetting</command:name> <command:verb>New</command:verb> <command:noun>AzureADDirectorySetting</command:noun> <maml:description> <maml:para>创建目录设置对象。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>New-AzureADDirectorySetting cmdlet 将在 Azure Active Directory (AD)中创建目录设置对象。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADDirectorySetting</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>DirectorySetting</maml:name> <maml:Description> <maml:para>指定目录设置。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">DirectorySetting</command:parameterValue> <dev:type> <maml:name>DirectorySetting</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>DirectorySetting</maml:name> <maml:Description> <maml:para>指定目录设置。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">DirectorySetting</command:parameterValue> <dev:type> <maml:name>DirectorySetting</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-AzureADMSGroup</command:name> <command:verb>New</command:verb> <command:noun>AzureADMSGroup</command:noun> <maml:description> <maml:para>创建 Azure AD 组。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>New-AzureADMSGroup cmdlet 将创建 Azure Active Directory (Azure AD)组。</maml:para> <maml:para>有关创建动态组的信息,请参阅“使用属性创建高级规则”(https://azure.microsoft.com/zh-cn/documentation/articles/active-directory-accessmanagement-groups-with-advanced-rules/)。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADMSGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>为组指定说明。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定组的一个显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MailEnabled</maml:name> <maml:Description> <maml:para>指定此组是否已启用邮件。</maml:para> <maml:para>当前无法在 Azure AD 中创建启用邮件的组。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MailNickname</maml:name> <maml:Description> <maml:para>指定组的邮件别名。如果 MailEnabled 为 $False,仍必须指定邮件别名。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SecurityEnabled</maml:name> <maml:Description> <maml:para>指定组是否已启用安全功能。对于安全组,此值必须为 $True。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupTypes</maml:name> <maml:Description> <maml:para>指定此组是动态组。若要创建动态组,请将值指定为 DynamicMembership。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MembershipRule</maml:name> <maml:Description> <maml:para>指定动态组的成员身份规则。</maml:para> <maml:para>有关可以用于动态组的规则的详细信息,请参阅“使用属性创建高级规则”(https://azure.microsoft.com/zh-cn/documentation/articles/active-directory-accessmanagement-groups-with-advanced-rules/)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MembershipRuleProcessingState</maml:name> <maml:Description> <maml:para>指定规则处理状态。此参数的可接受值为:</maml:para> <maml:para>* "On"。处理组规则。</maml:para> <maml:para>* "Paused"。停止处理组规则。</maml:para> <maml:para></maml:para> <maml:para>更改处理状态的值不会更改组的成员列表。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Visibility</maml:name> <maml:Description> <maml:para>此参数确定该组的内容和成员的可见性。此参数可以采用下列值之一:</maml:para> <maml:para>*"Public" - 任何人都可以查看组内容</maml:para> <maml:para>*"Private" - 只有成员才能查看组内容</maml:para> <maml:para>*"HiddenMembership" - 只有成员可以查看组内容,而且只有成员、所有者、全局/公司管理员、用户管理员和支持管理员可以查看组成员列表。</maml:para> <maml:para></maml:para> <maml:para>如果未提供任何值,则默认值将为 "Public"。</maml:para> <maml:para>注意:</maml:para> <maml:para>*此参数只对 groupType 设置为 "Unified" 的组有效。</maml:para> <maml:para>*如果组将此属性设置为 "HiddenMembership",之后便无法再更改。</maml:para> <maml:para>*任何人都可以加入将此属性设置为 "Public" 的组。如果将此属性设置为 "Private" 或 "HiddenMembership",只有所有者可以在组中添加新成员,并且所有者需要审核组加入请求。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>为组指定说明。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定组的一个显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MailEnabled</maml:name> <maml:Description> <maml:para>指定此组是否已启用邮件。</maml:para> <maml:para>当前无法在 Azure AD 中创建启用邮件的组。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MailNickname</maml:name> <maml:Description> <maml:para>指定组的邮件别名。如果 MailEnabled 为 $False,仍必须指定邮件别名。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SecurityEnabled</maml:name> <maml:Description> <maml:para>指定组是否已启用安全功能。对于安全组,此值必须为 $True。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupTypes</maml:name> <maml:Description> <maml:para>指定此组是动态组。若要创建动态组,请将值指定为 DynamicMembership。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MembershipRule</maml:name> <maml:Description> <maml:para>指定动态组的成员身份规则。</maml:para> <maml:para>有关可以用于动态组的规则的详细信息,请参阅“使用属性创建高级规则”(https://azure.microsoft.com/zh-cn/documentation/articles/active-directory-accessmanagement-groups-with-advanced-rules/)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MembershipRuleProcessingState</maml:name> <maml:Description> <maml:para>指定规则处理状态。此参数的可接受值为:</maml:para> <maml:para>* "On"。处理组规则。</maml:para> <maml:para>* "Paused"。停止处理组规则。</maml:para> <maml:para></maml:para> <maml:para>更改处理状态的值不会更改组的成员列表。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Visibility</maml:name> <maml:Description> <maml:para>此参数确定该组的内容和成员的可见性。此参数可以采用下列值之一:</maml:para> <maml:para>*"Public" - 任何人都可以查看组内容</maml:para> <maml:para>*"Private" - 只有成员才能查看组内容</maml:para> <maml:para>*"HiddenMembership" - 只有成员可以查看组内容,而且只有成员、所有者、全局/公司管理员、用户管理员和支持管理员可以查看组成员列表。</maml:para> <maml:para></maml:para> <maml:para>如果未提供任何值,则默认值将为 "Public"。</maml:para> <maml:para>注意:</maml:para> <maml:para>*此参数只对 groupType 设置为 "Unified" 的组有效。</maml:para> <maml:para>*如果组将此属性设置为 "HiddenMembership",之后便无法再更改。</maml:para> <maml:para>*任何人都可以加入将此属性设置为 "Public" 的组。如果将此属性设置为 "Private" 或 "HiddenMembership",只有所有者可以在组中添加新成员,并且所有者需要审核组加入请求。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>此 cmdlet 当前处于公共预览版。既然 cmdlet 处于公共预览版,我们可能会对此 cmdlet 进行更改,这可能会产生意外的影响。建议不要在生产环境中使用此 cmdlet。</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------- 示例 1:创建动态组 --------------</maml:title> <dev:code>PS C:\> New-AzureADMSGroup -DisplayName "Dynamic Group 01" -Description "Dynamic group created from PS" -MailEnabled $False -MailNickName "group" -SecurityEnabled $True -GroupTypes "DynamicMembership" -MembershipRule "(user.department -contains ""Marketing"")" -MembershipRuleProcessingState "On" Id : 9126185e-25df-4522-a380-7ab697a7241c Description : Dynamic group created from PS OnPremisesSyncEnabled : DisplayName : Dynamic Group 01 OnPremisesLastSyncDateTime : Mail : MailEnabled : False MailNickname : group OnPremisesSecurityIdentifier : ProxyAddresses : {} SecurityEnabled : True GroupTypes : {} MembershipRule : (user.department -eq "Marketing") MembershipRuleProcessingState : Paused</dev:code> <dev:remarks> <maml:para>此命令将使用以下规则创建新动态组:</maml:para> <maml:para>`user.department -contains "Marketing"`</maml:para> <maml:para>使用单引号替换双引号。</maml:para> <maml:para>处理状态为“启用”。这意味着,会将目录中符合此规则的所有用户作为成员添加到该组。将从该组中删除所有不合格的用户。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Using attributes to create advanced rules</maml:linkText> <maml:uri>https://azure.microsoft.com/en-us/documentation/articles/active-directory-accessmanagement-groups-with-advanced-rules/</maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-AzureADMSGroupLifecyclePolicy</command:name> <command:verb>New</command:verb> <command:noun>AzureADMSGroupLifecyclePolicy</command:noun> <maml:description> <maml:para>新建 groupLifecyclePolicy</maml:para> </maml:description> </command:details> <maml:description> <maml:para>在 Azure Active Directory 中新建 groupLifecyclePolicy</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADMSGroupLifecyclePolicy</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AlternateNotificationEmails</maml:name> <maml:Description> <maml:para>对于没有所有者的组的通知电子邮件将发送到这些电子邮件地址。由 ";" 分隔的电子邮件地址列表。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupLifetimeInDays</maml:name> <maml:Description> <maml:para>组需要续订前可存在的天数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ManagedGroupTypes</maml:name> <maml:Description> <maml:para>此参数允许管理员选择将应用此策略的 Office 365 组。“无”将创建处于禁用状态的策略。“全部”会将此策略应用于租户中的每个 Office 365 组。“已选”将允许管理员选择将应用此策略的特定 Office 365 组。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AlternateNotificationEmails</maml:name> <maml:Description> <maml:para>对于没有所有者的组的通知电子邮件将发送到这些电子邮件地址。由 ";" 分隔的电子邮件地址列表。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupLifetimeInDays</maml:name> <maml:Description> <maml:para>组需要续订前可存在的天数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ManagedGroupTypes</maml:name> <maml:Description> <maml:para>此参数允许管理员选择将应用此策略的 Office 365 组。“无”将创建处于禁用状态的策略。“全部”会将此策略应用于租户中的每个 Office 365 组。“已选”将允许管理员选择将应用此策略的特定 Office 365 组。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> New-AzureADMSGroupLifecyclePolicy -GroupLifetimeInDays 99 -ManagedGroupTypes "Selected" -AlternateNotificationEmails "example@contoso.com"</dev:code> <dev:remarks> <maml:para>这将创建一个新的 groupLifecyclePolicy,将一组选定的 Office 365 组的组生存期设置为 99 天并向所有者均不为 "example@contoso.com" 所有者的组发送续订通知电子邮件</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-AzureADMSIdentityProvider</command:name> <command:verb>New</command:verb> <command:noun>AzureADMSIdentityProvider</command:noun> <maml:description> <maml:para>此 cmdlet 用于在目录中配置新的标识提供程序。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 cmdlet 用于在目录中配置标识提供程序。添加标识提供程序可便于用户使用标识提供程序注册或登录受 Azure AD B2C 保护的应用程序。</maml:para> <maml:para>在 Azure AD 租户中配置标识提供程序还会启用后续 B2B 来宾方案。例如,某组织在 Office 365 中有资源,需要与 Gmail 用户进行共享。Gmail 用户使用自己的 Google 帐户凭据进行身份验证和访问文档。</maml:para> <maml:para>最新的一组标识提供程序包括 Microsoft、Google、Facebook、Amazon 或 LinkedIn。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADMSIdentityProvider</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ClientId</maml:name> <maml:Description> <maml:para>应用程序的客户端 ID。这是在向标识提供程序注册应用程序时获取的客户端 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ClientSecret</maml:name> <maml:Description> <maml:para>应用程序的客户端密码。这是在向标识提供程序注册应用程序时获取的客户端密码。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>标识提供程序的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Type</maml:name> <maml:Description> <maml:para>标识提供程序类型。它必须是下列值之一: Microsoft、Google、Facebook、Amazon 或 LinkedIn。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ClientId</maml:name> <maml:Description> <maml:para>应用程序的客户端 ID。这是在向标识提供程序注册应用程序时获取的客户端 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ClientSecret</maml:name> <maml:Description> <maml:para>应用程序的客户端密码。这是在向标识提供程序注册应用程序时获取的客户端密码。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>标识提供程序的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Type</maml:name> <maml:Description> <maml:para>标识提供程序类型。它必须是下列值之一: Microsoft、Google、Facebook、Amazon 或 LinkedIn。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> New-AzureADMSIdentityProvider -Type LinkedIn -Name LinkedInName -ClientId LinkedInAppClientId -ClientSecret LinkedInAppClientSecret</dev:code> <dev:remarks> <maml:para>此示例添加 LinkedIn 标识提供程序。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-AzureADMSInvitation</command:name> <command:verb>New</command:verb> <command:noun>AzureADMSInvitation</command:noun> <maml:description> <maml:para>此 cmdlet 用于邀请新的外部用户进入目录。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 cmdlet 用于邀请新的外部用户进入目录。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADMSInvitation</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InvitedUserDisplayName</maml:name> <maml:Description> <maml:para>将在目录中显示的用户的显示名称</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InvitedUserEmailAddress</maml:name> <maml:Description> <maml:para>要向其发送邀请的电子邮件地址</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InvitedUserMessageInfo</maml:name> <maml:Description> <maml:para>用于指定如何发送邀请邮件的其他信息</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">InvitedUserMessageInfo</command:parameterValue> <dev:type> <maml:name>InvitedUserMessageInfo</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InvitedUser</maml:name> <maml:Description> <maml:para>目录中要为其添加或更新 B2B 凭据的现有用户对象。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">User</command:parameterValue> <dev:type> <maml:name>User</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InvitedUserType</maml:name> <maml:Description> <maml:para>邀请的用户的 userType。默认为 Guest。如果你是公司管理员,可以邀请其作为 Member。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InviteRedirectUrl</maml:name> <maml:Description> <maml:para>已邀请用户接受邀请后转向的 URL</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SendInvitationMessage</maml:name> <maml:Description> <maml:para>一个布尔参数,用于指示是否向已邀请用户发送邀请邮件。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InvitedUserDisplayName</maml:name> <maml:Description> <maml:para>将在目录中显示的用户的显示名称</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InvitedUserEmailAddress</maml:name> <maml:Description> <maml:para>要向其发送邀请的电子邮件地址</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InvitedUserMessageInfo</maml:name> <maml:Description> <maml:para>用于指定如何发送邀请邮件的其他信息</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">InvitedUserMessageInfo</command:parameterValue> <dev:type> <maml:name>InvitedUserMessageInfo</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InvitedUser</maml:name> <maml:Description> <maml:para>目录中要为其添加或更新 B2B 凭据的现有用户对象。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">User</command:parameterValue> <dev:type> <maml:name>User</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InvitedUserType</maml:name> <maml:Description> <maml:para>邀请的用户的 userType。默认为 Guest。如果你是公司管理员,可以邀请其作为 Member。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>InviteRedirectUrl</maml:name> <maml:Description> <maml:para>已邀请用户接受邀请后转向的 URL</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SendInvitationMessage</maml:name> <maml:Description> <maml:para>一个布尔参数,用于指示是否向已邀请用户发送邀请邮件。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- 邀请新的外部用户加入目录 ---------</maml:title> <dev:code>New-AzureADMSInvitation -InvitedUserEmailAddress someexternaluser@externaldomain.com -SendInvitationMessage $True -InviteRedirectUrl "http://myapps.onmicrosoft.com"</dev:code> <dev:remarks> <maml:para>使用此示例中的 cmdlet,将向 -InvitedUserEmailAddress 参数中的电子邮件地址的用户发送电子邮件。当用户接受此邀请后,用户会转至 -InviteRedirectUrl 参数中指定的 URL</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-AzureADObjectSetting</command:name> <command:verb>New</command:verb> <command:noun>AzureADObjectSetting</command:noun> <maml:description> <maml:para>创建设置对象。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>New-AzureADObjectSetting cmdlet 将在 Azure Active Directory (AD)中创建设置对象。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADObjectSetting</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>DirectorySetting</maml:name> <maml:Description> <maml:para>指定新设置。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">DirectorySetting</command:parameterValue> <dev:type> <maml:name>DirectorySetting</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。</maml:para> <maml:para>此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetObjectId</maml:name> <maml:Description> <maml:para>指定要向其分配设置的目录对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetType</maml:name> <maml:Description> <maml:para>指定要向其分配设置的目录对象的类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>DirectorySetting</maml:name> <maml:Description> <maml:para>指定新设置。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">DirectorySetting</command:parameterValue> <dev:type> <maml:name>DirectorySetting</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。</maml:para> <maml:para>此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetObjectId</maml:name> <maml:Description> <maml:para>指定要向其分配设置的目录对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetType</maml:name> <maml:Description> <maml:para>指定要向其分配设置的目录对象的类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-AzureADPolicy</command:name> <command:verb>New</command:verb> <command:noun>AzureADPolicy</command:noun> <maml:description> <maml:para>创建策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>New-AzureADPolicy cmdlet 将在 Azure Active Directory (AD)中创建策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AlternativeIdentifier</maml:name> <maml:Description> <maml:para>指定备用 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Definition</maml:name> <maml:Description> <maml:para>指定一组包含策略所有规则的 JSON,例如: -Definition @("{"TokenLifetimePolicy":{"Version":1,"MaxInactiveTime":"20:00:00"}}")</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>策略名称的字符串</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsOrganizationDefault</maml:name> <maml:Description> <maml:para>如果此策略是组织默认值则为 True</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>KeyCredentials</maml:name> <maml:Description> <maml:para>@{Text=}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Type</maml:name> <maml:Description> <maml:para>指定策略类型。对于令牌生存期,指定 "TokenLifetimePolicy"。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AlternativeIdentifier</maml:name> <maml:Description> <maml:para>指定备用 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Definition</maml:name> <maml:Description> <maml:para>指定一组包含策略所有规则的 JSON,例如: -Definition @("{"TokenLifetimePolicy":{"Version":1,"MaxInactiveTime":"20:00:00"}}")</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>策略名称的字符串</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsOrganizationDefault</maml:name> <maml:Description> <maml:para>如果此策略是组织默认值则为 True</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>KeyCredentials</maml:name> <maml:Description> <maml:para>@{Text=}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Type</maml:name> <maml:Description> <maml:para>指定策略类型。对于令牌生存期,指定 "TokenLifetimePolicy"。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>------------------ 示例 1:创建策略 ------------------</maml:title> <dev:code>PS C:\>New-AzureADPolicy -Definition <Array of Rules> -DisplayName <Name of Policy> -IsTenantDefault</dev:code> <dev:remarks> <maml:para>此命令将创建新策略。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADApplicationPolicy</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADApplicationPolicy</command:noun> <maml:description> <maml:para>删除应用程序策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADApplicationPolicy cmdlet 将从 Azure Active Directory (AD)中删除应用程序策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADApplicationPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>指定策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>{{填充 Id 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>指定策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>{{填充 Id 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>----------- 示例 1:删除应用程序策略 -----------</maml:title> <dev:code>PS C:\>Remove-AzureADApplicationPolicy -ObjectId <object id of application> -PolicyId <object id of policy></dev:code> <dev:remarks> <maml:para>此命令将删除指定的应用程序策略。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Add-AzureADApplicationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADApplicationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADApplicationProxyApplicationConnectorGroup</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADApplicationProxyApplicationConnectorGroup</command:noun> <maml:description> <maml:para>Remove-AzureADApplicationProxyApplicationConnectorGroup cmdlet 将指定应用程序的连接器组设置为“默认”并删除当前分配。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>如果应用程序已位于“默认”组中,将会看到错误消息,因为无法从“默认”组中删除应用程序,除非将它添加到其他组。必须为 Azure Active Directory (AD)中的应用程序代理配置应用程序。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADApplicationProxyApplicationConnectorGroup</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ObjectId</maml:name> <maml:Description> <maml:para>应用程序的唯一应用程序 ID。可以通过运行 Get-AzureADApplication 命令找到此值。也可以在 Azure 门户中找到此值,具体步骤是依次转到 AAD、“企业应用程序”、“所有应用程序”,选择应用程序,转到属性选项卡,再使用相应页面上的 ObjectId。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ObjectId</maml:name> <maml:Description> <maml:para>应用程序的唯一应用程序 ID。可以通过运行 Get-AzureADApplication 命令找到此值。也可以在 Azure 门户中找到此值,具体步骤是依次转到 AAD、“企业应用程序”、“所有应用程序”,选择应用程序,转到属性选项卡,再使用相应页面上的 ObjectId。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Remove-AzureADApplicationProxyApplicationConnectorGroup -ObjectId 59462d3c-a1bc-40a0-9bed-be799357ebce</dev:code> <dev:remarks> <maml:para>示例 1:删除与应用程序关联的连接器组,同时将组设置为“默认”</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADApplicationProxyConnectorGroup</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADApplicationProxyConnectorGroup</command:noun> <maml:description> <maml:para>Remove-AzureADApplicationProxyApplicationConnectorGroup cmdlet 删除应用程序代理连接器组。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADApplicationProxyConnectorGroup cmdlet 删除应用程序代理连接器组。它只能用于未分配连接器的空连接器组。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADApplicationProxyConnectorGroup</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要删除的连接器组的 ID。可以通过运行 Get-AzureADApplicationProxyConnectorGroup 命令找到此值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要删除的连接器组的 ID。可以通过运行 Get-AzureADApplicationProxyConnectorGroup 命令找到此值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Remove-AzureADApplicationProxyApplicationConnectorGroup -ObjectId 59462d3c-a1bc-40a0-9bed-be799357ebce</dev:code> <dev:remarks> <maml:para>示例 1:删除特定连接器组</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADDirectorySetting</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADDirectorySetting</command:noun> <maml:description> <maml:para>删除 Azure Active Directory 中的目录设置。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADDirectorySetting cmdlet 将从 Azure Active Directory (AD)中删除目录设置。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADDirectorySetting</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中设置对象的对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中设置对象的对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADMSDeletedDirectoryObject</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADMSDeletedDirectoryObject</command:noun> <maml:description> <maml:para>此 cmdlet 用于永久删除以前删除的目录对象</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 cmdlet 用于永久删除以前删除的目录对象。无法再还原永久删除的目录对象。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSDeletedDirectoryObject</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>永久删除的目录对象的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>永久删除的目录对象的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>Remove-AzureADMSDeletedDirectoryObject -Id aa644285-eb75-4389-885e-7233f096984c</dev:code> <dev:remarks> <maml:para>此示例显示如何永久删除 ID 为 aa644285-eb75-4389-885e-7233f096984c 的以前删除的目录对象</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADMSGroup</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADMSGroup</command:noun> <maml:description> <maml:para>删除 Azure AD 组。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADMSGroup cmdlet 将删除 Azure Active Directory (Azure AD)组。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSGroup</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定此 cmdlet 删除的组 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定此 cmdlet 删除的组 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>此 cmdlet 当前处于公共预览版。既然 cmdlet 处于公共预览版,我们可能会对此 cmdlet 进行更改,这可能会产生意外的影响。建议不要在生产环境中使用此 cmdlet。</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>------------------ 示例 1:删除组 ------------------</maml:title> <dev:code>PS C:\> Remove-AzureADMSGroup -Id "ce0a2213-bd57-4e2f-b9fa-408582e2e260"</dev:code> <dev:remarks> <maml:para>此 cmdlet 将删除具有指定 ID 的组。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADMSGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Using attributes to create advanced rules</maml:linkText> <maml:uri>https://azure.microsoft.com/en-us/documentation/articles/active-directory-accessmanagement-groups-with-advanced-rules/</maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADMSGroupLifecyclePolicy</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADMSGroupLifecyclePolicy</command:noun> <maml:description> <maml:para>删除 groupLifecyclePolicies 对象</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADMSGroupLifecyclePolicy 命令删除 Azure Active Directory 中的 groupLifecyclePolicies 对象。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSGroupLifecyclePolicy</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定此 cmdlet 删除的组 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定此 cmdlet 删除的组 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Remove-AzureADMSGroupLifecyclePolicy -Id "13bed58e-6144-41e5-abbd-47c95964e671"</dev:code> <dev:remarks> <maml:para>此 cmdlet 将删除具有指定 ID 的组。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADMSIdentityProvider</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADMSIdentityProvider</command:noun> <maml:description> <maml:para>此 cmdlet 用于删除目录中的标识提供程序。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 cmdlet 用于删除已在目录中配置的标识提供程序。标识提供程序将被永久删除。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSIdentityProvider</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>标识提供程序的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>标识提供程序的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Remove-AzureADMSIdentityProvider -Id LinkedIn-OAUTH</dev:code> <dev:remarks> <maml:para>此示例删除指定标识提供程序。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADMSLifecyclePolicyGroup</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADMSLifecyclePolicyGroup</command:noun> <maml:description> <maml:para>从生命周期策略中删除组</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADMSLifecyclePolicyGroup cmdlet 从 Azure Active Directory 的生命周期策略中删除组</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSLifecyclePolicyGroup</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupId</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定生命周期策略对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupId</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定生命周期策略对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Remove-AzureADMSLifecyclePolicyGroup -Id b4c908b0-3595-4add-91b4-c5400b31b57b -groupId cffd97bd-6b91-4c4e-b553-6918a320211c</dev:code> <dev:remarks> <maml:para>此命令从 Azure Active Directory 的生命周期策略中删除组</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADObjectSetting</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADObjectSetting</command:noun> <maml:description> <maml:para>删除 Azure Active Directory 中的设置。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADObjectSetting cmdlet 将删除 Azure Active Directory (AD)中的对象设置。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADObjectSetting</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中设置对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetObjectId</maml:name> <maml:Description> <maml:para>指定目标的对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetType</maml:name> <maml:Description> <maml:para>指定目标类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中设置对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetObjectId</maml:name> <maml:Description> <maml:para>指定目标的对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetType</maml:name> <maml:Description> <maml:para>指定目标类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADPolicy</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADPolicy</command:noun> <maml:description> <maml:para>删除策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADPolicy cmdlet 将从 Azure Active Directory (AD)中删除策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要删除的策略的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要删除的策略的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>------------------ 示例 1:删除策略 ------------------</maml:title> <dev:code>PS C:\>Remove-AzureADPolicy -Id *<ID>*.</dev:code> <dev:remarks> <maml:para>此命令将删除指定策略。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADServicePrincipalPolicy</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADServicePrincipalPolicy</command:noun> <maml:description> <maml:para></maml:para> </maml:description> </command:details> <maml:description> <maml:para></maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADServicePrincipalPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>指定策略的对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>{{填充 Id 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>指定策略的对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>{{填充 Id 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- 示例 1:删除服务主体策略 ---------</maml:title> <dev:code>PS C:\>Remove-AzureADApplicationPolicy -ObjectId <object id of application> -PolicyId <object id of policy></dev:code> <dev:remarks> <maml:para>此命令将删除服务主体策略。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Add-AzureADServicePrincipalPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADServicePrincipalPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Reset-AzureADMSLifeCycleGroup</command:name> <command:verb>Reset</command:verb> <command:noun>AzureADMSLifeCycleGroup</command:noun> <maml:description> <maml:para>通过将组的 RenewedDateTime 属性更新为当前 DateTime 来续订组。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Reset-AzureADMSLifeCycleGroup 通过将组的 RenewedDateTime 属性更新为当前 DateTime 来续订组。当续订一个组时,组有效期限会根据策略中定义的天数进行扩展。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Reset-AzureADMSLifeCycleGroup</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupId</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupId</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Reset-AzureADMSLifeCycleGroup -groupId cffd97bd-6b91-4c4e-b553-6918a320211c</dev:code> <dev:remarks> <maml:para>Reset-AzureADMSLifeCycleGroup 通过将组的 RenewedDateTime 属性更新为当前 DateTime 来续订指定组。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Restore-AzureADMSDeletedDirectoryObject</command:name> <command:verb>Restore</command:verb> <command:noun>AzureADMSDeletedDirectoryObject</command:noun> <maml:description> <maml:para>此 cmdlet 用于还原以前删除的对象。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 cmdlet 用于还原以前删除的对象。目前,仅支持还原组对象和应用程序对象。在删除某个组或应用程序时,最初是软删除,并且可以在删除后的前 30 天内恢复。30 天后将永久删除已删除的对象,并且无法再恢复。请注意,仅统一组(也称为 Office 365 组)可以还原。安全组无法还原。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Restore-AzureADMSDeletedDirectoryObject</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要还原的目录对象的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要还原的目录对象的 ID</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>Restore-AzureADMSDeletedDirectoryObject -Id aa644285-eb75-4389-885e-7233f096984c</dev:code> <dev:remarks> <maml:para>此示例显示如何还原 ID 为 aa644285-eb75-4389-885e-7233f096984c 的已删除对象</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-AzureADApplicationProxyConnectorGroup</command:name> <command:verb>Set</command:verb> <command:noun>AzureADApplicationProxyConnectorGroup</command:noun> <maml:description> <maml:para>Set-AzureADApplicationProxyConnectorGroup cmdlet 用于更改给定应用程序代理连接器组的名称。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-AzureADApplicationProxyConnectorGroup cmdlet 用于更改给定应用程序代理连接器组的名称。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADApplicationProxyConnectorGroup</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>将要重命名的连接器组的唯一标识符。可以通过运行 Get-AzureADApplicationProxyConnectorGroup 命令找到此 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>连接器组的新名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Name</command:parameterValue> <dev:type> <maml:name>Name</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>将要重命名的连接器组的唯一标识符。可以通过运行 Get-AzureADApplicationProxyConnectorGroup 命令找到此 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>连接器组的新名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Name</command:parameterValue> <dev:type> <maml:name>Name</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para>Microsoft.Open.MSGraph.Model.Name</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Set-AzureADApplicationProxyConnectorGroup -Id d533d7b1-fd92-49e8-a200-3e7dcf7c2ab5 -Name "Offsite Application Servers"</dev:code> <dev:remarks> <maml:para>示例 1:将连接器组重命名为“异地应用程序服务器”</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-AzureADDirectorySetting</command:name> <command:verb>Set</command:verb> <command:noun>AzureADDirectorySetting</command:noun> <maml:description> <maml:para>更新 Azure Active Directory 中的目录设置。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-AzureADDirectorySetting cmdlet 将更新 Azure Active Directory (AD)中的目录设置。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADDirectorySetting</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>DirectorySetting</maml:name> <maml:Description> <maml:para>指定目录设置。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">DirectorySetting</command:parameterValue> <dev:type> <maml:name>DirectorySetting</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中设置对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>DirectorySetting</maml:name> <maml:Description> <maml:para>指定目录设置。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">DirectorySetting</command:parameterValue> <dev:type> <maml:name>DirectorySetting</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure AD 中设置对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADDirectorySetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-AzureADMSGroup</command:name> <command:verb>Set</command:verb> <command:noun>AzureADMSGroup</command:noun> <maml:description> <maml:para>{{填充摘要}}</maml:para> </maml:description> </command:details> <maml:description> <maml:para>{{填充说明}}</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADMSGroup</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>{{填充 Description 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>{{填充 DisplayName 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupTypes</maml:name> <maml:Description> <maml:para>{{填充 GroupTypes 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>{{填充 Id 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MailEnabled</maml:name> <maml:Description> <maml:para>{{填充 MailEnabled 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MailNickname</maml:name> <maml:Description> <maml:para>{{填充 MailNickname 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MembershipRule</maml:name> <maml:Description> <maml:para>{{填充 MembershipRule 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MembershipRuleProcessingState</maml:name> <maml:Description> <maml:para>{{填充 MembershipRuleProcessingState 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SecurityEnabled</maml:name> <maml:Description> <maml:para>{{填充 SecurityEnabled 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Visibility</maml:name> <maml:Description> <maml:para>{{填充可见性说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>{{填充 Description 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>{{填充 DisplayName 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupTypes</maml:name> <maml:Description> <maml:para>{{填充 GroupTypes 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>{{填充 Id 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MailEnabled</maml:name> <maml:Description> <maml:para>{{填充 MailEnabled 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MailNickname</maml:name> <maml:Description> <maml:para>{{填充 MailNickname 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MembershipRule</maml:name> <maml:Description> <maml:para>{{填充 MembershipRule 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>MembershipRuleProcessingState</maml:name> <maml:Description> <maml:para>{{填充 MembershipRuleProcessingState 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SecurityEnabled</maml:name> <maml:Description> <maml:para>{{填充 SecurityEnabled 说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Visibility</maml:name> <maml:Description> <maml:para>{{填充可见性说明}}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-AzureADMSGroupLifecyclePolicy</command:name> <command:verb>Set</command:verb> <command:noun>AzureADMSGroupLifecyclePolicy</command:noun> <maml:description> <maml:para>更新 Azure Active Directory 中的特定组</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-AzureADMSGroupLifecyclePolicy 命令更新 Azure Active Directory 中的一个特定组生命周期策略</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADMSGroupLifecyclePolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AlternateNotificationEmails</maml:name> <maml:Description> <maml:para>对于没有所有者的组的通知电子邮件将发送到这些电子邮件地址。由 ";" 分隔的电子邮件地址列表。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupLifetimeInDays</maml:name> <maml:Description> <maml:para>组需要续订前可存在的天数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ManagedGroupTypes</maml:name> <maml:Description> <maml:para>允许管理员选择将应用此策略的 Office 365 组。“无”将创建处于禁用状态的策略。“全部”会将此策略应用于租户中的每个 Office 365 组。“已选”将允许管理员选择将应用该策略的特定 Office 365 组。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AlternateNotificationEmails</maml:name> <maml:Description> <maml:para>对于没有所有者的组的通知电子邮件将发送到这些电子邮件地址。由 ";" 分隔的电子邮件地址列表。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupLifetimeInDays</maml:name> <maml:Description> <maml:para>组需要续订前可存在的天数</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定 Azure Active Directory 中组的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ManagedGroupTypes</maml:name> <maml:Description> <maml:para>允许管理员选择将应用此策略的 Office 365 组。“无”将创建处于禁用状态的策略。“全部”会将此策略应用于租户中的每个 Office 365 组。“已选”将允许管理员选择将应用该策略的特定 Office 365 组。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Set-AzureADMSGroupLifecyclePolicy -Id "b4c908b0-3595-4add-91b4-c5400b31b57b" -GroupLifetimeInDays 200 -AlternateNotificationEmails "admingroup@contoso.com"</dev:code> <dev:remarks> <maml:para>此命令将更新 Azure Active Directory 中的指定 groupLifecyclePolicy</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-AzureADMSIdentityProvider</command:name> <command:verb>Set</command:verb> <command:noun>AzureADMSIdentityProvider</command:noun> <maml:description> <maml:para>此 cmdlet 用于更新目录中配置的现有标识提供程序的属性。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 cmdlet 可用于更新现有标识提供程序的属性。不得修改标识提供程序的类型。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADMSIdentityProvider</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ClientId</maml:name> <maml:Description> <maml:para>应用程序的客户端 ID。这是在向标识提供程序注册应用程序时获取的客户端 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ClientSecret</maml:name> <maml:Description> <maml:para>应用程序的客户端密码。这是在向标识提供程序注册应用程序时获取的客户端密码。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>标识提供程序的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>标识提供程序的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ClientId</maml:name> <maml:Description> <maml:para>应用程序的客户端 ID。这是在向标识提供程序注册应用程序时获取的客户端 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ClientSecret</maml:name> <maml:Description> <maml:para>应用程序的客户端密码。这是在向标识提供程序注册应用程序时获取的客户端密码。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>标识提供程序的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>标识提供程序的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Set-AzureADMSIdentityProvider -Id LinkedIn-OAUTH -ClientId NewClientId -ClientSecret NewClientSecret</dev:code> <dev:remarks> <maml:para>此示例为指定标识提供程序更新客户端 ID 和客户端密码。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-AzureADObjectSetting</command:name> <command:verb>Set</command:verb> <command:noun>AzureADObjectSetting</command:noun> <maml:description> <maml:para>更新对象设置。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-AzureADObjectSetting cmdlet 将更新对 Azure Active Directory (AD)中对象的设置。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADObjectSetting</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>DirectorySetting</maml:name> <maml:Description> <maml:para>指定 DirectorySetting 对象。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">DirectorySetting</command:parameterValue> <dev:type> <maml:name>DirectorySetting</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定设置对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetObjectId</maml:name> <maml:Description> <maml:para>指定目录对象的对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetType</maml:name> <maml:Description> <maml:para>指定目录对象的目标类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>DirectorySetting</maml:name> <maml:Description> <maml:para>指定 DirectorySetting 对象。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">DirectorySetting</command:parameterValue> <dev:type> <maml:name>DirectorySetting</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="infa"> <maml:name>InformationAction</maml:name> <maml:Description> <maml:para>指定此 cmdlet 如何响应信息事件。此参数的可接受值为:</maml:para> <maml:para>- Continue</maml:para> <maml:para>- Ignore</maml:para> <maml:para>- Inquire</maml:para> <maml:para>- SilentlyContinue</maml:para> <maml:para>- Stop</maml:para> <maml:para>- Suspend</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ActionPreference</command:parameterValue> <dev:type> <maml:name>ActionPreference</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="iv"> <maml:name>InformationVariable</maml:name> <maml:Description> <maml:para>指定信息变量。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定设置对象的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetObjectId</maml:name> <maml:Description> <maml:para>指定目录对象的对象 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>TargetType</maml:name> <maml:Description> <maml:para>指定目录对象的目标类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> {{ Add example code here }}</dev:code> <dev:remarks> <maml:para>{{在此处添加示例说明}}</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADObjectSetting</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-AzureADPolicy</command:name> <command:verb>Set</command:verb> <command:noun>AzureADPolicy</command:noun> <maml:description> <maml:para>更新策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-AzureADPolicy cmdlet 将设置 Azure Active Directory (AD)中的策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AlternativeIdentifier</maml:name> <maml:Description> <maml:para>指定策略的备用 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Definition</maml:name> <maml:Description> <maml:para>指定一组策略所有规则的 stringfied JSON。例如 -Definition @("{"TokenLifetimePolicy":{"Version":1,"MaxInactiveTime":"20:00:00"}}") .</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsOrganizationDefault</maml:name> <maml:Description> <maml:para>如果此策略是组织默认值则为 True</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>KeyCredentials</maml:name> <maml:Description> <maml:para>指定密钥凭据。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Type</maml:name> <maml:Description> <maml:para>指定策略类型。对于令牌生存期,使用 "TokenLifetimePolicy"。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要为其设置值的策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AlternativeIdentifier</maml:name> <maml:Description> <maml:para>指定策略的备用 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Definition</maml:name> <maml:Description> <maml:para>指定一组策略所有规则的 stringfied JSON。例如 -Definition @("{"TokenLifetimePolicy":{"Version":1,"MaxInactiveTime":"20:00:00"}}") .</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.String]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IsOrganizationDefault</maml:name> <maml:Description> <maml:para>如果此策略是组织默认值则为 True</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>KeyCredentials</maml:name> <maml:Description> <maml:para>指定密钥凭据。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.KeyCredential]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Type</maml:name> <maml:Description> <maml:para>指定策略类型。对于令牌生存期,使用 "TokenLifetimePolicy"。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>要为其设置值的策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>------------------ 示例 1:更新策略 ------------------</maml:title> <dev:code>PS C:\>Set-AzureADPolicy -ObjectId <object id of policy> -DisplayName <string></dev:code> <dev:remarks> <maml:para>此命令将更新 Azure AD 中的指定策略。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureADMSConditionalAccessPolicy </command:name> <maml:description> <maml:para>获取 Azure Active Directory 条件访问策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureADMSConditionalAccessPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>使用此 cmdlet,管理员可以获取 Azure Active Directory 条件访问策略。条件访问策略是定义访问方案的自定义规则。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSConditionalAccessPolicy</maml:name> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADMSConditionalAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name></maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1:在 Azure AD 中检索所有条件访问策略的列表。</maml:title> <dev:code> PS C:\> Get-AzureADMSConditionalAccessPolicy Id : 6b5e999b-0ba8-4186-a106-e0296c1c4358 DisplayName : Demo app for documentation CreatedDateTime : 2019-09-26T23:12:16.0792706Z ModifiedDateTime : 2019-09-27T00:12:12.5986473Z State : Disabled </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中检索所有条件访问策略的列表。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 2:使用给定 ID 在 Azure AD 中检索条件访问策略。</maml:title> <dev:code> PS C:\> Get-AzureADMSConditionalAccessPolicy -PolicyId "6b5e999b-0ba8-4186-a106-e0296c1c4358" Id : 6b5e999b-0ba8-4186-a106-e0296c1c4358 DisplayName : Demo app for documentation CreatedDateTime : 2019-09-26T23:12:16.0792706Z ModifiedDateTime : 2019-09-27T00:12:12.5986473Z State : Disabled </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中检索条件访问策略。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>New-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureADMSConditionalAccessPolicy </command:name> <maml:description> <maml:para>在 Azure Active Directory 中新建条件访问策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureADMSConditionalAccessPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>使用此 cmdlet,管理员可以在 Azure Active Directory 中新建条件访问策略。条件访问策略是定义访问方案的自定义规则。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADMSConditionalAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>State</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的“已启用”或“已禁用”状态。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>Conditions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的条件。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.ConditionalAccessConditionSet</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ConditionalAccessConditionSet</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>GrantControls</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的控制。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.ConditionalAccessGrantControls</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ConditionalAccessGrantControls</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>State</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的“已启用”或“已禁用”状态。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>Conditions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的条件。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.ConditionalAccessConditionSet</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ConditionalAccessConditionSet</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>GrantControls</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的控制。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.ConditionalAccessGrantControls</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ConditionalAccessGrantControls</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes/> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1:在 Azure AD 中新建条件访问策略,以要求使用 MFA 来访问 Exchange Online。</maml:title> <dev:code> PS C:\> $conditions = New-Object -TypeName Microsoft.Open.MSGraph.Model.ConditionalAccessConditionSet PS C:\> $conditions.Applications = New-Object -TypeName Microsoft.Open.MSGraph.Model.ConditionalAccessApplicationCondition PS C:\> $conditions.Applications.IncludeApplications = "00000002-0000-0ff1-ce00-000000000000" PS C:\> $conditions.Users = New-Object -TypeName Microsoft.Open.MSGraph.Model.ConditionalAccessUserCondition PS C:\> $conditions.Users.IncludeUsers = "all" PS C:\> $controls = New-Object -TypeName Microsoft.Open.MSGraph.Model.ConditionalAccessGrantControls PS C:\> $controls._Operator = "OR" PS C:\> $controls.BuiltInControls = "mfa" PS C:\> New-AzureADMSConditionalAccessPolicy -DisplayName "MFA policy" -State "Enabled" -Conditions $conditions -GrantControls $controls Id : 6b5e999b-0ba8-4186-a106-e0296c1c4358 DisplayName : MFA policy CreatedDateTime : 2019-09-26T23:12:16.0792706Z ModifiedDateTime : 2019-09-27T00:12:12.5986473Z State : Enabled </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中新建条件访问策略,以要求使用 MFA 来访问 Exchange Online。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 2:在 Azure AD 中新建条件访问策略,以阻止从不受信任的区域访问 Exchange Online。</maml:title> <dev:code> PS C:\> $conditions = New-Object -TypeName Microsoft.Open.MSGraph.Model.ConditionalAccessConditionSet PS C:\> $conditions.Applications = New-Object -TypeName Microsoft.Open.MSGraph.Model.ConditionalAccessApplicationCondition PS C:\> $conditions.Applications.IncludeApplications = "00000002-0000-0ff1-ce00-000000000000" PS C:\> $conditions.Users = New-Object -TypeName Microsoft.Open.MSGraph.Model.ConditionalAccessUserCondition PS C:\> $conditions.Users.IncludeUsers = "all" PS C:\> $conditions.Locations = New-Object -TypeName Microsoft.Open.MSGraph.Model.ConditionalAccessLocationCondition PS C:\> $conditions.Locations.IncludeLocations = "198ad66e-87b3-4157-85a3-8a7b51794ee9" PS C:\> $controls = New-Object -TypeName Microsoft.Open.MSGraph.Model.ConditionalAccessGrantControls PS C:\> $controls._Operator = "OR" PS C:\> $controls.BuiltInControls = "block" PS C:\> New-AzureADMSConditionalAccessPolicy -DisplayName "MFA policy" -State "Enabled" -Conditions $conditions -GrantControls $controls Id : 6b5e999b-0ba8-4186-a106-e0296c1c4358 DisplayName : MFA policy CreatedDateTime : 2019-09-26T23:12:16.0792706Z ModifiedDateTime : 2019-09-27T00:12:12.5986473Z State : Enabled </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中新建条件访问策略,以阻止从不受信任的区域访问 Exchange Online。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Set-AzureADMSConditionalAccessPolicy </command:name> <maml:description> <maml:para>按 ID 在 Azure Active Directory 中更新条件访问策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureADMSConditionalAccessPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>使用此 cmdlet,管理员可以按 ID 在 Azure Active Directory 中更新条件访问策略。条件访问策略是定义访问方案的自定义规则。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADMSConditionalAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的策略 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>State</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的“已启用”或“已禁用”状态。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>Conditions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的条件。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ConditionalAccessConditionSet</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ConditionalAccessConditionSet</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>GrantControls</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的控制。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ConditionalAccessGrantControls</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ConditionalAccessGrantControls</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的策略 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>State</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的“已启用”或“已禁用”状态。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>Conditions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的条件。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ConditionalAccessConditionSet</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ConditionalAccessConditionSet</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>GrantControls</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的控制。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.ConditionalAccessGrantControls</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.ConditionalAccessGrantControls</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes/> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1:按 PolicyId 在 Azure AD 中更新条件访问策略。</maml:title> <dev:code> PS C:\> Set-AzureADMSConditionalAccessPolicy -PolicyId 6b5e999b-0ba8-4186-a106-e0296c1c4358 -DisplayName "MFA policy 1" -State "Enabled" Id : 6b5e999b-0ba8-4186-a106-e0296c1c4358 DisplayName : MFA policy 1 CreatedDateTime : 2019-09-26T23:12:16.0792706Z ModifiedDateTime : 2019-09-27T00:12:12.5986473Z State : Enabled </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中更新一个新的条件访问策略。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureADMSConditionalAccessPolicy </command:name> <maml:description> <maml:para>按 ID 在 Azure Active Directory 中删除条件访问策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSConditionalAccessPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>使用此 cmdlet,管理员可以按 ID 在 Azure Active Directory 中删除条件访问策略。条件访问策略是定义访问方案的自定义规则。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSConditionalAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的策略 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定条件访问策略的策略 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes/> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1:按 PolicyId 在 Azure AD 中删除条件访问策略。</maml:title> <dev:code> PS C:\> Remove-AzureADMSConditionalAccessPolicy -PolicyId 6b5e999b-0ba8-4186-a106-e0296c1c4358 </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中删除条件访问策略。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSConditionalAccessPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureADMSNamedLocationPolicy </command:name> <maml:description> <maml:para>获取 Azure Active Directory 命名位置策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureADMSNamedLocationPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>使用此 cmdlet,管理员可以获取 Azure Active Directory 命名位置策略。命名位置是定义可以在条件访问策略中使用哪些网络位置的自定义规则。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSNamedLocationPolicy</maml:name> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureADMSNamedLocationPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name></maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1:在 Azure AD 中检索所有命名位置策略的列表。</maml:title> <dev:code> PS C:\> Get-AzureADMSNamedLocationPolicy OdataType : #microsoft.graph.ipNamedLocation Id : 06e4ff15-ca6b-4843-9c34-3fdd1ce8f739 DisplayName : IPv4 named location CreatedDateTime : 2019-09-26T23:12:16.0792706Z ModifiedDateTime : 2019-09-27T00:12:12.5986473Z IsTrusted : false IpRanges : { class IpRange { CidrAddress: 6.5.4.3/32 } } </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中检索所有命名位置策略的列表。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 2:使用给定 ID 在 Azure AD 中检索命名位置策略。</maml:title> <dev:code> PS C:\> Get-AzureADMSNamedLocationPolicy -PolicyId 1b7f0916-7677-40d8-97a1-d606f4ed8fcf OdataType : #microsoft.graph.countryNamedLocation Id : 1b7f0916-7677-40d8-97a1-d606f4ed8fcf DisplayName : Country named location CreatedDateTime : 2019-09-26T23:12:16.0792706Z ModifiedDateTime : 2019-09-27T00:12:12.5986473Z CountriesAndRegions : [ "US", "CA" ] IncludeUnknownCountriesAndRegions : false </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中检索命名位置策略。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>New-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureADMSNamedLocationPolicy </command:name> <maml:description> <maml:para>在 Azure Active Directory 中新建命名位置策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureADMSNamedLocationPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>使用此 cmdlet,管理员可以在 Azure Active Directory 中新建命名位置策略。条件访问策略是定义访问方案的自定义规则。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADMSNamedLocationPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>OdataType</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略对象的 odata 类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IpRanges</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 IP 范围。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.IpRange</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.IpRange</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IsTrusted</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 isTrusted 值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>CountriesAndRegions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的国家和地区。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.CountriesAndRegions</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.CountriesAndRegions</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IncludeUnknownCountriesAndRegions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 includeUnknownCountriesAndRegions 值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>OdataType</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略对象的 odata 类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IpRanges</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 IP 范围。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.IpRange</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.IpRange</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IsTrusted</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 isTrusted 值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>CountriesAndRegions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的国家和地区。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.CountriesAndRegions</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.CountriesAndRegions</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IncludeUnknownCountriesAndRegions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 includeUnknownCountriesAndRegions 值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes/> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1:在 Azure AD 中新建 IP 命名位置策略。</maml:title> <dev:code> PS C:\> $ipRanges = New-Object -TypeName Microsoft.Open.MSGraph.Model.IpRange PS C:\> $ipRanges.cidrAddress = "6.5.4.3/32" PS C:\> New-AzureADMSNamedLocationPolicy -OdataType "#microsoft.graph.ipNamedLocation" -DisplayName "IP named location policy" -IsTrusted $false -IpRanges $ipRanges OdataType : #microsoft.graph.ipNamedLocation Id : 6b5e999b-0ba8-4186-a106-e0296c1c4358 DisplayName : IP named location policy CreatedDateTime : 2019-09-26T23:12:16.0792706Z ModifiedDateTime : 2019-09-27T00:12:12.5986473Z IsTrusted : false IpRanges : { class IpRange { CidrAddress: 6.5.4.3/32 } } </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中新建国家/地区命名位置策略。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 2:在 Azure AD 中新建国家/地区命名位置策略。</maml:title> <dev:code> PS C:\> New-AzureADMSNamedLocationPolicy -OdataType "#microsoft.graph.countryNamedLocation" -DisplayName "Country named location policy" -CountriesAndRegions "IN" -IncludeUnknownCountriesAndRegions $false OdataType : #microsoft.graph.countryNamedLocation Id : 13975bae-089f-4358-8da3-cc262f29276b DisplayName : Country named location policy CreatedDateTime : 2019-09-26T23:12:16.0792706Z ModifiedDateTime : 2019-09-27T00:12:12.5986473Z CountriesAndRegions : {IN} IncludeUnknownCountriesAndRegions : False </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中新建国家/地区命名位置策略。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Set-AzureADMSNamedLocationPolicy </command:name> <maml:description> <maml:para>按 PolicyId 在 Azure Active Directory 中更新命名位置策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureADMSNamedLocationPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>使用此 cmdlet,管理员可以按 PolicyId 在 Azure Active Directory 中更新命名位置策略。条件访问策略是定义访问方案的自定义规则。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADMSNamedLocationPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>OdataType</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略对象的 odata 类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IpRanges</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 IP 范围。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.IpRange</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.IpRange</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IsTrusted</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 isTrusted 值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>CountriesAndRegions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的国家和地区。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.CountriesAndRegions</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.CountriesAndRegions</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IncludeUnknownCountriesAndRegions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 includeUnknownCountriesAndRegions 值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>OdataType</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略对象的 odata 类型。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IpRanges</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 IP 范围。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.IpRange</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.IpRange</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IsTrusted</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 isTrusted 值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>CountriesAndRegions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的国家和地区。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Microsoft.Open.MSGraph.Model.CountriesAndRegions</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.CountriesAndRegions</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>IncludeUnknownCountriesAndRegions</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 includeUnknownCountriesAndRegions 值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes/> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1:按 PolicyId 在 Azure AD 中更新 IP 命名位置策略。</maml:title> <dev:code> PS C:\> Set-AzureADMSNamedLocationPolicy -PolicyId 07a1f48d-0cbb-4c2c-8ea2-1ea00e3eb3b6 -OdataType "#microsoft.graph.ipNamedLocation" -IsTrusted $false </dev:code> <dev:remarks> <maml:para>此命令按 PolicyId 在 Azure AD 中更新 IP 命名位置策略。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 2:按 PolicyId 在 Azure AD 中更新国家/地区命名位置策略。</maml:title> <dev:code> PS C:\> Set-AzureADMSNamedLocationPolicy -PolicyId 76fdfd4d-bd80-4c1e-8fd4-6abf49d121fe -OdataType "#microsoft.graph.countryNamedLocation" -IncludeUnknownCountriesAndRegions $true </dev:code> <dev:remarks> <maml:para>此命令按 PolicyId 在 Azure AD 中更新国家/地区命名位置策略。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureADMSNamedLocationPolicy </command:name> <maml:description> <maml:para>按 PolicyId 删除 Azure Active Directory 命名位置策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSNamedLocationPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>使用此 cmdlet,管理员可以删除 Azure Active Directory 命令位置策略。命名位置是定义可以在条件访问策略中使用哪些网络位置的自定义规则。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSNamedLocationPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named" aliases="none"> <maml:name>PolicyId</maml:name> <maml:Description> <maml:para>在 Azure Active Directory 中指定命名位置策略的 ID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name></maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>示例 1:使用给定 PolicyId 在 Azure AD 中删除命名位置策略。</maml:title> <dev:code> PS C:\> Remove-AzureADMSNamedLocationPolicy -PolicyId 76fdfd4d-bd80-4c1e-8fd4-6abf49d121fe </dev:code> <dev:remarks> <maml:para>此命令在 Azure AD 中删除命名位置策略。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>New-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSNamedLocationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Add-AzureADMSServicePrincipalDelegatedPermissionClassification </command:name> <maml:description> <maml:para>添加委托权限的分类。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Add</command:verb> <command:noun>AzureADMSServicePrincipalDelegatedPermissionClassification</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>AzureADMSServicePrincipalDelegatedPermissionClassification cmdlet 为服务主体的给定权限创建委托权限分类。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Add-AzureADMSServicePrincipalDelegatedPermissionClassification</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ServicePrincipalId</maml:name> <maml:description> <maml:para>Azure Active Directory 中服务主体对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PermissionId</maml:name> <maml:description> <maml:para>委托权限的 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PermissionName</maml:name> <maml:description> <maml:para>委托权限的名称。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Classification</maml:name> <maml:description> <maml:para>委托权限的分类。它可能是低、中等或高。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ServicePrincipalId</maml:name> <maml:description> <maml:para>Azure Active Directory 中服务主体对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PermissionId</maml:name> <maml:description> <maml:para>委托权限的 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PermissionName</maml:name> <maml:description> <maml:para>委托权限的名称。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Classification</maml:name> <maml:description> <maml:para>委托权限的分类。此参数可以采用以下值:</maml:para> <maml:para>*“低”- 将权限的分类指定为“低影响力”。</maml:para> <maml:para>*“中等”- 将权限的分类指定为“中等影响力”。</maml:para> <maml:para>*“高”- 将权限的分类指定为“高影响力”。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name></maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Online.Administration.DelegatedPermissionClassification</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>-------------- 示例 1: 创建委托权限分类 --------------</maml:title> <dev:code>PS C:\> Add-AzureADMSServicePrincipalDelegatedPermissionClassification -ServicePrincipalId "95f56359-0165-4f80-bffb-c89d06cf2c6f" -PermissionId "205e70e5-aba6-4c52-a976-6d2d46c48043" -Classification Low -PermissionName "Sites.Read.All" Classification : Low Id : 5XBeIKarUkypdm0tRsSAQwE PermissionId : 205e70e5-aba6-4c52-a976-6d2d46c48043 PermissionName : Sites.Read.All </dev:code> <dev:remarks> <maml:para>此命令将为服务主体的给定权限创建委托权限分类。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureADMSServicePrincipalDelegatedPermissionClassification </command:name> <maml:description> <maml:para>在服务主体上检索委托权限分类对象。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureADMSServicePrincipalDelegatedPermissionClassification</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>AzureADMSServicePrincipalDelegatedPermissionClassification cmdlet 检索服务主体中的委托权限分类。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADMSServicePrincipalDelegatedPermissionClassification</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ServicePrincipalId</maml:name> <maml:description> <maml:para>Azure Active Directory 中服务主体对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>委托权限分类对象 ID 的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Filter</maml:name> <maml:description> <maml:para>oData v3.0 筛选器语句。控制返回哪些对象。</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ServicePrincipalId</maml:name> <maml:description> <maml:para>Azure Active Directory 中服务主体对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>委托权限分类对象 ID 的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Filter</maml:name> <maml:description> <maml:para>oData v3.0 筛选器语句。控制返回哪些对象。</maml:para> </maml:description> <command:parametervalue required="false" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name></maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Online.Administration.DelegatedPermissionClassification</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>-------------- 示例 1: 获取委托权限分类列表 --------------</maml:title> <dev:code>PS C:\> Get-AzureADMSServicePrincipalDelegatedPermissionClassification -ServicePrincipalId "95f56359-0165-4f80-bffb-c89d06cf2c6f" Classification : Low Id : 5XBeIKarUkypdm0tRsSAQwE PermissionId : 205e70e5-aba6-4c52-a976-6d2d46c48043 PermissionName : Sites.Read.All Classification : Low Id : ntbaFJsJyUKBC9ACmB_uwQE PermissionId : 14dad69e-099b-42c9-810b-d002981feec1 PermissionName : profile </dev:code> <dev:remarks> <maml:para>此命令将检索服务主体中的所有委托权限分类。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------- 示例 2: 获取委托权限分类 --------------</maml:title> <dev:code>PS C:\> Get-AzureADMSServicePrincipalDelegatedPermissionClassification -ServicePrincipalId "95f56359-0165-4f80-bffb-c89d06cf2c6f" -Id "5XBeIKarUkypdm0tRsSAQwE" Classification : Low Id : 5XBeIKarUkypdm0tRsSAQwE PermissionId : 205e70e5-aba6-4c52-a976-6d2d46c48043 PermissionName : Sites.Read.All </dev:code> <dev:remarks> <maml:para>此命令将根据 ID 从服务主体检索委托权限分类。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------- 示例 3: 使用筛选器获取委托权限分类 --------------</maml:title> <dev:code>PS C:\> Get-AzureADMSServicePrincipalDelegatedPermissionClassification -ServicePrincipalId "95f56359-0165-4f80-bffb-c89d06cf2c6f" -Filter "PermissionName eq 'Sites.Read.All'" Classification : Low Id : 5XBeIKarUkypdm0tRsSAQwE PermissionId : 205e70e5-aba6-4c52-a976-6d2d46c48043 PermissionName : Sites.Read.All </dev:code> <dev:remarks> <maml:para>此命令将从服务主体中检索筛选的委托权限分类。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureADMSServicePrincipalDelegatedPermissionClassification </command:name> <maml:description> <maml:para>删除委托权限分类。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSServicePrincipalDelegatedPermissionClassification</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>AzureADMSServicePrincipalDelegatedPermissionClassification cmdlet 根据 ID 从服务主体中删除给定的委托权限分类。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSServicePrincipalDelegatedPermissionClassification</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ServicePrincipalId</maml:name> <maml:description> <maml:para>Azure Active Directory 中服务主体对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>委托权限分类对象 ID 的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ServicePrincipalId</maml:name> <maml:description> <maml:para>Azure Active Directory 中服务主体对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>委托权限分类对象 ID 的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name></maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <!-- Example section --> <command:examples> <command:example> <maml:title>-------------- 示例 1: 删除委托权限分类 --------------</maml:title> <dev:code>PS C:\> Remove-AzureADMSServicePrincipalDelegatedPermissionClassification -ServicePrincipalId "95f56359-0165-4f80-bffb-c89d06cf2c6f" -Id "5XBeIKarUkypdm0tRsSAQwE" </dev:code> <dev:remarks> <maml:para>此命令将根据 ID 从服务主体中删除委托权限分类。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSPermissionGrantPolicy</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSPermissionGrantPolicy</command:noun> <maml:description> <maml:para>获取权限授予策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADMSPermissionGrantPolicy cmdlet 获取 Azure Active Directory 权限授予策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSPermissionGrantPolicy</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定权限授予策略的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定权限授予策略的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------示例1:按 ID 获取权限授予策略--------</maml:title> <dev:code>PS C:\> Get-AzureADMSPermissionGrantPolicy -Id "my_permission_grant_policy_id"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-AzureADMSPermissionGrantPolicy</command:name> <command:verb>New</command:verb> <command:noun>AzureADMSPermissionGrantPolicy</command:noun> <maml:description> <maml:para>创建权限授予策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>New-AzureADMSPermissionGrantPolicy cmdlet 创建 Azure Active Directory 权限授予策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureADMSPermissionGrantPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>指定权限授予策略的说明。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定权限授予策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定权限授予策略的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>指定权限授予策略的说明。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定权限授予策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定权限授予策略的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>---------示例1:创建权限授予策略---------</maml:title> <dev:code>PS C:\> New-AzureADMSPermissionGrantPolicy -Id "my_new_permission_grant_policy_id" -DisplayName "MyNewPermissionGrantPolicy" -Description "My new permission grant policy"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-AzureADMSPermissionGrantPolicy</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADMSPermissionGrantPolicy</command:noun> <maml:description> <maml:para>删除权限授予策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-AzureADMSPermissionGrantPolicy cmdlet 删除 Azure Active Directory 权限授予策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureADMSPermissionGrantPolicy</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>权限授予策略的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>权限授予策略的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>示例 1:删除权限授予策略</maml:title> <dev:code>PS C:\> Remove-AzureADMSPermissionGrantPolicy -Id "my_permission_grant_policy_id"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-AzureADMSPermissionGrantPolicy</command:name> <command:verb>Set</command:verb> <command:noun>AzureADMSPermissionGrantPolicy</command:noun> <maml:description> <maml:para>更新权限授予策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-AzureADMSPermissionGrantPolicy 命令更新 Azure Active Directory 权限授予策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADMSPermissionGrantPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>指定权限授予策略的说明。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定权限授予策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定权限授予策略的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>指定权限授予策略的说明。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>指定权限授予策略的显示名称。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Id</maml:name> <maml:Description> <maml:para>指定权限授予策略的唯一标识符。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Set-AzureADMSPermissionGrantPolicy -Id "my_permission_grant_policy_id" -Description "updated description" -DisplayName "update displayname"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSPermissionGrantPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureADMSPermissionGrantConditionSet </command:name> <maml:description> <maml:para>获取由 ID 标识的 Azure Active Directory 权限授予条件集。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureADMSPermissionGrantConditionSet</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>获取由 ID 标识的 Azure Active Directory 权限授予条件集对象。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADMSPermissionGrantConditionSet</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PolicyId</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予策略对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ConditionSetType</maml:name> <maml:description> <maml:para>此值指明条件集是包含在策略中,还是被排除在外。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予条件集对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PolicyId</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予策略对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue>None</dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ConditionSetType</maml:name> <maml:description> <maml:para>此值指明条件集是包含在策略中,还是被排除在外。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue>None</dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予条件集对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue>None</dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PermissionGrantConditionSet</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>--------- 示例 1:获取权限授予策略中包含的所有权限授予条件集 ---------</maml:title> <dev:code>PS C:\>Get-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "includes"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------- 示例 2:获取排除在权限授予策略之外的所有权限授予条件集 ---------</maml:title> <dev:code>PS C:\>Get-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "excludes"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------- 示例 3:获取权限授予条件集 ---------</maml:title> <dev:code>PS C:\>Get-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "includes" -Id "665a9903-0398-48ab-b4e9-7a570d468b66"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureADMSPermissionGrantConditionSet </command:name> <maml:description> <maml:para>在给定的策略中新建 Azure Active Directory 权限授予条件集。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureADMSPermissionGrantConditionSet</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>在现有策略中新建 Azure Active Directory 权限授予条件集对象。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>New-AzureADMSPermissionGrantConditionSet</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PolicyId</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予策略对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ConditionSetType</maml:name> <maml:description> <maml:para>此值指明条件集是包含在策略中,还是被排除在外。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>PermissionType</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的特定类型权限(应用程序、委派)。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>PermissionClassification</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的特定分类(所有、低、中、高)。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>resourceApplication</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的资源应用程序的标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>Permissions</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的资源应用程序的标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序 ID 集。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationTenantIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序租户 ID 集。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationPublisherIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序发布者 ID 集。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationsFromVerifiedPublisherOnly</maml:name> <maml:description> <maml:para>一个值,指明是否只包括来自已验证的发布者的客户端应用程序。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Boolean</command:parametervalue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PolicyId</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予策略对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ConditionSetType</maml:name> <maml:description> <maml:para>此值指明条件集是包含在策略中,还是被排除在外。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>PermissionType</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的特定类型权限(应用程序、委派)。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>PermissionClassification</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的特定分类(所有、低、中、高)。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>resourceApplication</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的资源应用程序的标识符。它可以是“任何”,也可以是特定的资源应用程序 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>Permissions</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的资源应用程序的标识符。它可以是 @("全部"),也可以是权限 ID 的列表。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序 ID 集。它可以是 @("全部"),也可以是客户端应用程序 ID 的列表。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationTenantIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序租户 ID 集。它可以是 @("全部"),也可以是客户端应用程序租户 ID 的列表。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationPublisherIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序发布者 ID 集。它可以是 @("全部"),也可以是客户端应用程序发布者 ID 的列表。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationsFromVerifiedPublisherOnly</maml:name> <maml:description> <maml:para>一个值,指明是否只包括来自已验证的发布者的客户端应用程序。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Boolean</command:parametervalue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue>false</dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.PermissionGrantConditionSet</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>--------- 示例 1:在现有策略中创建包含所有内置值的基本权限授予条件集---------</maml:title> <dev:code>New-AzureADMSPermissionGrantConditionSet -PolicyId "test1" -ConditionSetType "includes" -PermissionType "delegated" Id : cab65448-9ec4-43a5-b575-d1f4d32fefa5 PermissionType : delegated PermissionClassification : all ResourceApplication : any Permissions : {all} ClientApplicationIds : {all} ClientApplicationTenantIds : {all} ClientApplicationPublisherIds : {all} ClientApplicationsFromVerifiedPublisherOnly : False </dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------- 示例 2:在现有策略中创建包含资源应用程序的特定权限的权限授予条件集---------</maml:title> <dev:code>New-AzureADMSPermissionGrantConditionSet -PolicyId "test1" -ConditionSetType "includes" -PermissionType "delegated" -Permissions @("8b590330-0eb2-45d0-baca-a00ecf7e7b87", "dac1c8fa-e6e4-47b8-a128-599660b8cd5c", "f6db0cc3-88cd-4c74-a374-3d8c7cc4c50b") -ResourceApplication "ec8d61c9-1cb2-4edb-afb0-bcda85645555" Id : 64032dc4-8423-4fd7-930c-a9ed3bb1dbb4 PermissionType : delegated PermissionClassification : all ResourceApplication : ec8d61c9-1cb2-4edb-afb0-bcda85645555 Permissions : {8b590330-0eb2-45d0-baca-a00ecf7e7b87, dac1c8fa-e6e4-47b8-a128-599660b8cd5c, f6db0cc3-88cd-4c74-a374-3d8c7cc4c50b} ClientApplicationIds : {all} ClientApplicationTenantIds : {all} ClientApplicationPublisherIds : {all} ClientApplicationsFromVerifiedPublisherOnly : False </dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------- 示例 3:在现有策略中创建已排除的权限授予条件集---------</maml:title> <dev:code>New-AzureADMSPermissionGrantConditionSet -PolicyId "test1" -ConditionSetType "excludes" -PermissionType "delegated" -Permissions @("8b590330-0eb2-45d0-baca-a00ecf7e7b87", "dac1c8fa-e6e4-47b8-a128-599660b8cd5c", "f6db0cc3-88cd-4c74-a374-3d8c7cc4c50b") -ResourceApplication "ec8d61c9-1cb2-4edb-afb0-bcda85645555" -PermissionClassification "low" -ClientApplicationsFromVerifiedPublisherOnly $true -ClientApplicationIds @("4a6c40ea-edc1-4202-8620-dd4060ee6583", "17a961bd-e743-4e6f-8097-d7e6612999a7") -ClientApplicationTenantIds @("17a961bd-e743-4e6f-8097-d7e6612999a8", "17a961bd-e743-4e6f-8097-d7e6612999a9", "17a961bd-e743-4e6f-8097-d7e6612999a0") -ClientApplicationPublisherIds @("verifiedpublishermpnid") Id : 0f81cce0-a766-4db6-a7e2-4e5f10f6abf8 PermissionType : delegated PermissionClassification : low ResourceApplication : ec8d61c9-1cb2-4edb-afb0-bcda85645555 Permissions : {8b590330-0eb2-45d0-baca-a00ecf7e7b87, dac1c8fa-e6e4-47b8-a128-599660b8cd5c, f6db0cc3-88cd-4c74-a374-3d8c7cc4c50b} ClientApplicationIds : {4a6c40ea-edc1-4202-8620-dd4060ee6583, 17a961bd-e743-4e6f-8097-d7e6612999a7} ClientApplicationTenantIds : {17a961bd-e743-4e6f-8097-d7e6612999a8, 17a961bd-e743-4e6f-8097-d7e6612999a9, 17a961bd-e743-4e6f-8097-d7e6612999a0} ClientApplicationPublisherIds : {verifiedpublishermpnid} ClientApplicationsFromVerifiedPublisherOnly : True </dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Set-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureADMSPermissionGrantConditionSet </command:name> <maml:description> <maml:para>删除由 ID 标识的 Azure Active Directory 权限授予条件集</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSPermissionGrantConditionSet</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>删除由 ID 标识的 Azure Active Directory 权限授予条件集对象。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSPermissionGrantConditionSet</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PolicyId</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予策略对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ConditionSetType</maml:name> <maml:description> <maml:para>此值指明条件集是包含在策略中,还是被排除在外。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予条件集对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PolicyId</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予策略对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ConditionSetType</maml:name> <maml:description> <maml:para>此值指明条件集是包含在策略中,还是被排除在外。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予条件集对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>--------- 示例 1:从策略中删除权限授予条件集---------</maml:title> <dev:code>PS C:\>Remove-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "excludes" -Id "665a9903-0398-48ab-b4e9-7a570d468b66"</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Set-AzureADMSPermissionGrantConditionSet </command:name> <maml:description> <maml:para>更新现有 Azure Active Directory 权限授予条件集。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureADMSPermissionGrantConditionSet</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>更新由 ID 标识的 Azure Active Directory 权限授予条件集对象。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Set-AzureADMSPermissionGrantConditionSet</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PolicyId</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予策略对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ConditionSetType</maml:name> <maml:description> <maml:para>此值指明条件集是包含在策略中,还是被排除在外。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予条件集对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>PermissionType</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的特定类型权限(应用程序、委派)。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>PermissionClassification</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的特定分类(所有、低、中、高)。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>resourceApplication</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的资源应用程序的标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>Permissions</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的资源应用程序的标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序 ID 集。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationTenantIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序租户 ID 集。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationPublisherIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序发布者 ID 集。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationsFromVerifiedPublisherOnly</maml:name> <maml:description> <maml:para>一个值,指明是否只包括来自已验证的发布者的客户端应用程序。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Boolean</command:parametervalue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>PolicyId</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予策略对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>ConditionSetType</maml:name> <maml:description> <maml:para>此值指明条件集是包含在策略中,还是被排除在外。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure Active Directory 权限授予条件集对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>PermissionType</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的特定类型权限(应用程序、委派)。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>PermissionClassification</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的特定分类(所有、低、中、高)。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>resourceApplication</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的资源应用程序的标识符。它可以是“任何”,也可以是特定的资源应用程序 ID。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>Permissions</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的资源应用程序的标识符。它可以是 @("全部"),也可以是权限 ID 的列表。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序 ID 集。它可以是 @("全部"),也可以是客户端应用程序 ID 的列表。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationTenantIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序租户 ID 集。它可以是 @("全部"),也可以是客户端应用程序租户 ID 的列表。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationPublisherIds</maml:name> <maml:description> <maml:para>要将同意操作范围缩小到的客户端应用程序发布者 ID 集。它可以是 @("全部"),也可以是客户端应用程序发布者 ID 的列表。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Collections.Generic.List`1[System.String]</command:parametervalue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.String]</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="false" position="named"> <maml:name>ClientApplicationsFromVerifiedPublisherOnly</maml:name> <maml:description> <maml:para>一个值,指明是否只包括来自已验证的发布者的客户端应用程序。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">System.Boolean</command:parametervalue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue>false</dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>--------- 示例 1:将权限授予条件集更新为包括分类为低的权限。---------</maml:title> <dev:code>1. Get exisiting permission grant policy by that need to be updated. $permissionGrantConditionSet =Get-AzureADMSPermissionGrantConditionSet -PolicyId "test1" -ConditionSetType "includes" -Id "0f81cce0-a766-4db6-a7e2-4e5f10f6abf8" Id : 0f81cce0-a766-4db6-a7e2-4e5f10f6abf8 PermissionType : delegated PermissionClassification : all ResourceApplication : ec8d61c9-1cb2-4edb-afb0-bcda85645555 Permissions : {8b590330-0eb2-45d0-baca-a00ecf7e7b87, dac1c8fa-e6e4-47b8-a128-599660b8cd5c, f6db0cc3-88cd-4c74-a374-3d8c7cc4c50b} ClientApplicationIds : {4a6c40ea-edc1-4202-8620-dd4060ee6583, 17a961bd-e743-4e6f-8097-d7e6612999a7} ClientApplicationTenantIds : {17a961bd-e743-4e6f-8097-d7e6612999a8, 17a961bd-e743-4e6f-8097-d7e6612999a9, 17a961bd-e743-4e6f-8097-d7e6612999a0} ClientApplicationPublisherIds : {verifiedpublishermpnid} ClientApplicationsFromVerifiedPublisherOnly : True 2. Update PermissionClassification Set-AzureADMSPermissionGrantConditionSet -PolicyId "test1" -ConditionSetType "includes" -Id $permissionGrantConditionSet.Id -PermissionClassification low Id : 0f81cce0-a766-4db6-a7e2-4e5f10f6abf8 PermissionType : delegated PermissionClassification : low ResourceApplication : ec8d61c9-1cb2-4edb-afb0-bcda85645555 Permissions : {8b590330-0eb2-45d0-baca-a00ecf7e7b87, dac1c8fa-e6e4-47b8-a128-599660b8cd5c, f6db0cc3-88cd-4c74-a374-3d8c7cc4c50b} ClientApplicationIds : {4a6c40ea-edc1-4202-8620-dd4060ee6583, 17a961bd-e743-4e6f-8097-d7e6612999a7} ClientApplicationTenantIds : {17a961bd-e743-4e6f-8097-d7e6612999a8, 17a961bd-e743-4e6f-8097-d7e6612999a9, 17a961bd-e743-4e6f-8097-d7e6612999a0} ClientApplicationPublisherIds : {verifiedpublishermpnid} ClientApplicationsFromVerifiedPublisherOnly : True </dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------- 示例 2:更新权限授予条件集 ---------</maml:title> <dev:code>PS C:\>Set-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "includes" -Id "665a9903-0398-48ab-b4e9-7a570d468b66" -PermissionType "Delegated" -PermissionClassification "Low" -ResourceApplication "d9d40050-c784-4b56-a06d-477542a1cafc" -Permissions @("29bf4ca5-913e-427d-8a68-5890af945109") -ClientApplicationIds @("All") -ClientApplicationTenantIds @("All") -ClientApplicationPublisherIds @("All") -ClientApplicationsFromVerifiedPublisherOnly $true</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <command:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSPermissionGrantConditionSet</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Set-AzureADMSApplicationVerifiedPublisher </command:name> <maml:description> <maml:para>将应用程序的验证发布者设置为验证 Microsoft 合作伙伴网络(MPN)标识符。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureADMSApplicationVerifiedPublisher</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>将应用程序的验证发布者设置为验证 Microsoft 合作伙伴网络(MPN)标识符。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Set-AzureADMSApplicationVerifiedPublisher</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>AppObjectId</maml:name> <maml:description> <maml:para>Azure Active Directory 应用程序对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>SetVerifiedPublisherRequest</maml:name> <maml:description> <maml:para>包含值为 MPNID 的 verifiedPublisherId 属性的请求正文对象。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>AppObjectId</maml:name> <maml:description> <maml:para>Azure Active Directory 应用程序对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>SetVerifiedPublisherRequest</maml:name> <maml:description> <maml:para>包含值为 MPNID 的 verifiedPublisherId 属性的请求正文对象。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>--------- 示例 1: 设置应用程序的验证发布者。---------</maml:title> <dev:code> $appObjId = 'ad6c71a5-e48f-4320-bb59-92642a2d8d9f' $mpnId = '0433167' $req = @{verifiedPublisherId=$mpnId} Set-AzureADMSApplicationVerifiedPublisher -AppObjectId $appObjId -SetVerifiedPublisherRequest $req </dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Remove-AzureADMSApplicationVerifiedPublisher</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureADMSApplicationVerifiedPublisher </command:name> <maml:description> <maml:para>从应用程序中删除验证发布者。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSApplicationVerifiedPublisher</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>从应用程序中删除验证发布者。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSApplicationVerifiedPublisher</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>AppObjectId</maml:name> <maml:description> <maml:para>Azure Active Directory 应用程序对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>AppObjectId</maml:name> <maml:description> <maml:para>Azure Active Directory 应用程序对象的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues/> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>--------- 示例 1: 从应用程序中删除验证发布者。---------</maml:title> <dev:code> $appObjId = 'ad6c71a5-e48f-4320-bb59-92642a2d8d9f' Remove-AzureADMSApplicationVerifiedPublisher -AppObjectId $appObjId </dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Set-AzureADMSApplicationVerifiedPublisher</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureADMSGroupPermissionGrant </command:name> <maml:description> <maml:para>检索已为此组同意的权限授予列表。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureADMSGroupPermissionGrant</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>检索已为此组同意的权限授予列表。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADMSGroupPermissionGrant</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>组的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>组的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">string</command:parametervalue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputtypes> <command:inputtype> <dev:type> <maml:name>string</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.GetMSGroupPermissionGrantsResponse</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:returnvalue> </command:returnvalues> <!-- Error section--> <command:terminatingerrors/> <command:nonterminatingerrors/> <!-- Notes section --> <maml:alertset/> <!-- Example section --> <command:examples> <command:example> <maml:title>--------- 示例 1: 列出此组的现有权限授予。 ---------</maml:title> <dev:code>List exisiting permission grants for the group. Get-AzureADMSGroupPermissionGrant -Id "4823e767eca44858aed244154009b764" Id : vsMaSY2k_E7761KhRqpx7OGFvAwvdZnJM1s7Iqkt4PU ClientId : deefce9d-be43-4b49-a9d3-851af6d2c26c ClientAppId : ba4e4a78-c352-4e59-b657-81b2b395d32b ResourceAppId : 00000003-0000-0000-c000-000000000000 PermissionType : Application Permission : Member.Read.Group </dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> </maml:relatedlinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AzureADMSAuthorizationPolicy</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSAuthorizationPolicy</command:noun> <maml:description> <maml:para>Gets an authorization policy.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The Get-AzureADMSAuthorizationPolicy cmdlet gets an Azure Active Directory authorization policy.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSAuthorizationPolicy</maml:name> </command:syntaxItem> </command:syntax> <command:parameters/> <command:inputTypes/> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- Example 1: Get an authorization policy by ID ---------</maml:title> <dev:code>PS C:\>Get-AzureADMSAuthorizationPolicy</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Set-AzureADMSAuthorizationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-AzureADMSAuthorizationPolicy</command:name> <command:verb>Set</command:verb> <command:noun>AzureADMSAuthorizationPolicy</command:noun> <maml:description> <maml:para>Updates an authorization policy.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The Set-AzureADMSAuthorizationPolicy cmdlet updates an Azure Active Directory authorization policy.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureADMSAuthorizationPolicy</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AllowedToSignUpEmailBasedSubscriptions</maml:name> <maml:Description> <maml:para>Specifies whether users can sign up for email based subscriptions. The initial default value is true.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AllowedToUseSSPR</maml:name> <maml:Description> <maml:para>Specifies whether the Self-Serve Password Reset feature can be used by users on the tenant. The initial default value is true.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AllowEmailVerifiedUsersToJoinOrganization</maml:name> <maml:Description> <maml:para>Specifies whether a user can join the tenant by email validation. The initial default value is true.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>BlockMsolPowerShell</maml:name> <maml:Description> <maml:para>Specifies whether the user-based access to the legacy service endpoint used by MSOL PowerShell is blocked or not.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DefaultUserRolePermissions</maml:name> <maml:Description> <maml:para>Contains various customizable default user role permissions.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.DefaultUserRolePermissions</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.DefaultUserRolePermissions</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>Specifies the description of the authorization policy.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>Specifies the display name of the authorization policy.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AllowedToSignUpEmailBasedSubscriptions</maml:name> <maml:Description> <maml:para>Specifies whether users can sign up for email based subscriptions. The initial default value is true.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AllowedToUseSSPR</maml:name> <maml:Description> <maml:para>Specifies whether the Self-Serve Password Reset feature can be used by users on the tenant. The initial default value is true.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AllowEmailVerifiedUsersToJoinOrganization</maml:name> <maml:Description> <maml:para>Specifies whether a user can join the tenant by email validation. The initial default value is true.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>BlockMsolPowerShell</maml:name> <maml:Description> <maml:para>Specifies whether the user-based access to the legacy service endpoint used by MSOL PowerShell is blocked or not.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DefaultUserRolePermissions</maml:name> <maml:Description> <maml:para>Contains various customizable default user role permissions.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">Microsoft.Open.MSGraph.Model.DefaultUserRolePermissions</command:parameterValue> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.DefaultUserRolePermissions</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Description</maml:name> <maml:Description> <maml:para>Specifies the description of the authorization policy.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>DisplayName</maml:name> <maml:Description> <maml:para>Specifies the display name of the authorization policy.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputtype> <dev:type> <maml:name>Microsoft.Open.MSGraph.Model.DefaultUserRolePermissions</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description/> </command:inputtype> </command:inputTypes> <command:returnValues/> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>---------- Example 1: Update an authorization policy ----------</maml:title> <dev:code>PS C:\>Set-AzureADMSAuthorizationPolicy -DisplayName "updated displayname" -Description "updated description" -DefaultUserRolePermissions @{ AllowedToCreateApps = $false }</dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureADMSAuthorizationPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems> |