Cannot create csp customer through powersell
Steps to reproduce
- execute connect-partnercenter through Powershell
- authentication using a CSP account
- create new customer using the following command:
- New-PartnerCustomer -BillingAddressLine1 'Rua Jambeiro' -BillingAddressLine2 '128 Vila Osasco' -BillingAddressCity 'OSASCO' -BillingAddressCountry 'BR' -BillingAddressPostalCode '06184280’ -BillingAddressState 'São Paulo' -ContactEmail '[email protected]' -ContactFirstName 'Mathieu' -ContactLastName 'Coletti' -ContactPhoneNumber '+55(11)989661259' -Culture 'br-BR' -Domain 'matcoletti.onmicrosoft.com' -Language 'fr' -Name 'MATHIEU COLETTI LTDA'
Expected behavior
Account gets created into CSP
Actual behavior
I´m getting the error: Organization registration id information is missing
PS C:\WINDOWS\system32> New-PartnerCustomer -BillingAddressLine1 'Rua Jambeiro' -BillingAddressLine2 '128 Vila Osasco' -BillingAddressCity 'OSASCO' -BillingAddressCountry 'BR' -BillingAddressPostalCode '06184280’ -BillingAddressState 'São Paulo' -ContactEmail '[email protected]' -ContactFirstName 'Mathieu' -ContactLastName 'Coletti' -ContactPhoneNumber '+55(11)989661259' -Culture 'br-BR' -Domain 'matcoletti.onmicrosoft.com' -Language 'fr' -Name 'MATHIEU COLETTI LTDA' New-PartnerCustomer : Organization registration id information is missing. At line:1 char:1
- New-PartnerCustomer -BillingAddressLine1 'Rua Jambeiro' -BillingAddre ...
-
+ CategoryInfo : CloseError: (:) [New-PartnerCustomer], PartnerException
Diagnostic logs
I cannot figured out what parameter in used to inform the company registration ID