{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-sharepoint-settings-schema.json",
  "title": "microsoft.graph.sharepointSettings",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-admin-sharepoint-api-openapi.yml#/components/schemas/microsoft.graph.sharepointSettings",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "sharepointSettings",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "allowedDomainGuidsForSyncApp": {
          "type": "array",
          "items": {
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          },
          "description": "Collection of trusted domain GUIDs for the OneDrive sync app."
        },
        "availableManagedPathsForSiteCreation": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Collection of managed paths available for site creation. Read-only."
        },
        "deletedUserPersonalSiteRetentionPeriodInDays": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "The number of days for preserving a deleted user's OneDrive.",
          "format": "int32"
        },
        "excludedFileExtensionsForSyncApp": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Collection of file extensions not uploaded by the OneDrive sync app."
        },
        "idleSessionSignOut": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.idleSessionSignOut"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Specifies the idle session sign-out policies for the tenant."
        },
        "imageTaggingOption": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.imageTaggingChoice"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Specifies the image tagging option for the tenant. The possible values are: disabled, basic, enhanced."
        },
        "isCommentingOnSitePagesEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether comments are allowed on modern site pages in SharePoint."
        },
        "isFileActivityNotificationEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether push notifications are enabled for OneDrive events."
        },
        "isLegacyAuthProtocolsEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether legacy authentication protocols are enabled for the tenant."
        },
        "isLoopEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether if Fluid Framework is allowed on SharePoint sites."
        },
        "isMacSyncAppEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether files can be synced using the OneDrive sync app for Mac."
        },
        "isRequireAcceptingUserToMatchInvitedUserEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether guests must sign in using the same account to which sharing invitations are sent."
        },
        "isResharingByExternalUsersEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether guests are allowed to reshare files, folders, and sites they don't own."
        },
        "isSharePointMobileNotificationEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether mobile push notifications are enabled for SharePoint."
        },
        "isSharePointNewsfeedEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the newsfeed is allowed on the modern site pages in SharePoint."
        },
        "isSiteCreationEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether users are allowed to create sites."
        },
        "isSiteCreationUIEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the UI commands for creating sites are shown."
        },
        "isSitePagesCreationEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether creating new modern pages is allowed on SharePoint sites."
        },
        "isSitesStorageLimitAutomatic": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether site storage space is automatically managed or if specific storage limits are set per site."
        },
        "isSyncButtonHiddenOnPersonalSite": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the sync button in OneDrive is hidden."
        },
        "isUnmanagedSyncAppForTenantRestricted": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether users are allowed to sync files only on PCs joined to specific domains."
        },
        "personalSiteDefaultStorageLimitInMB": {
          "type": [
            "number",
            "null"
          ],
          "description": "The default OneDrive storage limit for all new and existing users who are assigned a qualifying license. Measured in megabytes (MB).",
          "format": "int64"
        },
        "sharingAllowedDomainList": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Collection of email domains that are allowed for sharing outside the organization."
        },
        "sharingBlockedDomainList": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Collection of email domains that are blocked for sharing outside the organization."
        },
        "sharingCapability": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.sharingCapabilities"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Sharing capability for the tenant. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly."
        },
        "sharingDomainRestrictionMode": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.sharingDomainRestrictionMode"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Specifies the external sharing mode for domains. The possible values are: none, allowList, blockList."
        },
        "siteCreationDefaultManagedPath": {
          "type": "string",
          "description": "The value of the team site managed path. This is the path under which new team sites will be created."
        },
        "siteCreationDefaultStorageLimitInMB": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "The default storage quota for a new site upon creation. Measured in megabytes (MB).",
          "format": "int32"
        },
        "tenantDefaultTimezone": {
          "type": [
            "string",
            "null"
          ],
          "description": "The default timezone of a tenant for newly created sites. For a list of possible values, see SPRegionalSettings.TimeZones property."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.sharepointSettings",
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.idleSessionSignOut": {
      "title": "idleSessionSignOut",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "isEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the idle session sign-out policy is enabled."
        },
        "signOutAfterInSeconds": {
          "type": [
            "number",
            "null"
          ],
          "description": "Number of seconds of inactivity after which a user is signed out.",
          "format": "int64"
        },
        "warnAfterInSeconds": {
          "type": [
            "number",
            "null"
          ],
          "description": "Number of seconds of inactivity after which a user is notified that they'll be signed out.",
          "format": "int64"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.imageTaggingChoice": {
      "title": "imageTaggingChoice",
      "enum": [
        "disabled",
        "basic",
        "enhanced",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.sharingCapabilities": {
      "title": "sharingCapabilities",
      "enum": [
        "disabled",
        "externalUserSharingOnly",
        "externalUserAndGuestSharing",
        "existingExternalUserSharingOnly",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.sharingDomainRestrictionMode": {
      "title": "sharingDomainRestrictionMode",
      "enum": [
        "none",
        "allowList",
        "blockList",
        "unknownFutureValue"
      ],
      "type": "string"
    }
  }
}