編輯

共用方式為


List applicationTemplates

Namespace: microsoft.graph

Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.

This API is available in the following national cloud deployments.

Global service US Government L4 US Government L5 (DOD) China operated by 21Vianet

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) Not supported. Not supported.
Delegated (personal Microsoft account) Not supported. Not supported.
Application Not supported. Not supported.

Additional permissions aren't required to call this API, as long as your application has a valid access token to call Microsoft Graph.

HTTP request

GET /applicationTemplates

Optional query parameters

This method supports some of the OData query parameters to help customize the response.

  • You can use the $filter parameter in a limited way. You can only filter by displayName or categories. For example, $filter=contains(displayName, 'salesf') or $filter=categories/any(c:contains(c, 'myCategory')).
  • You can use $orderby, $top, and $skip query parameters in any GET request.

For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a collection of applicationTemplate objects in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/v1.0/applicationTemplates

Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-type: application/json

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#applicationTemplates",
    "@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET applicationTemplates?$select=categories,description",
    "value": [
        {
            "id": "00000007-0000-0000-c000-000000000000",
            "displayName": "Dynamics CRM Online",
            "homePageUrl": "http://www.microsoft.com/dynamics/crm",
            "supportedSingleSignOnModes": [
                "oidc",
                "external"
            ],
            "supportedProvisioningTypes": [],
            "logoUrl": "https://az495088.vo.msecnd.net/app-logo/crm_215.png",
            "categories": [
                "crm",
                "productivity",
                "collaboration",
                "businessMgmt"
            ],
            "publisher": "Microsoft Corporation",
            "description": null
        }
    ]
}