次の方法で共有


applicationTemplates を一覧表示する

名前空間: microsoft.graph

重要

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

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

この 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",
            "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",
            "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: フィルター処理と順序付けを使用してアプリケーション テンプレートを一覧表示する

この例では、"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
            }
        }
    ]
}