application: setVerifiedPublisher

Namespace: microsoft.graph

Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification.

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Application.ReadWrite.All
Delegated (personal Microsoft account) Not supported
Application Not supported

HTTP request

POST /applications/{id}/setVerifiedPublisher

Request headers

Name Description
Authorization Bearer {token}. Required.
Content-Type application/json. Required.

Request body

In the request body, provide the following required properties.

Property Type Description
verifiedPublisherId string The Microsoft Partner Network ID (MPNID) of the verified publisher to be set on the application, from the publisher's Partner Center account.

Response

If successful, this method returns a 204 No Content response code.

Example

Request

The following is an example of the request.

POST https://graph.microsoft.com/v1.0/applications/{id}/setVerifiedPublisher
Content-type: application/json

{
    "verifiedPublisherId": "1234567"
}

Response

The following is an example of the response.

HTTP/1.1 204 No Content