# Azure DevOps Services Git

{% stepper %}
{% step %}

### Personal Access Token (PAT)

Personal Access Token is required to authenticate and authorize API requests to Azure DevOps Services.\
To create a Personal Access Token:

* Login to your Azure DevOps account.
* Go to User Settings then Personal Access Tokens then click New Token.
* Set a descriptive Name and an appropriate Expiration date.
* Select the required Organization.
* Under Scopes, choose Custom defined and ensure the following permissions are granted: Code (Read) — to list repositories and read commit data. Project and Team (Read) — to retrieve project metadata. User Profile (Read) — to access identity information.
* Click Create and securely copy the generated token.

{% hint style="info" %}
**Code (Read)** — to list repositories and read commit data.\
**Project and Team (Read)** — to retrieve project metadata.\
**User Profile (Read)** — to access identity information.
{% endhint %}

{% hint style="warning" %}
The token owner must have at least "Basic Read" access to the Azure DevOps project and repository.
{% endhint %}
{% endstep %}

{% step %}

### Organization Name

The name of your Azure DevOps organization. You can find it in the URL of your DevOps portal:\
Example: <https://dev.azure.com/your\\_organization\\_name/>
{% endstep %}

{% step %}

### Is Secure

This optional field defines whether the connection uses secure protocol. It should be set to true for all Azure DevOps Service connections (HTTPS).
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
Please perform a connection test to ensure there is a valid connection to the host.\
When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}
