次の方法で共有


applicationTemplates を一覧表示する

名前空間: microsoft.graph

重要

Microsoft Graph の /beta バージョンの API は変更される可能性があります。 実稼働アプリケーションでこれらの API を使用することは、サポートされていません。 v1.0 で API を使用できるかどうかを確認するには、Version セレクターを使用します。

Microsoft Entra アプリケーション ギャラリーから applicationTemplate オブジェクトの一覧を取得します。 riskScoreriskFactors などのオプションのリスク プロパティの詳細は、Microsoft Entra スイートまたはMicrosoft Entra Internet Access ライセンスで入手できます。

適切なライセンスを持たない要求にリスク プロパティが含まれている場合は、応答で @microsoft.graph.licenseRequired OData 注釈が返されます。

この API は、次の国内クラウド展開で使用できます。

グローバル サービス 米国政府機関 L4 米国政府機関 L5 (DOD) 21Vianet が運営する中国

アクセス許可

この API の最小特権としてマークされているアクセス許可またはアクセス許可を選択します。 アプリで必要な場合にのみ、より高い特権のアクセス許可またはアクセス許可を使用します。 委任されたアクセス許可とアプリケーションのアクセス許可の詳細については、「アクセス許可の種類」を参照してください。 これらのアクセス許可の詳細については、「アクセス許可のリファレンス」を参照してください。

アクセス許可の種類 最小特権アクセス許可 より高い特権のアクセス許可
委任 (職場または学校のアカウント) サポートされていません。 サポートされていません。
委任 (個人用 Microsoft アカウント) サポートされていません。 サポートされていません。
アプリケーション サポートされていません。 サポートされていません。

アプリケーションに Microsoft Graph を呼び出す有効なアクセス トークンがある限り、この API を呼び出すために追加のアクセス許可は必要ありません。

HTTP 要求

GET /applicationTemplates

省略可能なクエリ パラメーター

また、このメソッドは応答をカスタマイズするための一部の OData クエリ パラメーターをサポートします。

  • GET 要求では、 $filter$orderby$top,$skip クエリ パラメーターを使用できます。

一般的な情報については、「OData クエリ パラメーター」を参照してください。

要求ヘッダー

名前 説明
Authorization ベアラー {token}。 必須です。 認証と認可についての詳細をご覧ください。
Prefer: odata.maxpagesize={int-value} 省略可能。 int-value は、クエリ パラメーターが適用されていない場合は最大 2,800 までの数値です。クエリ パラメーターが適用されている場合は最大 200 までです。

要求本文

このメソッドには、要求本文を指定しません。

応答

成功した場合、このメソッドは 200 OK 応答コードと、応答本文の applicationTemplate オブジェクトのコレクションを返します。

例 1: すべてのアプリケーション テンプレートを一覧表示する

次の例は、すべてのアプリケーション テンプレートを取得する方法を示しています。

要求

次の例は要求を示しています。

GET https://graph.microsoft.com/beta/applicationTemplates

応答

次の例は応答を示しています。

注: ここに示す応答オブジェクトは、読みやすさのために短縮されている場合があります。

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=categories,configurationUris",
    "value": [
        {
            "id": "de92ca39-7b85-4b4c-90d8-2885eff5100b",
            "displayName": "LinkedIn Lookup",
            "homePageUrl": "www.linkedin.com",
            "supportedSingleSignOnModes": [
                "saml",
                "external"
            ],
            "supportedProvisioningTypes": [
                "sync"
            ],
            "logoUrl": "https://galleryapplogos1.azureedge.net/app-logo/linkedinlookup_B8D516A4_215.png",
            "categories": [
                "collaboration",
                "social"
            ],
            "publisher": "LinkedIn",
            "deprecationDate": null,
            "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.",
            "endpoints": [
                "linkedin.com",
                "licdn.com",
                "platform-alib.linkedin.cn",
                "platform-akam.linkedin.cn",
                "platform-qtil.linkedin.cn",
                "www.linkedin.com"
            ],
            "lastModifiedDateTime": "2025-08-01T21:05:17.943549Z",
            "isEntraIntegrated": true,
            "informationalUrls": {
                "singleSignOnDocumentationUrl": "https://go.microsoft.com/fwlink/?linkid=847714",
                "appSignUpUrl": null
            },
            "supportedClaimConfiguration": {
                "nameIdPolicyFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
            },
            "configurationUris": [
                {
                    "usage": "identifierUri",
                    "appliesToSingleSignOnMode": "saml",
                    "values": [
                        "https://www.linkedin.com/lookup/*"
                    ],
                    "examples": [
                        "https://www.linkedin.com/lookup/EXAMPLE"
                    ],
                    "isRequired": true
                },
                {
                    "usage": "redirectUri",
                    "appliesToSingleSignOnMode": "saml",
                    "values": [
                        "https://www.linkedin.com/checkpoint/enterprise/*"
                    ],
                    "examples": [
                        "https://www.linkedin.com/checkpoint/enterprise/*"
                    ],
                    "isRequired": true
                }
            ]
        }
    ]
}

