メインコンテンツまでスキップ

List the tenant's SharePoint sites and turn on full sync.

POST/api/v1/sharepoint-sites/{sharepoint_site_id}/discover-tenant-sitesconnectors:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Lists one page of the tenant's sites the app registration can read, and records that the site has full Graph access (enable_full_sync).

スコープconnectors:write (機密性の高いスコープ)
非同期いいえ
MCP ツールdiscover_sharepoint_site_tenant_sites
Portal の権限trigger_sharepoint_discovery, edit_sharepoint_sites

パラメーター​

名前場所型必須説明
sharepoint_site_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonSharePointTenantSitesRequestInput

応答​

ステータス説明本文
200Success.application/json SharePointTenantSites または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

SharePointTenantSite​

フィールド型必須説明
display_namestring必須
graph_sitestring必須
web_urlstring必須

SharePointTenantSites​

フィールド型必須説明
enable_full_syncboolean必須
has_moreboolean必須
next_page_tokenstring または null必須
sharepoint_site_idstring必須
sitesSharePointTenantSite の配列必須

SharePointTenantSitesRequestInput​

フィールド型必須説明
page_tokenstring または null任意The next_page_token of the previous page.