question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New-PartnerCustomerAgreement Breaking change

See original GitHub issue

Steps 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:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
ghostcommented, Feb 2, 2019

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.

0reactions
slavizhcommented, Jan 23, 2019

@isaiahwilliams Thanks! I appreciate the update!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found