Open mprentice22153 opened 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"
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?