Skip to content

New command: pp solution publisher add #3977

@nicodecleyre

Description

@nicodecleyre

Usage

m365 pp solution publisher add [options]

Description

Adds the specified publisher to the current environment

Options

Option Description
-e, --environment <environment> The name of the environment.
-n, --name <name> The name of the publisher.
--displayName <displayName> The display name of the publisher.
--prefix <prefix> The prefix of the publisher.
--choiceValuePrefix <choiceValuePrefix> The choice value prefix of the publisher.
--asAdmin Run the command as admin for environments you are not a member of

Examples

Adds the publisher in the environment named Default-d87a7535-dd31-4437-bfe1-95340acd55c5 using the name and the prefix.

m365 pp solution publisher add --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name Contoso --displayName Contoso --prefix new --choiceValuePrefix 10000

Adds the publisher in the environment named Default-d87a7535-dd31-4437-bfe1-95340acd55c5 using the name and the prefix as an administrator.

m365 pp solution publisher add --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name Contoso --displayName Contoso --prefix new --choiceValuePrefix 10000 --asAdmin

Additional Info

this can be obtained by executing a post request to the api dynamicsApiUrl/api/data/v9.0/publishers and passing the following data:
friendlyname
customizationprefix

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions