Partner-Center-PowerShell
Partner-Center-PowerShell copied to clipboard
Confirmed problems with NCE and module
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?
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"