# Azure Scope

> Properties and configuration for the Azure Scope activity, which connects to Azure cloud computing service and provides a scope for other Azure activities.

`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

To receive all the inputs mentioned above, create a new app registration for your Azure Active Directory:

1. Open the [Azure Portal](https://portal.azure.com/#home).
2. Select the **Azure Active Directory** option from the right menu.
3. Select **App registrations** from the right side menu.
4. Select **New client secret** to create a new secret string.
5. Retrieve your **Application (client) ID** and **Directory (tenant) ID** from the next available screen.
6. From the dashboard, select **Access control (IAM)** to assign the app to a Resource Group / Resource through a role.
7. Extract the **Subscription ID**.
