This repository was archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Cannot use New-PartnerCustomerAgreement #292
Copy link
Copy link
Closed
Description
Steps to reproduce
What steps can reproduce the defect?
Please share the setup, commandline for vstest.console, sample project, target
framework etc.
New-PartnerCustomerAgreement -AgreementType MicrosoftCloudAgreement -TemplateId 998b88de-aa99-4388-a42c-1b3517d49490 -ContactEmail $customer.CloudEmailAddress -ContactFirstName $customer.CloudFirstName -ContactLastName $customer.CloudLastName -ContactPhoneNumber $customer.CloudPhoneNumber -CustomerId $tenantId
Expected behavior
Share the expected output
Actual behavior
What is the behavior observed?
New-PartnerCustomerAgreement : Microsoft Cloud Agreement Template ID '998b88de-aa99-4388-a42c-1b3517d49490' is no
longer supported.
At line:1 char:1
+ New-PartnerCustomerAgreement -AgreementType MicrosoftCloudAgreement - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-PartnerCustomerAgreement], PartnerException
+ FullyQualifiedErrorId : Microsoft.Store.PartnerCenter.PowerShell.Commands.NewPartnerCustomerAgreement
Diagnostic logs
Please share test platform diagnostics logs.
The logs may contain test assembly paths, kindly review and mask those before sharing.
Environment
Please share additional details about your environment.
Version
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 3.0.7 PartnerCenter {Add-PartnerCustomerCartLineItem, Add-PartnerCustomerUserR...
Other Notes
Get-PartnerAgreementDetail shows the correct template id as shown below:
Get-PartnerAgreementDetail
AgreementLink AgreementType TemplateId
------------- ------------- ----------
https://docs.microsoft.com/en-us/partner-center/agreements MicrosoftCloudAgreement 998b88de-aa99-4388-a42c-1b3517d49490
However, running Get-PartnerAgreementDocument -TemplateId 998b88de-aa99-4388-a42c-1b3517d49490 results in the following
Get-PartnerAgreementDocument : An agreement document for template ID '998b88de-aa99-4388-a42c-1b3517d49490' in
language 'en-US' and for country 'US' was not found.
At line:1 char:1
+ Get-PartnerAgreementDocument -TemplateId 998b88de-aa99-4388-a42c-1b35 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Get-PartnerAgreementDocument], PartnerException
+ FullyQualifiedErrorId : Microsoft.Store.PartnerCenter.PowerShell.Commands.GetPartnerAgreementDocument
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels