New-PartnerCustomerAgreement Breaking change
See original GitHub issueSteps to reproduce
What steps can reproduce the defect? Please share the setup, commandline for vstest.console, sample project, target framework etc.
The command below was working several weeks ago:
New-PartnerCustomerAgreement -TemplateId 998b88de-aa99-4388-a42c-1b3517d49490 -AgreementType MicrosoftCloudAgreement -ContactEmail "" -ContactFirstName "" -ContactLastName "" -ContactPhoneNumber "" -CustomerId "" -DateAgreed ([datetime]::ParseExact("2018-11-01","yyyy-MM-dd",$null))
When I executed it on the latest version of the module just today I got error:
New-PartnerCustomerAgreement : The given key was not present in the dictionary.
At line:1 char:1
+ New-PartnerCustomerAgreement -TemplateId 998b88de-aa99-4388-a42c-1b35 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-PartnerCustomerAgreement], KeyNotFoundException
+ FullyQualifiedErrorId : System.Collections.Generic.KeyNotFoundException,Microsoft.Store.PartnerCenter.PowerShell
.Commands.NewPartnerCustomerAgreement
Expected behavior
Expected output was to complete successfully
Actual behavior
Behavior was error
Diagnostic logs
Verbose or Debug does not produce any additional information. Seems those were never implemented. After some testing it is working if you provide valid value for UserId. In documentation UserId is not required parameter and it was working without this parameter several weeks ago as I’ve tested. Breaking changes should be documented and version should be increased properly when there are such.
Environment
PartnerCenter 1.5.1812.1
PS C:\WINDOWS\system32> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 1 17763 134
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Microsoft Product Terms update for July 2023
The July 2023 update to the Microsoft Product Terms includes a number of changes that affect Microsoft customers and partners.
Read more >What is the Microsoft Customer Agreement?
In the coming months, we'll talk more about what the new commerce experience looks like and explain the upcoming changes you can expect....
Read more >Breaking Down Microsoft's New Commerce Experience
1. Microsoft Partner Agreement (MPA) and Microsoft Customer Agreements (MCA) will not need to be re-signed for NCE · 2. Microsoft NCE FY22 ......
Read more >Microsoft Customer Agreement: The way forward?
The ability for partners to select “Customer has accepted the latest Microsoft Cloud Agreement” will be disabled on January 31, 2020. For ...
Read more >AWS Customer Agreement - Amazon.com
See the AWS New Zealand FAQs for more information. ... 1.6 Notice of Changes to the Service Level Agreements. We may change, discontinue...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @slavizh,
The plan is to release a new version this next week that will resolve this issue. I have verified that this issue has been resolved. Please let me know if you discover any other issues.
@isaiahwilliams Thanks! I appreciate the update!