< Back

New-MPCCustomer

Sat Jan 18, 2020 4:11 pm

NAME New-MPCCustomer



SYNOPSIS

Creates a new customer in the Microsoft Partner Center.





SYNTAX

New-MPCCustomer [-CustomerDomainPrefix] <String> [-MPCToken] <String> [-CompanyName] <String> [-FirstName]

<String> [-LastName] <String> [-Email] <String> [-PhoneNumber] <String> [-AddressLine1] <String> [[-AddressLine2]

<String>] [[-AddressLine3] <String>] [-City] <String> [-State] <String> [-PostalCode] <String> [[-Country]

<String>] [[-Culture] <String>] [[-Language] <String>] [<CommonParameters>]





DESCRIPTION

Long description





PARAMETERS

-CustomerDomainPrefix <String>

Customer domain prefix for onmicrosoft.com domain



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MPCToken <String>

Microsoft Partner Center authentication token



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CompanyName <String>

Name of company/organization



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-FirstName <String>

The first name of a contact at the customer's company/organization



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LastName <String>

The last name of a contact at the customer's company/organization



Required? true

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Email <String>

The email address of a contact at the customer's company/organization



Required? true

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PhoneNumber <String>

The phone number of a contact at the customer's company/organization



Required? true

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AddressLine1 <String>

Address line 1 of a contact at the customer's company/organization



Required? true

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AddressLine2 <String>

Address line 2 of a contact at the customer's company/organization



Required? false

Position? 9

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AddressLine3 <String>

Address line 3 of a contact at the customer's company/organization



Required? false

Position? 10

Default value

Accept pipeline input? false

Accept wildcard characters? false



-City <String>

City of a contact at the customer's company/organization



Required? true

Position? 11

Default value

Accept pipeline input? false

Accept wildcard characters? false



-State <String>

State of a contact at the customer's company/organization



Required? true

Position? 12

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PostalCode <String>

Postal/zip code of a contact at the customer's company/organization



Required? true

Position? 13

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Country <String>

Country of a contact at the customer's company/organization



Required? false

Position? 14

Default value US

Accept pipeline input? false

Accept wildcard characters? false



-Culture <String>

The preferred culture for communication and currency, such as "en-us"



Required? false

Position? 15

Default value EN-US

Accept pipeline input? false

Accept wildcard characters? false



-Language <String>

The preferred language for communication



Required? false

Position? 16

Default value En

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$mpcToken = Get-MPCToken -ApplicationID f5e4f291-6e60-48c0-bc2e-e72e9a3a0464 -Credential (Get-Credential)



New-MPCCustomer -CustomerDomainPrefix mydomain -MPCToken $mpcToken.access_token -CompanyName 'My Company'

-FirstName 'John' -LastName 'Doe' `

-Email 'John.Doe@MyAlternateDomain.com -PhoneNumber 5555555555 -AddressLine1 '1 Microsoft Way' -City Redmond

-State WA -PostalCode 98052











RELATED LINKS