< Back

Connect-PartnerCenterAdminAccount

Sun Jan 12, 2020 3:11 pm

NAME Connect-PartnerCenterAdminAccount



SYNOPSIS

This function connects to Partner Center using credentials or a MSPComplete Endpoint.





SYNTAX

Connect-PartnerCenterAdminAccount -username <String> -password <SecureString> -applicationId <Guid> [-outputStream

<String>] [<CommonParameters>]



Connect-PartnerCenterAdminAccount -applicationId <Guid> -applicationSecret <SecureString> -tenantId <Guid>

[-outputStream <String>] [<CommonParameters>]



Connect-PartnerCenterAdminAccount -endpoint <Object> [-outputStream <String>] [<CommonParameters>]





DESCRIPTION

This function connects to Partner Center using credentials or a MSPComplete Endpoint.

It returns whether the connection and logon was successful.

It currently supports either app + user authentication, or app-only authentication.

App + user authentication will be disabled by Microsoft as of 4 February 2019.

After that, only app-only authentication will be allowed.

TODO: RUN-1225 - KB for step-by-step to retrieve web app application ID, application secret, and tenant ID





PARAMETERS

-username <String>

The username of the Partner Center admin account.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-password <SecureString>

The password of the Partner Center admin account.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-applicationId <Guid>

The Partner Center Native App application Id, or the Web App application Id.

The Native App application Id is used when connecting using user credentials,

and the Web App application Id is used when connecting using an application secret.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-applicationSecret <SecureString>

The Partner Center Web App application secret



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-tenantId <Guid>

The Office 365 tenant Id



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-endpoint <Object>

The MSPComplete Endpoint for the Partner Center admin credentials.



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-outputStream <String>

Select the stream where the failure messages will be directed.



Required? false

Position? named

Default value Error

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

System.Boolean







RELATED LINKS