編輯

共用方式為


List applicationTemplates

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

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/beta/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/beta/$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=appCategory,categories",
  "value": [
    {
      "id": "006a06ef-9160-42cd-88bf-17a7588fc844",
      "displayName": "LinkedIn Lookup",
      "homePageUrl": "www.linkedin.com",
      "supportedSingleSignOnModes": [
        "SAML",
        "Password"
      ],
      "supportedProvisioningTypes": [],
      "logoUrl": "https://images.microsoft.com",
      "categories": [
        "collaboration",
        "social"
      ],
      "publisher": "LinkedIn",
      "description": "LinkedIn Lookup is the easiest way to find coworkers and teams at your company. Lookup is a new people search tool that combines employees' LinkedIn profile information and Active Directory information, allowing you to quickly find and contact your coworkers, on desktop or mobile. Requires an existing Lookup company subscription.",
      "supportedClaimConfiguration": {
        "requiredClaims": [
          {
            "id": "first_name",
            "namespace": "",
            "source": "user",
            "attribute": "firstname"
          },
          {
            "id": "last_name",
            "namespace": "",
            "source": "user",
            "attribute": "surname"
          },
          {
            "id": "email_address",
            "namespace": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/",
            "source": "user",
            "attribute": "mail"
          }
        ],
        "groupMembershipClaims": "securityGroup",
        "nameIdPolicyFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
      },
      "informationalUrls": {
        "singleSignOnDocumentationUrl": "https://go.microsoft.com/fwlink/?linkid=847714",
        "provisioningDocumentationUrl": null,
        "appSignUpUrl": null
      },
      "configurationUris": [
        {
          "usage": "redirectUri",
          "examples": [
            "https://www.linkedin.com/checkpoint/enterprise/<SUBDOMAIN>"
          ],
          "values": [
            "https://www.linkedin.com/checkpoint/enterprise/*"
          ],
          "isRequired": false,
          "appliesToSingleSignOnMode": "saml"
        },
        {
          "usage": "identifierUri",
          "examples": null,
          "values": [
            "linkedinlookup/primary",
            "https://www.linkedin.com/lookup/*"
          ],
          "isRequired": true,
          "appliesToSingleSignOnMode": "saml"
        }
      ]
    }
  ]
}