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-PartnerCustomerUser throwing 'Microsoft.Store.PartnerCenter.Exceptions.PartnerException' #384

Open Casper-at-GTS opened 2 years ago

Casper-at-GTS commented 2 years ago

We use the Partner Center module for automatically managing the licenses for about 20 of our customers. Part of the script is getting al users in the customer tenant based on Get-PartnerCustomerUser. This has been in place for at least 6 months without a hitch. Since last week for one specific customer and sometimes two we get the 'Microsoft.Store.PartnerCenter.Exceptions.PartnerException' error when trying to use Get-PartnerCustomerUser cmdlt.

I tried updating the module and using another account to connect to Partner Center, but with the same result unfortunately. Are there any ideas here how to solve the issue?

Casper-at-GTS commented 2 years ago

I did some debugging. It seems to work fine for the first 100 users (in json format), but the second http request throws a 404.

First request: partnercenter 1

Second request: partnercenter 2

johandehaan commented 2 years ago

I'm having the exact same problem here. 😐

Casper-at-GTS commented 2 years ago

Since the 4th of January the problem is gone. I'm happy that it's gone, but I still don't know what caused the issue and what solved it. Probably something Microsoft did on their servers.