microsoft / Partner-Center-PowerShell

PowerShell module for managing Partner Center resources.
https://docs.microsoft.com/powershell/partnercenter/
MIT License
130 stars 59 forks source link

Confirmed problems with NCE and module #397

Open mprentice22153 opened 2 years ago

mprentice22153 commented 2 years ago

As discussed in a separate issue this module is not being actively maintained. We need to move forward with other technologies. At least for now, how about we document known issues with the module and NCE?

mprentice22153 commented 2 years ago

Get-PartnerCustomerSubscription -CustomerID $CustomerID Breaks when the customer has a subscription in an "expired" status

Get-PartnerCustomerSubscription : Requested value 'Expired' was not found.
At line:1 char:10
+ $CSubs = Get-PartnerCustomerSubscription -CustomerId $customerid
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Get-PartnerCustomerSubscription], ArgumentException
    + FullyQualifiedErrorId : Microsoft.Store.PartnerCenter.PowerShell.Commands.GetPartnerCustomerSubscription

Get-PartnerCustomerSubscription -CustomerID $CustomerID -debug Shows the list of subscriptions and you can find at least one that shows "status": "expired"