Set-EntraApplicationVerifiedPublisher

Sets the verified publisher of an application to a verified Microsoft Partner Network (MPN) identifier.

Syntax

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'
$app = Get-EntraApplication -Filter "DisplayName eq '<application-display-name>'"
$appObjId = $app.ObjectId
$mpnId =  '0433167'
$req =  @{verifiedPublisherId = $mpnId}
$params = @{
     AppObjectId = $appObjId
     SetVerifiedPublisherRequest = $req
}
Set-EntraApplicationVerifiedPublisher @params

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.

  • -AppObjectId parameter specifies the unique identifier of a Microsoft Entra ID Application.
  • -SetVerifiedPublisherRequest parameter 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.

Type:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-SetVerifiedPublisherRequest

A request body object containing the verifiedPublisherId property it's the MPNID value.

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

Inputs

String