# License Activation

Activate license to start using the product.

For connected scenario, please proceed with the steps below for activation. For disconnected scenario, go to [Offline Activation](https://docs.cloudassert.com/azure-stack-hub-multi-stamp-management/installation/deployment/license-activation/offline-activation).&#x20;

## Resource Provider VM

1. Go to **Tenant Portal** -> **All Resources** -> **VConnectVM1000** -> **Overview** -> **DNS Name** (last item)
2. Copy the value and remote into this resource provider VM&#x20;
3. **User name:** vconnectrpadmin, **Password:** as specified in the previous installation step&#x20;
4. Open a **new** elevated (administrative) PowerShell console and change to the directory:  “C:\CloudAssert”.&#x20;
5. Run **ActivateLicense.ps1** script and specify the required parameters.

{% hint style="info" %}
The Billing license key and billing email id needs to specified only if *-SetupBillingAndDacm* parameter is set to **$True** while [Installing VConnect RP](https://docs.cloudassert.com/azure-stack-hub-multi-stamp-management/installation/deployment/installation)
{% endhint %}

| Parameter name        | Description                                       |            |
| --------------------- | ------------------------------------------------- | ---------- |
| **LicenseKey**        | Unique identifier of the License for VConnect     | *Required* |
| **EmailId**           | Email Id that is mapped with the VConnect License | *Required* |
| **BillingLicenseKey** | Unique identifier of the License for Billing API  | *Optional* |
| **BillingEmailId**    | Email Id that is mapped with the Billing License  | *Optional* |

```
.\ActivateLicense.ps1 -LicenseKey '09c3404b-edb9-4782-babc-99f42534b51b' -EmailId 'admin@cloudassert.com' -BillingLicenseKey 'd9bb5565-08e2-4601-ac46-f70ec55b1e8f' -BillingEmailId 'admin@cloudassert.com'
```

![](https://2459906120-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6voWNOkQYKxJnx1zI4%2F-MDx9764JJiI_pdiBDA3%2F-MDx9EO6VrDdWJLBw1gF%2Factivate%20license.png?alt=media\&token=a7b7ff7b-bc81-4ecf-82a5-fb2d8f053056)

6\. In Admin Portal, click **All Services** -> **VConnect -> License** blade to see the licensed features and quotas

![](https://2459906120-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6voWNOkQYKxJnx1zI4%2F-M7u4CuEf1MH8k1GGSTf%2F-M7uE50YMWv4EUv2V_2T%2Fimage.png?alt=media\&token=58784139-105f-44e4-9013-49587b3135bd)
