# Azure Scope

> `UiPath.Azure.Activities.AzureScope`

`UiPath.Azure.Activities.AzureScope`

## Description

Connects to Azure cloud computing service and provides a scope for other Azure activities.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Common

* **DisplayName** - The display name of the activity.

### Input

* **ClientId** - Establishes the client's or application's ID. This field supports only strings and `String` variables.
* **ClientSecret** - Establishes the client's or application's secret. A client's secret is the equivalent of a session authorization token. This field supports only `SecureString` variables.
* **Environment** - Establishes the environment where this activity can take place. It can be Azure Global or any national cloud with a unique and separate environment. The possible values are **Global**, **China**, **Germany**, or **USGovernment**. The default value is `Global`.
* **SubscriptionId** - Establishes the subscription's ID. This field supports only strings and `String` variables.
* **TenantId** - Establishes the tenant's ID. This field supports only strings and `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

## Defining a new Azure Active Directory App Registration

In order to receive all the inputs mentioned above, you need to create a new app registration for your Azure Active Directory. Here are all the steps you need to follow:

1. Open the [Azure Portal](https://portal.azure.com/#home).
2. Select the **Azure Active Directory** option from the right menu.
3. Click on the **App registrations** option, also available on the right side menu.
4. Click on the **New client secret** button for creating a new secret string.
5. Make sure to retrieve your **Application (client) ID** and **Directory (tenant) ID** from the next available screen.
6. From Dashboard, select the **Access control (IAM)** for assigning the app to a Resource Group / Resource via role.
7. The **Subscription ID** is now available and you can extract it.
