{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-identity-provider-schema.json",
  "title": "microsoft.graph.identityProvider",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-identity-b2xidentityuserflow-api-openapi.yml#/components/schemas/microsoft.graph.identityProvider",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "identityProvider",
      "type": "object",
      "properties": {
        "clientId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The client ID for the application. This is the client ID obtained when registering the application with the identity provider. Required. Not nullable."
        },
        "clientSecret": {
          "type": [
            "string",
            "null"
          ],
          "description": "The client secret for the application. This is the client secret obtained when registering the application with the identity provider. This is write-only. A read operation will return .  Required. Not nullable."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the identity provider. Not nullable."
        },
        "type": {
          "type": [
            "string",
            "null"
          ],
          "description": "The identity provider type is a required field. For B2B scenario: Google, Facebook. For B2C scenario: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo, QQ, WeChat, OpenIDConnect. Not nullable."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  ],
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  }
}