Partner-Center-PowerShell icon indicating copy to clipboard operation
Partner-Center-PowerShell copied to clipboard

Cannot create csp customer through powersell

Open mathieucoletti opened this issue 4 years ago • 0 comments

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

Environment

mathieucoletti avatar Apr 20 '21 17:04 mathieucoletti