> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/kdosukyan/connect-your-source-code/connect-azure-devops-self-managed-server.md).

# Azure DevOps Self-Managed サーバーを接続する

Aikido を使うと、Azure DevOps Self-Managed サーバー インスタンスを接続してコードを保護できます。Azure DevOps Self-Managed プロジェクトを Aikido に接続するには、次の手順に従ってください。

1つ以上のリポジトリを持つ各 Azure プロジェクトは、1つの Aikido ワークスペースに対応します。

### 認証するには Microsoft / Office 365 または Google を選択してください <a href="#select-microsoft--office-365-or-google-to-authenticate" id="select-microsoft--office-365-or-google-to-authenticate"></a>

**ステップ1。** Azure DevOps プロジェクトを接続するには、まず Microsoft / Office 365 または Google 経由で認証し、Aikido にユーザーを作成する必要があります。で [サインアップ画面](https://app.aikido.dev/login)、'Microsoft / Google' をクリックして続行してください。

> 組織の Microsoft Entra 設定によっては、Aikido アプリケーションを承認するために IT 管理者の承認が必要になる場合があります。 [承認プロセスの詳細については、Azure のドキュメントを確認してください。](https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/grant-admin-consent?pivots=portal)

**ステップ2。** Google/Microsoft 経由で認証したら、ページで 'Connect Azure' を選択します。

<figure><img src="/files/7969fc373134cd909d2a905f6236ee183e8fb786" alt=""><figcaption><p>Azure DevOps サーバーに接続するには、Self-Managed オプションを選択してください。</p></figcaption></figure>

**ステップ3。** 選択した Azure DevOps プロジェクトに接続するための詳細を入力します。必要な情報の取得方法については、次のセクションで説明します。

<figure><img src="/files/f82d9badb7cfdb801c500a67b521b3555e8f2de6" alt=""><figcaption></figcaption></figure>

### コレクション名を入力してください <a href="#insert-your-organizations-name" id="insert-your-organizations-name"></a>

接続したい Azure DevOps のコレクション/組織の名前を入力します。この名前は、セルフマネージド サーバー インスタンスに移動し、左側のナビゲーションからコピーすることで見つけられます。

### Personal Access Token を作成する <a href="#create-a-personal-access-token" id="create-a-personal-access-token"></a>

{% hint style="info" %}
トークンの所有者には、少なくとも Project Collection Administrator のアクセス権が必要です。
{% endhint %}

次に、必要なリソースへのアクセス権を付与するために、Personal Access Token を作成する必要があります。

1. Azure DevOps Self-Managed インスタンスにログインしてください
2. 右上隅でユーザーのアバターをクリックします。次の画像のようなドロップダウンが表示されます：\
   \
   ![](/files/54d50bef90ac4bbd2a66f268626873bb55937143)
3. 選択します **セキュリティ** ドロップダウン内で。
4. その後、左側で選択します **個人用アクセストークン**
5. 次をクリックします **+新しいトークン** 右上隅のボタン
6. トークンの名前を入力します。例: 'Aikido Security Access Token'
7. 前の手順で入力したものと同じ組織/コレクションを必ず選択してください
8. 必ず将来の日付の有効期限を選択してください。最大で1年です。
9. 次に、次のスコープが選択されている必要があります（'すべてのスコープを表示' をクリックしてください）：
   * **コード: 読み取り**
   * **メンバーの権限管理: 読み取り**
   * **プロジェクトとチーム: 読み取り**
   * **ユーザープロファイル: 読み取り**
10. 次をクリックします】【： **作成** 下部のボタン。

![カスタム定義のコード読み取り権限を使用して Azure DevOps の Personal Access Token を編集しています。](/files/e0ca6afc984b755b251908582d4023989616e1b1)

11. 次の画面に表示されるトークンをコピーし、入力フィールドに入力してください。

**重要**: 続行をクリックすると、トークンの値は表示できなくなります。必ず最初にコピーしてください。

Aikido が Azure DevOps インスタンスへの接続を確認しています。接続に失敗した場合は、入力した組織名と Personal Access Token を再確認してください。

### 保護したいプロジェクトとリポジトリを選択してください <a href="#select-the-project-and-repos-youd-like-to-secure" id="select-the-project-and-repos-youd-like-to-secure"></a>

次の画面では、最初に始めるプロジェクトを選択できます。後からいつでも、さらに多くのプロジェクトを Aikido に接続できます。

最終ステップでは、監視対象にしたいリポジトリをすべて選択します。

#### TFVC リポジトリに関する特記事項

Aikido は、Git と Team Foundation Version Control (TFVC) の両方のリポジトリとの統合をサポートしています。

* TFVC リポジトリについては、Aikido はシークレットスキャンを実行しません。
* 既定では、Aikido は TFVC リポジトリの 'All Branches' をスキャンしようとします。これにより、スキャン速度が遅くなる場合があります。 **実際のスキャン対象ブランチを選択することをお勧めします。** これは、リポジトリ詳細ページのブランチラベルをクリックして変更できます。

<figure><img src="/files/f54378bd6f822d7afecdd92a699d00d389b96fec" 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://help.aikido.dev/docs/docs-ja/kdosukyan/connect-your-source-code/connect-azure-devops-self-managed-server.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.
