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

Get-PartnetCustomerSubscription: Requested value 'Disabled' was not found #403

Closed PierreGPOST closed 1 year ago

PierreGPOST commented 1 year ago

Hi,

i have a trouble with some customers, getting the list of subscription. Since nearly one month, as one subscription is in 'Disabled' state, i cannot get the list of subscriptions for those customers

Running the command Get-PartnerCustomerSubscribedSku -CustomerId '***-xxxx-**-xxxx-4687a1abxxx' is working fine, showing me the CapabilityStatus as 'Disabled' wihout issues.

But this command does not work anymore, so i cannot get the orderId and other informations about the subscription: Get-PartnerCustomerSubscription -CustomerId '***-xxxx-**-xxxx-4687a1abxxx'

And i receive the result: Get-PartnerCustomerSubscription : Requested value 'Disabled' was not found. At line:1 char:1

Does anyone have the same issue ? Do you have a workaround ? I cannot get those informations from MgGraph.

Thank you

marcelbraak commented 1 year ago

Yes, this issue started on january 2nd. The function gives this error on a huge part of our customer base. You do wisely to migrate over to native REST with the partnercenter API itself. This powershell module isn't updated for NCE (isn't updated at all for some years)

PierreGPOST commented 1 year ago

Yes, i did migrate to REST too and the API, this is the only solution i think.