zh-Hans/Microsoft.Open.MS.GraphBeta.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"> <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="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: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] ResourceSpecificApplicationPermissions: } 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] ResourceSpecificApplicationPermissions: } 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] ResourceSpecificApplicationPermissions: } 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] ResourceSpecificApplicationPermissions: } 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>OrgRestrictions</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>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>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>PreAuthorizedApplications</maml:name> <maml:Description> <maml:para>列出应用程序和请求的默许权限。要求管理员已向应用程序提供许可。preAuthorizedApplications 不需要用户许可请求的权限。PreAuthorizedApplications 中列出的权限不需要用户许可。但是,preAuthorizedApplications 中未列出的任何其他请求的权限都需要用户许可。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PreAuthorizedApplication]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PreAuthorizedApplication]</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>OrgRestrictions</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>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>PreAuthorizedApplications</maml:name> <maml:Description> <maml:para>列出应用程序和请求的默许权限。要求管理员已向应用程序提供许可。preAuthorizedApplications 不需要用户许可请求的权限。PreAuthorizedApplications 中列出的权限不需要用户许可。但是,preAuthorizedApplications 中未列出的任何其他请求的权限都需要用户许可。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PreAuthorizedApplication]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PreAuthorizedApplication]</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.PreAuthorizedApplication]</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" ` -OrgRestrictions {orgrestrictions} -PasswordCredentials {passwordcredentials} -PreAuthorizedApplications {preauthorizedapplications} 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] ResourceSpecificApplicationPermissions: } 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>OrgRestrictions</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>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>PasswordCredentials</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.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>PreAuthorizedApplications</maml:name> <maml:Description> <maml:para>列出应用程序和请求的默许权限。要求管理员已向应用程序提供许可。preAuthorizedApplications 不需要用户许可请求的权限。PreAuthorizedApplications 中列出的权限不需要用户许可。但是,preAuthorizedApplications 中未列出的任何其他请求的权限都需要用户许可。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PreAuthorizedApplication]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PreAuthorizedApplication]</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>OrgRestrictions</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>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>PreAuthorizedApplications</maml:name> <maml:Description> <maml:para>列出应用程序和请求的默许权限。要求管理员已向应用程序提供许可。preAuthorizedApplications 不需要用户许可请求的权限。PreAuthorizedApplications 中列出的权限不需要用户许可。但是,preAuthorizedApplications 中未列出的任何其他请求的权限都需要用户许可。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PreAuthorizedApplication]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PreAuthorizedApplication]</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.PreAuthorizedApplication]</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" ` -OrgRestrictions {orgrestrictions} ` -PasswordCredentials {passwordcredentials} ` -PreAuthorizedApplications {preauthorizedapplications} ` -IdentifierUris "https://mynewapp.contoso.com" </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>Add-AzureADMSPrivilegedResource</command:name> <command:verb>Add</command:verb> <command:noun>AzureADMSPrivilegedResource</command:noun> <maml:description> <maml:para>使用此 API 添加新 Azure AD MS 特权资源。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>使用此 API 添加新 Azure AD MS 特权资源。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Add-AzureADMSPrivilegedResource</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ExternalId</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>ProviderId</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>ExternalId</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>ProviderId</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-AzureADMSPrivilegedResource -ProviderId AzureResources -ExternalId "/subscriptions/38ab2ccc-3747-4567-b36b-9478f5602f0d"</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>Close-AzureADMSPrivilegedRoleAssignmentRequest</command:name> <command:verb>Close</command:verb> <command:noun>AzureADMSPrivilegedRoleAssignmentRequest</command:noun> <maml:description> <maml:para>取消 AzureADMSPrivilegedRoleAssignmentRequest</maml:para> </maml:description> </command:details> <maml:description> <maml:para>取消 AzureADMSPrivilegedRoleAssignmentRequest</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Close-AzureADMSPrivilegedRoleAssignmentRequest</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:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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:\> Close-AzureADMSPrivilegedRoleAssignmentRequest -ProviderId AzureResources -Id 14eda86f-b650-4ccf-802f-33842c1f1d2c</dev:code> <dev:remarks> <maml:para>取消对 AzureResources 提供程序的请求</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-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>Select</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>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:parameter required="false" variablelength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Select</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-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>Select</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>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:example> <maml:title>-------- 示例 3: 获取所有组的 AssignedLabels 和 DisplayName 属性值 --------</maml:title> <dev:code>PS C:\> Get-AzureADMSGroup -Select "AssignedLabels,DisplayName" AssignedLabels : [{LabelId: "00000000-0000-0000-0000-000000000000", DisplayName: "Confidential"}] DisplayName : Project Icarus 1 AssignedLabels : [{LabelId: "00000000-0000-0000-0000-000000000000", DisplayName: "Confidential"}] DisplayName : Project Icarus 2</dev:code> <dev:remarks> <maml:para>此命令获取所有组的 AssignedLabels 和 DisplayName 属性值。</maml:para> <maml:para>AssignedLabels 组属性只能通过 Select 参数检索。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------- 示例 4: 获取某个组的 AssignedLabels 和 DisplayName 属性值 --------</maml:title> <dev:code>PS C:\> Get-AzureADMSGroup -Id "11111111-1111-1111-1111-111111111111" -Select "AssignedLabels,DisplayName" AssignedLabels : [{LabelId: "00000000-0000-0000-0000-000000000000", DisplayName: "Confidential"}] DisplayName : Project Icarus 1</dev:code> <dev:remarks> <maml:para>此命令获取特定组的 AssignedLabels 和 DisplayName 属性值。</maml:para> <maml:para>AssignedLabels 组属性只能通过 Select 参数检索。</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>Get-AzureADMSPrivilegedResource</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSPrivilegedResource</command:noun> <maml:description> <maml:para>获取 Azure AD MS 特权资源</maml:para> </maml:description> </command:details> <maml:description> <maml:para>获取 Azure AD MS 特权资源</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSPrivilegedResource</maml:name> <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 查询筛选器</maml:para> </maml:Description> <command:parameterValue required="true" 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="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="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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>Filter</maml:name> <maml:Description> <maml:para>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="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="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="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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></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-AzureADMSPrivilegedResource -ProviderId AzureResources -Id 3f5887ed-dd6e-4821-8bde-c813ec508cf9</dev:code> <dev:remarks> <maml:para>获取有 ID 的 AzureResource 提供程序的资源</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 示例 2 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADMSPrivilegedResource -ProviderId AzureResources</dev:code> <dev:remarks> <maml:para>获取 AzureResource 提供程序的所有资源</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-AzureADMSPrivilegedRoleAssignmentRequest</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSPrivilegedRoleAssignmentRequest</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>Get-AzureADMSPrivilegedRoleAssignmentRequest</maml:name> <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 筛选器</maml:para> </maml:Description> <command:parameterValue required="true" 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="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="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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="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="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="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>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="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</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-AzureADMSPrivilegedRoleAssignmentRequest -ProviderId AzureResources -Filter "ResourceId eq 'e5e7d29d-5465-45ac-885f-4716a5ee74b5'"</dev:code> <dev:remarks> <maml:para>获取特定提供程序和资源的所有角色分配请求</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 示例 2 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADMSPrivilegedRoleAssignmentRequest -ProviderId AzureResources -Id 247438d7-fc8d-4354-a737-4898a4019a95</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>Get-AzureADMSPrivilegedRoleAssignment</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSPrivilegedRoleAssignment</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>Get-AzureADMSPrivilegedRoleAssignment</maml:name> <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 筛选器</maml:para> </maml:Description> <command:parameterValue required="true" 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>ProviderId</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>ResourceId</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="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="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>Filter</maml:name> <maml:Description> <maml:para>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="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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>ResourceId</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="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></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</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-AzureADMSPrivilegedRoleAssignment -ProviderId AzureResources -ResourceId 3f5887ed-dd6e-4821-8bde-c813ec508cf9</dev:code> <dev:remarks> <maml:para>获取特定提供程序和资源的所有角色分配</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 示例 2 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADMSPrivilegedRoleAssignment -ProviderId AzureResources -ResourceId 3f5887ed-dd6e-4821-8bde-c813ec508cf9 -Id b83c177a-10e0-4eeb-8d0b-f3668fbf81fa</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-AzureADMSPrivilegedRoleDefinition</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSPrivilegedRoleDefinition</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>Get-AzureADMSPrivilegedRoleDefinition</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="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="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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>ResourceId</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>角色定义 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>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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>ResourceId</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-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId e5e7d29d-5465-45ac-885f-4716a5ee74b5 -Top 10</dev:code> <dev:remarks> <maml:para>获取特定提供程序和资源的角色定义</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 示例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId e5e7d29d-5465-45ac-885f-4716a5ee74b5 -Id ff67e02b-d77b-4588-9f32-e02b7da6539b</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>Get-AzureADMSPrivilegedRoleSetting</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSPrivilegedRoleSetting</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>Get-AzureADMSPrivilegedRoleSetting</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="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="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>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="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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="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="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="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>Filter</maml:name> <maml:Description> <maml:para>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="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</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-AzureADMSPrivilegedRoleSetting -ProviderId AzureResources -Filter "ResourceId eq 'e5e7d29d-5465-45ac-885f-4716a5ee74b5'"</dev:code> <dev:remarks> <maml:para>获取特定提供程序和资源的角色设置</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 示例 2 --------------------------</maml:title> <dev:code>PS C:\> Get-AzureADMSPrivilegedRoleSetting -ProviderId AzureResources -Id 4b95b664-7434-48e6-8dec-34caf4d8c3bd</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>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-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:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ResetRedemption</maml:name> <maml:Description> <maml:para>指示是否应删除现有外部用户的邀请兑换,以便用户可以重新兑换帐户。默认为 false,并且只有在将有效的外部用户传递给 InvitedUser 属性时,才能设置为 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: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:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ResetRedemption</maml:name> <maml:Description> <maml:para>指示是否应删除现有外部用户的邀请兑换,以便用户可以重新兑换帐户。默认为 false,并且只有在将有效的外部用户传递给 InvitedUser 属性时,才能设置为 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: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:example> <maml:title>--------- 为外部用户重置兑换 --------</maml:title> <dev:code>PS C:\> New-AzureADMSInvitation -InvitedUserEmailAddress someexternaluser@externaldomain.com -ResetRedemption $true -InvitedUser $user -InviteRedirectUrl "http://myapps.onmicrosoft.com"</dev:code> <dev:remarks> <maml:para>本示例演示管理员如何在 -InvitedUser 参数中重置外部用户的兑换。它们需要将开关 -ResetRedemption 传递为 true。重置后,外部用户必须重新兑换邀请才能继续访问资源。</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-AzureADMSTrustFrameworkPolicy</command:name> <command:verb>Remove</command:verb> <command:noun>AzureADMSTrustFrameworkPolicy</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-AzureADMSTrustFrameworkPolicy</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-AzureADMSTrustFrameworkPolicy -Id B2C_1A_signup_signin</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-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>New-AzureADPrivilegedRoleAssignment</command:name> <command:verb>New</command:verb> <command:noun>AzureADPrivilegedRoleAssignment</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>New-AzureADPrivilegedRoleAssignment</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ExpirationDateTime</maml:name> <maml:Description> <maml:para>{{ 填充 ExpirationDateTime 说明 }}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> <dev:type> <maml:name>DateTime</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>{{ 填充 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>IsElevated</maml:name> <maml:Description> <maml:para>{{ 填充 IsElevated 说明 }}</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>ResultMessage</maml:name> <maml:Description> <maml:para>{{ 填充 ResultMessage 说明 }}</maml:para> </maml:Description> <command:parameterValue required="true" 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>RoleId</maml:name> <maml:Description> <maml:para>{{ 填充 RoleId 说明 }}</maml:para> </maml:Description> <command:parameterValue required="true" 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>UserId</maml:name> <maml:Description> <maml:para>{{ 填充 UserId 说明 }}</maml:para> </maml:Description> <command:parameterValue required="true" 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>ExpirationDateTime</maml:name> <maml:Description> <maml:para>{{ 填充 ExpirationDateTime 说明 }}</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> <dev:type> <maml:name>DateTime</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>{{ 填充 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>IsElevated</maml:name> <maml:Description> <maml:para>{{ 填充 IsElevated 说明 }}</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>ResultMessage</maml:name> <maml:Description> <maml:para>{{ 填充 ResultMessage 说明 }}</maml:para> </maml:Description> <command:parameterValue required="true" 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>RoleId</maml:name> <maml:Description> <maml:para>{{ 填充 RoleId 说明 }}</maml:para> </maml:Description> <command:parameterValue required="true" 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>UserId</maml:name> <maml:Description> <maml:para>{{ 填充 UserId 说明 }}</maml:para> </maml:Description> <command:parameterValue required="true" 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:\> {{ 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>Open-AzureADMSPrivilegedRoleAssignmentRequest</command:name> <command:verb>Open</command:verb> <command:noun>AzureADMSPrivilegedRoleAssignmentRequest</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>Open-AzureADMSPrivilegedRoleAssignmentRequest</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AssignmentState</maml:name> <maml:Description> <maml:para>分配状态。可取值为 Eligible 和 Active。必须提供此状态。</maml:para> </maml:Description> <command:parameterValue required="true" 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>ProviderId</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>Reason</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>ResourceId</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>RoleDefinitionId</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>Schedule</maml:name> <maml:Description> <maml:para>角色分配请求的计划。如果请求类型是 UserAdd、AdminAdd、AdminUpdate 和 AdminExtend,必须提供此计划。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">AzureADMSPrivilegedSchedule</command:parameterValue> <dev:type> <maml:name>AzureADMSPrivilegedSchedule</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>SubjectId</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>Type</maml:name> <maml:Description> <maml:para>请求类型。可取值为 AdminAdd、UserAdd、AdminUpdate、AdminRemove、UserRemove、UserExtend、UserRenew、AdminRenew 和 AdminExtend。必须提供此类型。</maml:para> </maml:Description> <command:parameterValue required="true" 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>AssignmentState</maml:name> <maml:Description> <maml:para>分配状态。可取值为 Eligible 和 Active。必须提供此状态。</maml:para> </maml:Description> <command:parameterValue required="true" 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>ProviderId</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>Reason</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>ResourceId</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>RoleDefinitionId</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>Schedule</maml:name> <maml:Description> <maml:para>角色分配请求的计划。如果请求类型是 UserAdd、AdminAdd、AdminUpdate 和 AdminExtend,必须提供此计划。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">AzureADMSPrivilegedSchedule</command:parameterValue> <dev:type> <maml:name>AzureADMSPrivilegedSchedule</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>SubjectId</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>Type</maml:name> <maml:Description> <maml:para>请求类型。可取值为 AdminAdd、UserAdd、AdminUpdate、AdminRemove、UserRemove、UserExtend、UserRenew、AdminRenew 和 AdminExtend。必须提供此类型。</maml:para> </maml:Description> <command:parameterValue required="true" 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:\> $schedule = New-Object Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedSchedule PS C:\> $schedule.Type = "Once" PS C:\> $schedule.StartDateTime = "2019-04-26T20:49:11.770Z" PS C:\> $schedule.endDateTime = "2019-07-25T20:49:11.770Z" PS C:\> Open-AzureADMSPrivilegedRoleAssignmentRequest -ProviderId AzureResources -Schedule $schedule -ResourceId "e5e7d29d-5465-45ac-885f-4716a5ee74b5" -RoleDefinitionId "9f8c1837-f885-4dfd-9a75-990f9222b21d" -SubjectId "a25004a3-eceb-4ad4-b4aa-9485356bc55b" -AssignmentState "Eligible" -Type "AdminAdd" </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-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-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-AzureADApplicationSignInDetailedSummary</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>AzureADApplicationSignInDetailedSummary</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>Get-AzureADApplicationSignInDetailedSummary cmdlet 获取 Azure Active Directory 登录(按应用程序、日期和登录状态分组)。</maml:para> </maml:description> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADApplicationSignInDetailedSummary</maml:name> <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:syntaxitem> </command:syntax> <command:parameters> <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:parameters> <command:inputtypes> <command:inputtype> <dev:type> <maml:name></maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Online.Administration.GetApplicationSignInDetailedSummaryObjectsResponse</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnvalue> </command:returnvalues> <command:terminatingerrors/> <command:nonterminatingerrors/> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para></maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <command:examples> <command:example> <maml:title>--------示例 1:按应用程序和日期获取登录详细摘要----------------</maml:title> <dev:code>PS C:\>Get-AzureADApplicationSignInDetailedSummary -Filter "appDisplayName eq 'Azure Portal' AND aggregatedEventDateTime gt 2019-05-01 AND aggregatedEventDateTime lt 2019-06-01"</dev:code> <dev:remarks> <maml:para>此命令获取 Azure 门户在 5 月的所有登录。</maml:para> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------示例 2:获取特定失败登录--------</maml:title> <dev:code>PS C:\>Get-AzureADApplicationSignInDetailedSummary -Filter "status/errorCode eq 0 50089"</dev:code> <dev:remarks> <maml:para>此命令获取显示 50089 代码“FailureReason: 流令牌到期”的所有失败登录。</maml:para> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <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-AzureADApplicationSignInSummary</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>AzureADApplicationSignInSummary</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>Get-AzureADApplicationSignInSummary cmdlet 获取过去 7 天或 30 天内的登录摘要。</maml:para> </maml:description> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADApplicationSignInSummary</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Days</maml:name> <maml:description> <maml:para>摘要将包含过去几天的数据。有效值为 7 和 30</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">int?</command:parametervalue> </command:parameter> </command:syntaxitem> </command:syntax> <command:parameters> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Days</maml:name> <maml:description> <maml:para>摘要将包含过去几天的数据。有效值为 7 和 30</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">int?</command:parametervalue> <dev:type> <maml:name>int?</maml:name> <maml:uri/> </dev:type> <dev:defaultvalue></dev:defaultvalue> </command:parameter> </command:parameters> <command:inputtypes> <command:inputtype> <dev:type> <maml:name></maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputtype> </command:inputtypes> <command:returnvalues> <command:returnvalue> <dev:type> <maml:name>Microsoft.Online.Administration.GetApplicationSignInSummaryObjectsResponse</maml:name> <maml:uri/> <maml:description/> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnvalue> </command:returnvalues> <command:terminatingerrors/> <command:nonterminatingerrors/> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para></maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <command:examples> <command:example> <maml:title>--------示例 1:按应用程序获取上周登录摘要--------</maml:title> <dev:code>PS C:\>Get-AzureADApplicationSignInSummary -Days 7 -Filter "appDisplayName eq 'Graph Explorer'"</dev:code> <dev:remarks> <maml:para>此命令获取 Graph 浏览器在过去 7 天内的所有登录的摘要。</maml:para> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------示例 2:获取上月登录摘要--------</maml:title> <dev:code>PS C:\>Get-AzureADApplicationSignInSummary -Days 30</dev:code> <dev:remarks> <maml:para>此命令获取过去 30 天内的所有登录的摘要。</maml:para> <maml:para></maml:para> </dev:remarks> </command:example> </command:examples> <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-AzureADAuditDirectoryLogs</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>AzureADAuditDirectoryLogs</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>Get-AzureADAuditDirectoryLogs cmdlet 获取 Azure Active Directory 审核日志。</maml:para> </maml:description> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADAuditDirectoryLogs</maml:name> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>All</maml:name> <maml:description> <maml:para>表示是否从服务器返回特定查询的所有结果的布尔值</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:syntaxitem> </command:syntax> <command:parameters> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>All</maml:name> <maml:description> <maml:para>表示是否从服务器返回特定查询的所有结果的布尔值</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:parameters> <command:inputtypes/> <command:returnvalues/> <command:terminatingerrors/> <command:nonterminatingerrors/> <maml:alertset> <maml:title></maml:title> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertset> <command:examples> <command:example> <maml:title>--------示例 1:获取特定日期后的审核日志--------</maml:title> <dev:code>PS C:\>Get-AzureADAuditDirectoryLogs -Filter "activityDateTime gt 2019-03-20"</dev:code> <dev:remarks> <maml:para>此命令获取 2019 年 3 月 20 日或之后的所有审核日志</maml:para> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------示例 2:获取由用户或应用程序启动的审核日志--------</maml:title> <dev:code>PS C:\>Get-AzureADAuditDirectoryLogs -Filter "initiatedBy/user/userPrincipalName eq 'bgates@microsoft.com'" PS C:\>Get-AzureADAuditDirectoryLogs -Filter "initiatedBy/user/displayName eq 'Paul Allen'" PS C:\>Get-AzureADAuditDirectoryLogs -Filter "initiatedBy/app/appId eq 'de8bc8b5-d9f9-48b1-a8ad-b748da725064'" PS C:\>Get-AzureADAuditDirectoryLogs -Filter "initiatedBy/app/displayName eq 'Microsoft'"</dev:code> <dev:remarks> <maml:para>这些命令是获取特定用户或应用程序的所有审核日志的不同方法</maml:para> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------示例 3:获取包含给定目标资源的审核日志--------</maml:title> <dev:code>PS C:\>Get-AzureADAuditDirectoryLogs -Filter "targetResources/any(tr:tr/displayName eq 'Active Directory Example')" PS C:\>Get-AzureADAuditDirectoryLogs -Filter "targetResources/any(tr:tr/type eq 'ServicePrincipal'"</dev:code> <dev:remarks> <maml:para>这些命令展示了如何按目标资源显示名称或类型获取审核日志</maml:para> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------示例 4:获取包含给定结果的所有审核日志--------</maml:title> <dev:code>PS C:\>Get-AzureADAuditDirectoryLogs -Filter "result eq 'success'" PS C:\>Get-AzureADAuditDirectoryLogs -Filter "result eq 'failure'" -All $true</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"> <command:details> <command:name>Get-AzureADAuditSignInLogs</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>AzureADAuditSignInLogs</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>Get-AzureADAuditSignInLogs cmdlet 获取 Azure Active Directory 登录日志。</maml:para> </maml:description> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADAuditSignInLogs</maml:name> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>All</maml:name> <maml:description> <maml:para>表示是否从服务器返回特定查询的所有结果的布尔值</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:syntaxitem> </command:syntax> <command:parameters> <command:parameter required="false" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>All</maml:name> <maml:description> <maml:para>表示是否从服务器返回特定查询的所有结果的布尔值</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:parameters> <command:examples> <command:example> <maml:title>--------示例 1:获取特定日期后的登录日志--------</maml:title> <dev:code>PS C:\>Get-AzureADAuditSignInLogs -Filter "createdDateTime gt 2019-03-20"</dev:code> <dev:remarks> <maml:para>此命令获取 2019 年 3 月 20 日或之后的所有登录日志</maml:para> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------示例 2:获取用户或应用程序的登录日志--------</maml:title> <dev:code>PS C:\>Get-AzureADAuditSignInLogs -Filter "userPrincipalName eq 'bgates@microsoft.com'" PS C:\>Get-AzureADAuditSignInLogs -Filter "userDisplayName eq 'Paul Allen'" PS C:\>Get-AzureADAuditSignInLogs -Filter "appId eq 'de8bc8b5-d9f9-48b1-a8ad-b748da725064'" PS C:\>Get-AzureADAuditSignInLogs -Filter "appDisplayName eq 'Microsoft'"</dev:code> <dev:remarks> <maml:para>这些命令是获取特定用户或应用程序的所有登录日志的不同方法</maml:para> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------示例 3:获取来自特定位置的登录日志--------</maml:title> <dev:code>PS C:\>Get-AzureADAuditSignInLogs -Filter "location/city eq 'Redmond' and location/state eq 'Washington' and location/countryOrRegion eq 'US'"</dev:code> <dev:remarks> <maml:para>此命令展示了如何按位置获取审核日志</maml:para> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>--------示例 4:获取有给定状态的所有登录日志--------</maml:title> <dev:code>PS C:\>Get-AzureADAuditSignInLogs -Filter "status/errorCode eq 0 -All $true" PS C:\>Get-AzureADAuditSignInLogs -Filter "status/errorCode ne 0"</dev:code> <dev:remarks> <maml:para>这些命令展示了如何获取成功(eq 0)和失败(ne 0)登录日志</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-AzureADMSPrivilegedRoleAssignmentRequest</command:name> <command:verb>Set</command:verb> <command:noun>AzureADMSPrivilegedRoleAssignmentRequest</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-AzureADMSPrivilegedRoleAssignmentRequest</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AssignmentState</maml:name> <maml:Description> <maml:para>分配状态。可取值为 Eligible 和 Active</maml:para> </maml:Description> <command:parameterValue required="true" 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>Decision</maml:name> <maml:Description> <maml:para>角色分配请求的管理员决定。值应更新为 AdminApproved 或 AdminDenied。</maml:para> </maml:Description> <command:parameterValue required="true" 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="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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>Reason</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>Schedule</maml:name> <maml:Description> <maml:para>角色分配请求的计划。如果状态是 AdminApproved,必须提供此计划。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">AzureADMSPrivilegedSchedule</command:parameterValue> <dev:type> <maml:name>AzureADMSPrivilegedSchedule</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>AssignmentState</maml:name> <maml:Description> <maml:para>分配状态。可取值为 Eligible 或 Active。如果决定是 AdminApproved,必须提供此状态。</maml:para> </maml:Description> <command:parameterValue required="true" 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>Decision</maml:name> <maml:Description> <maml:para>角色分配请求的管理员决定。值应更新为 AdminApproved 或 AdminDenied。</maml:para> </maml:Description> <command:parameterValue required="true" 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="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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>Reason</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>Schedule</maml:name> <maml:Description> <maml:para>角色分配请求的计划。如果状态是 AdminApproved,必须提供此计划。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">AzureADMSPrivilegedSchedule</command:parameterValue> <dev:type> <maml:name>AzureADMSPrivilegedSchedule</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-AzureADMSPrivilegedRoleAssignmentRequest -ProviderId AzureResources -Id 8d28fcb3-1373-4810-8e84-75adea9a18be -Reason "{'RequestorReason':'test','AdminReason':'gg'}" -Decision "AdminDenied"</dev:code> <dev:remarks> <maml:para>通过设置为 Denied 来更新角色分配请求</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-AzureADMSPrivilegedRoleSetting</command:name> <command:verb>Set</command:verb> <command:noun>AzureADMSPrivilegedRoleSetting</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-AzureADMSPrivilegedRoleSetting</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>AdminEligibleSettings</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.AzureADMSPrivilegedRuleSetting]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]</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>AdminMemberSettings</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.AzureADMSPrivilegedRuleSetting]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]</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="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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>ResourceId</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>RoleDefinitionId</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>UserEligibleSettings</maml:name> <maml:Description> <maml:para>当用户尝试添加符合条件的角色分配时所评估的规则设置。这暂不受 pimforazurerbac 方案支持,将来可能可用。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]</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>UserMemberSettings</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.AzureADMSPrivilegedRuleSetting]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]</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>AdminEligibleSettings</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.AzureADMSPrivilegedRuleSetting]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]</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>AdminMemberSettings</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.AzureADMSPrivilegedRuleSetting]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]</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="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ProviderId</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>ResourceId</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>RoleDefinitionId</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>UserEligibleSettings</maml:name> <maml:Description> <maml:para>当用户尝试添加符合条件的角色分配时所评估的规则设置。这暂不受 pimforazurerbac 方案支持,将来可能可用。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]</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>UserMemberSettings</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.AzureADMSPrivilegedRuleSetting]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]</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:\> $setting = New-Object Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting PS C:\> $setting.RuleIdentifier = "JustificationRule" PS C:\> $setting.Setting = "{'required':false}" PS C:\> Set-AzureADMSPrivilegedRoleSetting -ProviderId AzureResources -Id ff518d09-47f5-45a9-bb32-71916d9aeadf -ResourceId 3f5887ed-dd6e-4821-8bde-c813ec508cf9 -RoleDefinitionId 2387ced3-4e95-4c36-a915-73d803f93702 -UserMemberSettings $setting </dev:code> <dev:remarks> <maml:para>通过将理由设置为 false 来更新角色设置</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"> <command:details> <command:name> New-AzureADMSFeatureRolloutPolicy </command:name> <maml:description> <maml:para>允许管理员创建 Azure AD 中的云身份验证推出策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureADMSFeatureRolloutPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>此 cmdlet 允许管理员创建 Azure AD 中的云身份验证推出(用户从联合身份验证迁移到云身份验证)策略。策略管理员可以确定用户是使用 Azure AD 中的密码哈希(密码哈希同步),还是直接使用本地 Active Directory (直通身份验证)进行身份验证。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>New-AzureADMSFeatureRolloutPolicy</maml:name> <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>Feature</maml:name> <maml:Description> <maml:para>指定分配到云身份验证推出策略的功能。</maml:para> <maml:para>目前,可以分配 PassthroughAuthentication | SeamlessSso | PasswordHashSync。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">FeatureEnum</command:parameterValue> <dev:type> <maml:name>FeatureEnum</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>IsEnabled</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: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>AppliesTo</maml:name> <maml:Description> <maml:para>指定分配到此功能的 Azure AD 对象列表。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.Object]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.Object]</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>IsAppliedToOrganization</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> <!-- Cmdlet parameter section --> <command:parameters> <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>Feature</maml:name> <maml:Description> <maml:para>指定分配到云身份验证推出策略的功能。</maml:para> <maml:para>目前,可以分配 PassthroughAuthentication | SeamlessSso | PasswordHashSync。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">FeatureEnum</command:parameterValue> <dev:type> <maml:name>FeatureEnum</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>IsEnabled</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: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>AppliesTo</maml:name> <maml:Description> <maml:para>指定分配到此功能的 Azure AD 对象列表。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.Object]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.Object]</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>IsAppliedToOrganization</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> <!-- 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.MsFeatureRolloutPolicy</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:创建 Azure AD 中的云身份验证推出策略。</maml:title> <dev:code> PS C:\> New-AzureADMSFeatureRolloutPolicy -Feature PassthroughAuthentication -DisplayName "Passthrough Authentication Rollout Policy" -IsEnabled $true Feature : PassthroughAuthentication Id : 7ca3e599-e8cc-4d31-9ed6-19dd4f88e833 DisplayName : Passthrough Authentication Rollout Policy Description : IsEnabled : True IsAppliedToOrganization : False AppliesTo : </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-AzureADMSFeatureRolloutPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSFeatureRolloutPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSFeatureRolloutPolicy</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-AzureADMSFeatureRolloutPolicy </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>AzureADMSFeatureRolloutPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>此 cmdlet 允许管理员获取 Azure AD 中的云身份验证推出(用户从联合身份验证迁移到云身份验证)策略。此策略以一个或两个 FeatureRolloutPolicy 对象的形式存在,包含为云身份验证(直通身份验证或密码哈希同步)分配的组,以及为无缝单一登录(基于 PTA 或 PHS 的功能)分配的组。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADMSFeatureRolloutPolicy</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure AD 中云身份验证推出策略的唯一标识符。</maml:para> </maml:description> <command:parametervalue required="true" 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>指定搜索字符串。</maml:para> </maml:Description> <command:parameterValue required="true" 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"> <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>Id</maml:name> <maml:description> <maml:para>Azure AD 中云身份验证推出策略的唯一标识符。</maml:para> </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="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="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.MsFeatureRolloutPolicy</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:检索 Azure AD 中所有云身份验证推出策略的列表。</maml:title> <dev:code> PS C:\> Get-AzureADMSFeatureRolloutPolicy Feature : PassthroughAuthentication Id : 7ca3e599-e8cc-4d31-9ed6-19dd4f88e833 DisplayName : Passthrough Authentication Rollout Policy Description : IsEnabled : True IsAppliedToOrganization : False AppliesTo : </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-AzureADMSFeatureRolloutPolicy -Id "a03b6d9e-6654-46e6-8d0a-8ed83c675ca9" Feature : PassthroughAuthentication Id : a03b6d9e-6654-46e6-8d0a-8ed83c675ca9 DisplayName : Passthrough Authentication Rollout Policy Description : IsEnabled : True IsAppliedToOrganization : False AppliesTo : </dev:code> <dev:remarks> <maml:para>此命令检索 Azure AD 中的云身份验证推出策略。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>示例 3:使用给定搜索字符串检索 Azure AD 中的云身份验证推出策略。</maml:title> <dev:code> PS C:\> Get-AzureADMSFeatureRolloutPolicy -SearchString "Default PasswordHashSync Rollout Policy" Feature : PasswordHashSync Id : a03b6d9e-6654-46e6-8d0a-8ed83c675ca9 DisplayName : Default PasswordHashSync Rollout Policy Description : Default PasswordHashSync Rollout Policy IsEnabled : True IsAppliedToOrganization : False AppliesTo : </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-AzureADMSFeatureRolloutPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSFeatureRolloutPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSFeatureRolloutPolicy</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-AzureADMSFeatureRolloutPolicy </command:name> <maml:description> <maml:para>允许管理员修改 Azure AD 中的云身份验证推出策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureADMSFeatureRolloutPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>管理员将使用此 cmdlet 修改云身份验证推出策略,包括云身份验证方法是直通身份验证还是密码哈希同步,以及是否启用无缝 SSO。分配到此策略的组中的用户将通过新身份验证方法和无缝 SSO (若指定)开始身份验证。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Set-AzureADMSFeatureRolloutPolicy</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure AD 中云身份验证推出策略的唯一标识符。</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="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>Feature</maml:name> <maml:Description> <maml:para>指定分配到云身份验证推出策略的功能。</maml:para> <maml:para>目前,可以分配 PassthroughAuthentication | SeamlessSso | PasswordHashSync。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">FeatureEnum</command:parameterValue> <dev:type> <maml:name>FeatureEnum</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>IsEnabled</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: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>AppliesTo</maml:name> <maml:Description> <maml:para>指定分配到此功能的 Azure AD 对象列表。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.Object]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.Object]</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>IsAppliedToOrganization</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> <!-- 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>Azure AD 中云身份验证推出策略的唯一标识符。</maml:para> </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="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>Feature</maml:name> <maml:Description> <maml:para>指定分配到云身份验证推出策略的功能。</maml:para> <maml:para>目前,可以分配 PassthroughAuthentication | SeamlessSso | PasswordHashSync。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">FeatureEnum</command:parameterValue> <dev:type> <maml:name>FeatureEnum</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>IsEnabled</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: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>AppliesTo</maml:name> <maml:Description> <maml:para>指定分配到此功能的 Azure AD 对象列表。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">System.Collections.Generic.List`1[System.Object]</command:parameterValue> <dev:type> <maml:name>System.Collections.Generic.List`1[System.Object]</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>IsAppliedToOrganization</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> <!-- 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:更新 Azure AD 中的云身份验证推出策略。</maml:title> <dev:code> PS C:\> Set-AzureADMSFeatureRolloutPolicy -Id "a03b6d9e-6654-46e6-8d0a-8ed83c675ca9" -IsEnabled $true </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-AzureADMSFeatureRolloutPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSFeatureRolloutPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureADMSFeatureRolloutPolicy</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-AzureADMSFeatureRolloutPolicy </command:name> <maml:description> <maml:para>允许管理员删除 Azure AD 中的云身份验证推出策略。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSFeatureRolloutPolicy</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>管理员将使用此 cmdlet 删除云身份验证推出策略,并让应用此策略的所有用户都不受此策略约束。分配到此策略的组中的用户将回退使用全局身份验证方法(大多数情况下为联合身份验证)。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSFeatureRolloutPolicy</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure AD 中云身份验证推出策略的唯一标识符。</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>Azure AD 中云身份验证推出策略的唯一标识符。</maml:para> </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:删除 Azure AD 中的云身份验证推出策略。</maml:title> <dev:code>PS C:\> Remove-AzureADMSFeatureRolloutPolicy -Id "7b10cf40-bc0e-46b5-9456-4520179eef5d"</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-AzureADMSFeatureRolloutPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureADMSFeatureRolloutPolicy</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureADMSFeatureRolloutPolicy</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-AzureADMSFeatureRolloutPolicyDirectoryObject </command:name> <maml:description> <maml:para>允许管理员向 Azure AD 中的云身份验证推出策略添加组。此组中的用户将开始根据策略进行云身份验证。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Add</command:verb> <command:noun>AzureADMSFeatureRolloutPolicyDirectoryObject</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>管理员将使用此 cmdlet 向云身份验证推出策略添加组。这些组中的用户将开始根据策略(例如,是否使用无缝单一登录,或是否使用直通身份验证)进行云身份验证。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Add-AzureADMSFeatureRolloutPolicyDirectoryObject</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure AD 中云身份验证推出策略的唯一标识符。</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 AD 对象的唯一标识符,将被分配给 Azure AD 中的云身份验证推出策略。</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>Azure AD 中云身份验证推出策略的唯一标识符。</maml:para> </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 AD 对象的唯一标识符,将被分配给 Azure AD 中的云身份验证推出策略。</maml:para> </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:向 Azure AD 中的云身份验证推出策略添加组。</maml:title> <dev:code> PS C:\> Add-AzureADMSFeatureRolloutPolicyDirectoryObject -Id "a03b6d9e-6654-46e6-8d0a-8ed83c675ca9" -RefObjectId "0a1068c0-dbb6-4537-9db3-b48f3e31dd76" </dev:code> <dev:remarks> <maml:para>此命令向 Azure AD 中的云身份验证推出策略添加组。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Remove-AzureADMSFeatureRolloutPolicyDirectoryObject</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-AzureADMSFeatureRolloutPolicyDirectoryObject </command:name> <maml:description> <maml:para>允许管理员从 Azure AD 中的云身份验证推出策略删除组。此组中的用户将恢复使用全局策略进行身份验证(大多数情况下为联合身份验证)。</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSFeatureRolloutPolicyDirectoryObject</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>管理员将使用此 cmdlet 删除云身份验证推出策略中的组。这些组中的用户将开始根据全局身份验证策略进行身份验证(例如,联合身份验证)。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSFeatureRolloutPolicyDirectoryObject</maml:name> <command:parameter required="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Azure AD 中云身份验证推出策略的唯一标识符。</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>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure AD 对象的唯一标识符,将被分配给 Azure AD 中的云身份验证推出策略。</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>Azure AD 中云身份验证推出策略的唯一标识符。</maml:para> </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>ObjectId</maml:name> <maml:description> <maml:para>特定 Azure AD 对象的唯一标识符,将被分配给 Azure AD 中的云身份验证推出策略。</maml:para> </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:从 Azure AD 中的云身份验证推出策略删除组。</maml:title> <dev:code> PS C:\> Remove-AzureADMSFeatureRolloutPolicyDirectoryObject -Id "a03b6d9e-6654-46e6-8d0a-8ed83c675ca9" -ObjectId "0a1068c0-dbb6-4537-9db3-b48f3e31dd76" </dev:code> <dev:remarks> <maml:para>此命令从 Azure AD 中的云身份验证推出策略删除组。</maml:para> </dev:remarks> </command:example> </command:examples> <!-- Link section --> <maml:relatedlinks> <maml:navigationLink> <maml:linkText>Add-AzureADMSFeatureRolloutPolicyDirectoryObject</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-AzureADMSPasswordSingleSignOnCredential </command:name> <maml:description> <maml:para>获取密码 SSO 凭据</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureADMSPasswordSingleSignOnCredential</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>此 cmdlet 使用户能够读取其所属应用程序的密码单一登录凭据。管理员也可以读取组凭据。请注意,出于安全目的,密码字段将被隐藏。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADMSPasswordSingleSignOnCredential</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>PasswordSSOObjectId</maml:name> <maml:description> <maml:para>用户或组 ID</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">PasswordSSOObjectId</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>PasswordSSOObjectId</maml:name> <maml:description> <maml:para>用户或组 ID</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">PasswordSSOObjectId</command:parametervalue> <dev:type> <maml:name>PasswordSSOObjectId</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.PasswordSSOCredentials</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>获取密码单一登录凭据</maml:title> <dev:code> PS C:\> $get_creds_output = Get-AzureADMSPasswordSingleSignOnCredential -ObjectId 9ac9883e-0ac5-4c32-8737-4267f56a28cc -PasswordSSOObjectId a4210a97-5e26-4cfe-88f1-118ed4886f27 </dev:code> <dev:remarks> <maml:para>此命令将获取给定的 ObjectId 和 PasswordSSOObjectId 的密码 SSO 凭据。</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> New-AzureADMSPasswordSingleSignOnCredential </command:name> <maml:description> <maml:para>创建密码 SSO 凭据</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureADMSPasswordSingleSignOnCredential</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>此 cmdlet 使用户能够为其所属的应用程序创建其密码单一登录凭据。管理员也可以创建组凭据。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>New-AzureADMSPasswordSingleSignOnCredential</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>PasswordSSOCredential</maml:name> <maml:description> <maml:para>用户或组 ID</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">PasswordSSOCredentials</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>PasswordSSOCredential</maml:name> <maml:description> <maml:para>用户或组 ID</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">PasswordSSOCredentials</command:parametervalue> <dev:type> <maml:name>PasswordSSOCredentials</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.PasswordSSOCredentials</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>新密码单一登录凭据</maml:title> <dev:code> PS C:\> $credentials = New-Object -TypeName Microsoft.Open.MSGraph.Model.PasswordSSOCredentials PS C:\> $credentials.Id = "a4210a97-5e26-4cfe-88f1-118ed4886f27" PS C:\> $creds1 = [Microsoft.Open.MSGraph.Model.PasswordSSOCredential]@{FieldId="param_1"; Value="foobar@ms.com"; Type="text"} PS C:\> $creds2 = [Microsoft.Open.MSGraph.Model.PasswordSSOCredential]@{FieldId="param_2"; Value="my-secret"; Type="password"} PS C:\> $credentials.Credentials = @($creds1, $creds2) PS C:\> $new_creds_output = New-AzureADMSPasswordSingleSignOnCredential -ObjectId 9ac9883e-0ac5-4c32-8737-4267f56a28cc -PasswordSSOCredential $credentials </dev:code> <dev:remarks> <maml:para>此命令将为给定的 ObjectId 和 PasswordSSOObjectId 创建密码 SSO 凭据。</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-AzureADMSPasswordSingleSignOnCredential </command:name> <maml:description> <maml:para>删除密码 SSO 凭据</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureADMSPasswordSingleSignOnCredential</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>此 cmdlet 使用户能够删除其所属应用程序的密码单一登录凭据。管理员也可以删除组凭据。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Remove-AzureADMSPasswordSingleSignOnCredential</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>PasswordSSOObjectId</maml:name> <maml:description> <maml:para>用户或组 ID</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">PasswordSSOObjectId</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>PasswordSSOObjectId</maml:name> <maml:description> <maml:para>用户或组 ID</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">PasswordSSOObjectId</command:parametervalue> <dev:type> <maml:name>PasswordSSOObjectId</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>删除密码单一登录凭据</maml:title> <dev:code> PS C:\> Remove-AzureADMSPasswordSingleSignOnCredential -ObjectId 9ac9883e-0ac5-4c32-8737-4267f56a28cc -PasswordSSOObjectId a4210a97-5e26-4cfe-88f1-118ed4886f27 </dev:code> <dev:remarks> <maml:para>此命令将删除给定的 ObjectId 和 PasswordSSOObjectId 的密码 SSO 凭据。</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> Set-AzureADMSPasswordSingleSignOnCredential </command:name> <maml:description> <maml:para>设置密码 SSO 凭据</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureADMSPasswordSingleSignOnCredential</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>此 cmdlet 使用户能够为其所属的应用程序设置其密码单一登录凭据。管理员也可以设置组凭据。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Set-AzureADMSPasswordSingleSignOnCredential</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>PasswordSSOCredential</maml:name> <maml:description> <maml:para>用户或组 ID</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">PasswordSSOCredentials</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>PasswordSSOCredential</maml:name> <maml:description> <maml:para>用户或组 ID</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">PasswordSSOCredentials</command:parametervalue> <dev:type> <maml:name>PasswordSSOCredentials</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>设置密码单一登录凭据</maml:title> <dev:code> PS C:\> $credentials = New-Object -TypeName Microsoft.Open.MSGraph.Model.PasswordSSOCredentials PS C:\> $credentials.Id = "a4210a97-5e26-4cfe-88f1-118ed4886f27" PS C:\> $creds1 = [Microsoft.Open.MSGraph.Model.PasswordSSOCredential]@{FieldId="param_1"; Value="barfoo@ms.com"; Type="text"} PS C:\> $creds2 = [Microsoft.Open.MSGraph.Model.PasswordSSOCredential]@{FieldId="param_2"; Value="my-secret"; Type="password"} PS C:\> $credentials.Credentials = @($creds1, $creds2) PS C:\> Set-AzureADMSPasswordSingleSignOnCredential -ObjectId 9ac9883e-0ac5-4c32-8737-4267f56a28cc -PasswordSSOCredential $credentials </dev:code> <dev:remarks> <maml:para>此命令为给定的 ObjectId 和 PasswordSSOObjectId 设置密码 SSO 凭据。</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-AzureADMSApplicationTemplate </command:name> <maml:description> <maml:para>检索 applicationTemplate 对象的列表</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureADMSApplicationTemplate</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>此 cmdlet 使用户能够获取所有应用程序模板或特定应用程序模板的列表。</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>Get-AzureADMSApplicationTemplate</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></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.ApplicationTemplate</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:\> $all_templates = Get-AzureADMSApplicationTemplate </dev:code> <dev:remarks> <maml:para>此命令将获取所有应用程序模板对象</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>2. 获取应用程序模板对象</maml:title> <dev:code> PS C:\> $template = Get-AzureADMSApplicationTemplate -Id e8b7b394-057d-4203-a93a-1879c28ece38 </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"> <command:details> <command:name> New-AzureADMSApplicationFromApplicationTemplate </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>AzureADMSApplicationFromApplicationTemplate</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>此 cmdlet 使用户能够从应用程序模板创建应用程序</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxitem> <maml:name>New-AzureADMSApplicationFromApplicationTemplate</maml:name> <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="true" variablelength="false" globbing="false" pipelineinput="true" position="named"> <maml:name>DisplayName</maml:name> <maml:description> <maml:para>应用程序模板显示名称</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">ApplicationTemplateDisplayName</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>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>DisplayName</maml:name> <maml:description> <maml:para>应用程序模板显示名称</maml:para> </maml:description> <command:parametervalue required="true" variablelength="false">ApplicationTemplateDisplayName</command:parametervalue> <dev:type> <maml:name>ApplicationTemplateDisplayName</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.ApplicationTemplateCopy</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:\> $instantiated_app = New-AzureADMSApplicationTemplate -Id e8b7b394-057d-4203-a93a-1879c28ece38 -DisplayName bugzilla-copy1 </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"> <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-AzureADMSAuthorizationPolicy</command:name> <command:verb>Get</command:verb> <command:noun>AzureADMSAuthorizationPolicy</command:noun> <maml:description> <maml:para>获取授权策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-AzureADMSAuthorizationPolicy cmdlet 获取 Azure Active Directory 授权策略。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureADMSAuthorizationPolicy</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-AzureADMSAuthorizationPolicy -Id "authorizationPolicy"</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>更新授权策略。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-AzureADMSAuthorizationPolicy cmdlet 更新 Azure Active Directory 授权策略。</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>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>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>EnabledPreviewFeatures</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>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GuestUserRoleId</maml:name> <maml:Description> <maml:para>指定应授予来宾用户的角色的 roletemplateId。</maml:para> </maml:Description> <command:parameterValue required="true" 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>PermissionGrantPolicyIdsAssignedToDefaultUserRole</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>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>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>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>EnabledPreviewFeatures</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>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GuestUserRoleId</maml:name> <maml:Description> <maml:para>指定应授予来宾用户的角色的 roletemplateId。</maml:para> </maml:Description> <command:parameterValue required="true" 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>PermissionGrantPolicyIdsAssignedToDefaultUserRole</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>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-AzureADMSAuthorizationPolicy -Id authorizationPolicy -DisplayName "updated displayname" -Description "updated description" -PermissionGrantPolicyIdsAssignedToDefaultUserRole @("user-default-low","application-admin") -GuestUserRoleId "10dae51f-b6af-4016-8d66-8c2a99b929b3" -EnabledPreviewFeatures @("EnableGranularConsent")</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> <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-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> 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> </helpItems> |