例 2: 省略可能なプロパティ (適切なライセンス) を持つすべてのアプリケーション テンプレートを一覧表示する

次の例は、オプションのプロパティを使用してすべてのアプリケーション テンプレートを取得する方法を示しています。

要求

次の例は要求を示しています。

GET https://graph.microsoft.com/beta/applicationTemplates?$select=id,displayName,riskScore,riskFactors

応答

次の例は応答を示しています。

注: ここに示す応答オブジェクトは、読みやすさのために短縮されている場合があります。

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=categories,configurationUris",
    "value": [
        {
            "id": "de92ca39-7b85-4b4c-90d8-2885eff5100b",
            "displayName": "LinkedIn Lookup",
            "riskScore": {
                "total": 9.910557,
                "security": 9.95,
                "provider": 9.611832,
                "compliance": 9.931034,
                "legal": 10.0
            },
            "riskFactors": {
                "general": {
                    "hasDisasterRecoveryPlan": true
                    // ... omitted for brewity
                },
                "security": {
                    "hasMFA": true
                    // ... omitted for brewity
                },
                "compliance": {
                    "cobit": true
                    // ... omitted for brewity
                },
                "legal": {
                    "hasDmca": null
                    // ... omitted for brewity
                }
            }
        }
    ]
}

例 3: 省略可能なプロパティを持つすべてのアプリケーション テンプレートを一覧表示する (適切なライセンスなし)

次の例は、テナントにMicrosoft Entra スイートまたはMicrosoft Entra Internet Accessサブスクリプションがない場合に、省略可能なプロパティを持つすべてのアプリケーション テンプレートを取得する方法を示しています。

要求

次の例は要求を示しています。

GET https://graph.microsoft.com/beta/applicationTemplates?$select=id,displayName,riskScore,riskFactors

応答

次の例は応答を示しています。

注: ここに示す応答オブジェクトは、読みやすさのために短縮されている場合があります。

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=categories,configurationUris",
    "@microsoft.graph.licenseRequired": "An Entra Suite or Entra Internet Access license is required to show riskScore or riskFactors properties. For more info see aka.ms/applicationTemplateEndpointLicensing",
    "value": [
        {
            "id": "de92ca39-7b85-4b4c-90d8-2885eff5100b",
            "displayName": "LinkedIn Lookup",
            "riskScore": null,
            "riskFactors": null
        }
    ]
}

例 4: フィルター処理と順序付けを使用してアプリケーション テンプレートを一覧表示する

次の例は、 contentSharingカテゴリに分類される上位 2 つのアプリケーション テンプレートを、リスク スコア全体で並べ替えて取得する方法を示しています。

要求

次の例は要求を示しています。

GET https://graph.microsoft.com/beta/applicationTemplates?$select=id,displayName,riskScore,categories&$filter=categories/any(c: c eq 'contentSharing')&$top=2&$orderBy=riskScore/total desc

応答

次の例は応答を示しています。

注: ここに示す応答オブジェクトは、読みやすさのために短縮されている場合があります。

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

{
    "@odata.context": "https://graph.microsoft.com/beta/$metadata#applicationTemplates",
    "value": [
        {
            "id": "2af39c45-8bb3-5369-9341-696181ebfa55",
            "displayName": "Contoso network",
            "categories": [
                "contentSharing"
            ],
            "riskScore": {
                "total": 9.610546,
                "security": 9.833333,
                "provider": 9.475291,
                "compliance": 9.923077,
                "legal": 9.142858
            }
        },
        {
            "id": "e0e5def8-f27e-5445-93f3-02ea8733a811",
            "displayName": "Fourth Coffee",
            "categories": [
                "contentSharing"
            ],
            "riskScore": {
                "total": 8.562663,
                "security": 8.266666,
                "provider": 8.833883,
                "compliance": 8.142858,
                "legal": 9.142858
            }
        }
    ]
}