New-SPOnlineApplicationPrincipalManagementServiceApplicationProxy
创建新的 SharePoint Online 管理应用程序代理名称
语法
New-SPOnlineApplicationPrincipalManagementServiceApplicationProxy
[-AssignmentCollection <SPAssignmentCollection>]
[-Confirm]
[-DefaultProxyGroup]
-Name <String>
-OnlineTenantUri <String>
[-WhatIf]
[<CommonParameters>]
说明
此 Cmdlet 用于创建新的应用程序代理名称,例如,通常运行此脚本时,将 SharePoint Online (SPO) 租户和 SharePoint 服务器云 SSA 载入到云混合搜索。
示例
示例 1
New-SPOnlineApplicationPrincipalManagementServiceApplicationProxy -Name $SPO_MANAGEMENT_APPPROXY_NAME -OnlineTenantUri $PortalUrl -DefaultProxyGroup
在默认代理组的变量$PortalUrl找到了租户的代理。
参数
-AssignmentCollection
创建新的主体管理服务应用程序代理后,将其分配给集合。
Type: | SPAssignmentCollection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2013, SharePoint Server 2016 |
-Confirm
提示你在运行 cmdlet 之前进行确认。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2013, SharePoint Server 2016 |
-DefaultProxyGroup
在默认代理组上搜索代理
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2013, SharePoint Server 2016 |
-Name
SPO 管理 AppProxy 名称。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2013, SharePoint Server 2016 |
-OnlineTenantUri
定义联机租户 URI。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2013, SharePoint Server 2016 |
-WhatIf
显示在 cmdlet 运行时发生的情况。 此 cmdlet 未运行。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Server 2013, SharePoint Server 2016 |