Set-SPAppManagementDeploymentId

Office 마켓플레이스에서 앱 라이선스를 발급하는 데 사용하는 팜 또는 테넌트의 식별자를 설정합니다.

Syntax

Set-SPAppManagementDeploymentId
   -AppManagementServiceApplication <AppManagementServiceApplication>
   -DeploymentId <Guid>
   [-AssignmentCollection <SPAssignmentCollection>]
   [-Confirm]
   [-Identity <SPSiteSubscriptionPipeBind>]
   [-WhatIf]
   [<CommonParameters>]

Description

cmdlet을 Set-SPAppManagementDeploymentId 사용하여 Office Marketplace에서 앱 라이선스를 발급하는 데 사용하는 팜 또는 테넌트 식별자를 설정합니다. 마켓플레이스에서 구입한 모든 응용 프로그램 사용 권한을 유지하려면 Microsoft 설명서 또는 지원에서 지시하는 경우를 제외하고는 배포 ID를 변경하지 마십시오.

SharePoint 제품용 Windows PowerShell에 대한 사용 권한 및 최신 정보는 SharePoint Server Cmdlets를 참조하세요.

예제

-----------예제 1----------

$sa = Get-SPServiceApplication | where {$_.TypeName -eq "App Management Service Application"}
Set-SPAppManagementDeploymentId -DeploymentId 3102B7C3-1866-48EE-91CB-84E20AD24BF2 -AppManagementServiceApplication $sa

이 예제에서는 현재 팜의 배포 식별자를 3102B7C3-1866-48EE-91CB-84E20AD24BF2로 설정합니다.

-----------예제 2----------

$sa = Get-SPServiceApplication | where {$_.TypeName -eq "App Management Service Application"}
Get-SPSiteSubscription | where{$_.Id -eq "88f16a50-0530-4f3f-b749-24ef0b30d685"} | Set-SPAppManagementDeploymentId -DeploymentId 3102B7C3-1866-48EE-91CB-84E20AD24BF2 -AppManagementServiceApplication $sa

이 예제에서는 사이트 구독 식별자가 88f16a50-0530-4f3f-b749-24ef0b30d685인 테넌트의 배포 식별자를 3102B7C3-1866-48EE-91CB-84E20AD24BF2로 설정합니다.

매개 변수

-AppManagementServiceApplication

팜에서 실행 중인 응용 프로그램 관리 서비스 응용 프로그램 개체를 지정합니다.

Type:AppManagementServiceApplication
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-AssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Confirm

명령을 실행하기 전에 사용자에게 확인 메시지를 표시합니다. 자세한 내용을 확인하려면 다음 명령을 입력하세요. get-help about_commonparameters

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-DeploymentId

Specifies the deployment identifier value for the tenant. This parameter works in conjunction with the value that is defined with Identity parameter. If Identity parameter is omitted, then it is assumed that this deployment identifier value belongs to the farm.

Type:Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Identity

Identifies the site subscription object representing the tenant to which the DeploymentId parameter is to be assigned. If the Identity parameter is omitted, it is assumed that the deployment identifier belongs to the farm.

Type:SPSiteSubscriptionPipeBind
Aliases:Subscription
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-WhatIf

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition