Share via


New-PartnerCustomerAgreement

Confirms the customer acceptance of the Microsoft Cloud agreement.

Syntax

New-PartnerCustomerAgreement
   -AgreementType <AgreementType>
   -ContactEmail <String>
   -ContactFirstName <String>
   -ContactLastName <String>
   [-ContactPhoneNumber <String>]
   -CustomerId <String>
   [-DateAgreed <DateTime>]
   -TemplateId <String>
   [<CommonParameters>]

Description

Confirms the customer acceptance of the Microsoft Cloud agreement.

Examples

Example 1

PS C:\> New-PartnerCustomerAgreement -AgreementType MicrosoftCloudAgreement -ContactEmail 'jdoe@customer.com' -ContactFirstName 'Jane' -ContactLastName 'Doe' -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -TemplateId '998b88de-aa99-4388-a42c-1b3517d49490'

Confirms the customer acceptance of the Microsoft Cloud agreement.

Parameters

-AgreementType

The type of agreement being accepted.

Type:AgreementType
Accepted values:MicrosoftCloudAgreement
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ContactEmail

The email address of the primary contact of the customer.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ContactFirstName

The first name of the primary contact of the customer.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ContactLastName

The last name of the primary contact of the customer.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ContactPhoneNumber

The phone number of the primary contact of the customer.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CustomerId

The identifier for the customer.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DateAgreed

The date the agreement was signed.

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TemplateId

The identifier for the template.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Store.PartnerCenter.PowerShell.Models.Agreements.PSAgreement