Skip to content

Add PpePublisher

FH-Inway edited this page Sep 17, 2026 · 1 revision

external help file: d365bap.tools-help.xml Module Name: d365bap.tools online version: schema: 2.0.0

Add-PpePublisher

SYNOPSIS

Add a publisher to a Power Platform environment.

SYNTAX

Add-PpePublisher [-EnvironmentId] <String> [-UniqueName] <String> [-FriendlyName] <String> [-Prefix] <String>
 [[-OptionValuePrefix] <Int32>] [[-Description] <String>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

Creates a new Dataverse publisher (publishers) with the bare minimum of required fields.

Requires the unique name, display name, customization prefix and option value prefix. The option value prefix defaults to a random value between 10000 and 99999 when omitted.

EXAMPLES

EXAMPLE 1

Add-PpePublisher -EnvironmentId "eec2c11a-a4c7-4e1d-b8ed-f62acc9c74c6" -UniqueName "contoso" -FriendlyName "Contoso" -Prefix "cont"

This will create the "Contoso" publisher with the prefix "cont" and a random option value prefix.

EXAMPLE 2

Add-PpePublisher -EnvironmentId "eec2c11a-a4c7-4e1d-b8ed-f62acc9c74c6" -UniqueName "contoso" -FriendlyName "Contoso" -Prefix "cont" -OptionValuePrefix 12345 -Description "Contoso publisher"

This will create the "Contoso" publisher with full details.

PARAMETERS

-EnvironmentId

The id of the environment that you want to work against.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UniqueName

The unique name of the publisher. Must be unique across the environment.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FriendlyName

The display / friendly name of the publisher.

Type: String
Parameter Sets: (All)
Aliases: DisplayName

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Prefix

The customization prefix used for new entities, attributes and relationships for solutions associated with this publisher.

Type: String
Parameter Sets: (All)
Aliases: CustomizationPrefix

Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OptionValuePrefix

The default option value prefix used for newly created options for solutions associated with this publisher.

Must be between 10000 and 99999. Defaults to a random value in that range when omitted.

Type: Int32
Parameter Sets: (All)
Aliases: CustomizationOptionValuePrefix

Required: False
Position: 5
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Description

An optional description of the publisher.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Object[]

NOTES

Author: Mötz Jensen (@Splaxi)

RELATED LINKS

Clone this wiki locally