> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/org/collab/list-sharepoint-sitecollection-permission.md).

# SharePoint サイト コレクションのアクセス許可を一覧表示

SharePoint サイトの管理者とメンバーを一覧表示

### 説明

SharePoint Online サイト コレクションへのアクセス権を持つユーザーを表示します。対象はサイト コレクションの管理者と、Owners、Members、Visitors グループのメンバーです。各エントリには、その種類としてユーザー、Entra ID グループ、Security Group、または SharePoint グループが表示されます。変更はありません。

### パラメーターの動作

* `SiteUrl` サイト コレクションのルートを指している必要があります（たとえば `https://contoso.sharepoint.com/sites/marketing`）、サブサイトではありません。サブサイトの URL でも結果は返りますが、その内容は親サイト コレクションを示します。この場合、runbook は警告をログに記録します。
* Owners、Members、Visitors グループは、ローカライズされたグループ名の照合ではなく、サイトの関連グループ プロパティを通じて解決されるため、Tenant の言語に関係なくレポートは正確です。3 つのグループのいずれかが存在しない場合（Teams に接続されたサイトではよくあります）、失敗の原因にはならず "not configured" として報告されます。

### 場所

Organization → Collab → SharePoint サイト コレクションのアクセス許可を一覧表示

**完全な Runbook 名**

rjgit-org\_collab\_list-sharepoint-sitecollection-permission

### 詳細

| プロパティ    | 値                                                                       |
| -------- | ----------------------------------------------------------------------- |
| バージョン    | 1.2.0                                                                   |
| 必須モジュール  | <p>RealmJoin.RunbookHelper (>= 0.8.10)<br>PnP.PowerShell (>= 3.4.1)</p> |
| スケジュール可能 | いいえ                                                                     |

### 権限

#### アプリケーションのアクセス許可

* **種類**: Office 365 SharePoint Online
  * Sites.FullControl.All
    * *Connect-PnPOnline -ManagedIdentity を使用して接続し、対象のサイト コレクションに対して Get-PnPWeb、Get-PnPSite、Get-PnPSiteCollectionAdmin、Get-PnPGroupMember を呼び出します。特に Get-PnPSiteCollectionAdmin には読み取り専用のサイト アクセスよりも高い権限が必要なため、Sites.Read.All では不十分です。Sites.Selected を使用していないのは、サイトごとの同意をこの runbook の制御外で事前に付与する必要があり、この runbook では任意の $SiteUrl に対してそれを保証できないためです。*

#### アクセス許可に関する注意

Office 365 SharePoint Online API (App ID 00000003-0000-0ff1-ce00-000000000000) 上の 'Sites.FullControl.All' アプリケーション アクセス許可に対する管理者の同意を、Azure Automation アカウントのシステム割り当てマネージド ID に付与します。この SharePoint の app-only-via-managed-identity による同意は、Graph のアクセス許可に使用される標準の Microsoft Graph のアプリ ロール自動化では割り当てられません。割り当てコマンドについては runbook のドキュメント ファイルを参照してください。

### パラメーター

#### SiteUrl

サイトの完全な URL。たとえば <https://contoso.sharepoint.com/sites/marketing。>

| プロパティ   | 値              |
| ------- | -------------- |
| 必須      | true           |
| 既定値     |                |
| 種類      | 文字列            |
| ポータル表示名 | サイト コレクション URL |

[Runbook リファレンスの概要に戻る](/ja/zi-dong-hua/runbooks/runbook-references.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/org/collab/list-sharepoint-sitecollection-permission.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
