Set-EntraApplicationVerifiedPublisher
Sets the verified publisher of an application to a verified Microsoft Partner Network (MPN) identifier.
Syntax
Default (Default)
Set-EntraApplicationVerifiedPublisher
-AppObjectId <String>
-SetVerifiedPublisherRequest <SetVerifiedPublisherRequest>
[<CommonParameters>]
Description
Sets the verified publisher of an application to a verified Microsoft Partner Network (MPN) identifier.
Examples
Example 1: Set the verified publisher of an application
Connect-Entra -Scopes 'Application.ReadWrite.All'
$application = Get-EntraApplication -Filter "DisplayName eq 'Contoso Helpdesk Application'"
$mpnId = '0433167'
$req = @{verifiedPublisherId = $mpnId}
Set-EntraApplicationVerifiedPublisher -AppObjectId $application.Id -SetVerifiedPublisherRequest $req
This command sets the verified publisher of an application.
The Microsoft Partner Network ID (MPNID) of the verified publisher can be obtained from the publisher's Partner Center account.
-AppObjectIdparameter specifies the unique identifier of a Microsoft Entra ID Application.-SetVerifiedPublisherRequestparameter specifies the request body object containing the verifiedPublisherId property with it's the MPNID value.
Parameters
-AppObjectId
The unique identifier of a Microsoft Entra ID Application object.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | ApplicationId, ObjectId |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-SetVerifiedPublisherRequest
A request body object containing the verifiedPublisherId property it's the MPNID value.
Parameter properties
| Type: | SetVerifiedPublisherRequest |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.