> For the complete documentation index, see [llms.txt](https://docs.allganize.ai/alliyzgaido/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.allganize.ai/alliyzgaido/knowledge-base/source/connect-sharepoint.md).

# SharePointを接続する

Alliを利用すると、SharePointからファイルのインデックスを自動的に作成することができます。これはナレッジベースを最新状態に保つ理想的な方法です。

## Q\&AでSharePointに接続する <a href="#connect-to-sharepoint-in-answerbot" id="connect-to-sharepoint-in-answerbot"></a>

1. ナレッジベースを開きます
2. \[ソース] タブをクリックします
3. \[接続] をクリックします
4. Microsoftアカウントにログインします。Alliは組織と関連するMicrosoftアカウントとのみ統合できます。個人のMicrosoftアカウントは統合できません。これはMicrosoftのAPIに関する制限によるものです。

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/05/sharepoint1-1.png?resize=800%2C308&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

## ドキュメント検索でSharePointに接続する <a href="#connect-to-sharepoint-in-cognitive-search" id="connect-to-sharepoint-in-cognitive-search"></a>

1. ソースメニューを開きます
2. \[接続] をクリックします
3. Microsoftアカウントにログインします。Alliは組織と関連するMicrosoftアカウントとのみ統合できます。個人のMicrosoftアカウントは統合できません。これはMicrosoftのAPIに関する制限によるものです。

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/05/sharepoint2-2.png?resize=800%2C331&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

## インデックスの構成と実行 <a href="#configure-and-run-indexing" id="configure-and-run-indexing"></a>

Q\&Aとドキュメントのどちらのインデックス作成を希望するかに応じて対応するタブに移動し、\[編集] をクリックしてインデックス作成設定を構成します。

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/05/sharepoint3-1.png?resize=800%2C362&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

ここでは、インデックス作成を行うファイルタイプとファイルパスを設定することができます。インデックスが作成されたファイルは、Q\&Aまたはドキュメントにアップロードされます。既定では、Alliは既定サイトからのインデックス作成のみを行います。また、追加のカスタムサイトをインデックス作成のために追加することもできます。これはサイトの検索を行いそれを追加するだけで済みます。カスタムサイトを追加した後は、サイトのパスも設定することを忘れないでください。すべてが済んだら右下の \[送信] ボタンをクリックして変更内容を保存します。

Q\&Aのインデックス構成

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/05/sharepoint5.png?resize=800%2C666&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

ドキュメントのカスタムサイトを使ったインデックス作成の構成

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/05/sharepoint6.png?resize=780%2C840&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

インデックス設定の構成が済んだら、インデックス作成を手動で行うか、または日次のスケジュールされたインデックス作成を有効にするかのいずれかを選ぶことができ、Alliは毎日自動的にインデックスを行います。スケジュールされたインデックス作成は、プロジェクト時間で毎日0時に行われます。

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/05/sharepoint7.png?resize=800%2C363&#x26;ssl=1" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.allganize.ai/alliyzgaido/knowledge-base/source/connect-sharepoint.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
