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
Usage
m365 pp solution publisher add [options]
Description
Adds the specified publisher to the current environment
Options
-e, --environment <environment>-n, --name <name>--displayName <displayName>--prefix <prefix>--choiceValuePrefix <choiceValuePrefix>--asAdminExamples
Adds the publisher in the environment named Default-d87a7535-dd31-4437-bfe1-95340acd55c5 using the name and the prefix.
Adds the publisher in the environment named Default-d87a7535-dd31-4437-bfe1-95340acd55c5 using the name and the prefix as an administrator.
Additional Info
this can be obtained by executing a post request to the api
dynamicsApiUrl/api/data/v9.0/publishersand passing the following data:friendlynamecustomizationprefix