> 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-projects-to-aikido.md).

# Azure DevOps Projectsを接続する

Aikido を使用すると、Azure DevOps のプロジェクトを接続してコードを保護できます。Azure DevOps のプロジェクトを 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 で認証が完了したら、以下のようにページで「Azure に接続」を選択してください。

![リポジトリ統合オプション：GitHub、Azure DevOps、GitLab、または Bitbucket に接続します。](/files/2bcd4da65ac82106883496aedc86349d6f34542a)

**手順 3。** 接続したい Azure DevOps プロジェクトの詳細を入力してください。必要な情報の取得方法は、すぐ下で説明します。

![Aikido のオンボーディング：Azure DevOps の詳細を入力して認証し、プロジェクトを接続します。](/files/ec912bcb362813c91d25581c7bd034fe13beb28f)

### 組織名を入力してください <a href="#insert-your-organizations-name" id="insert-your-organizations-name"></a>

接続したい Azure DevOps 組織の名前を入力してください。この名前は次の場所で確認できます。 [https://dev.azure.com](https://dev.azure.com/) そして左側のナビゲーションからコピーしてください。

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

{% hint style="info" %}
DevOps チームのメンバーとして EntraID グループを使用している場合は、このトークンを生成するユーザーに Entra 読み取り権限があることを確認してください。
{% endhint %}

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

* Azure DevOps アカウントにログインしてください
* 右上隅で、アバターの横にあるユーザー設定アイコンをクリックします。次のように表示されます：

  ![アカウント管理オプション用の設定ギアが付いたユーザープロフィールアイコン。](/files/8499adb963c44e85c9d486ecdbc180032293bac1)
* 次を選択します **Personal Access Token** ドロップダウン内で。
* 次をクリックします **+New Token** 左上隅のボタン
* トークン名を入力します。例: 'Aikido Security Access Token'
* 前の手順で入力したものと同じ組織を選択してください
* 有効期限は必ず将来の日付を選択してください。最大でも 1 年です。
* 次に、以下のスコープを選択する必要があります（'show all scopes' をクリックしてください）:
  * **Code: Read**
  * **Member Entitlement Management: Read**
  * **Project and Team: Read**
  * **User Profile: Read**
* 次をクリックします： **作成** 下部のボタン。

![カスタム定義のコード読み取り権限を持つ Azure DevOps 個人用アクセス トークンを編集しています。](/files/e0ca6afc984b755b251908582d4023989616e1b1)

* 次の画面に表示されるトークンをコピーし、入力欄に入力してください。

**重要**：続行をクリックすると、トークンの値は表示できなくなります。先にコピーしたことを確認してください。

Aikido が Azure DevOps 組織への接続を確認します。接続に失敗した場合は、入力した組織名と個人アクセストークンを再確認してください。

### 保護したいプロジェクトとリポジトリを選択します <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-projects-to-aikido.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.
