# Update VConnect Resource Provider With Billing Details

In case VConnect resource provider for Multi-Stamp Management is deployed prior to deploying the Billing resource provider, the following steps must be done once the [License Activation](https://docs.cloudassert.com/azure-stack-billing/2012.2/installation/deployment/license-activation) steps are performed.

## VCONNECT RESOURCE PROVIDER VM

Login to the machine from where the  Billing resource provider was installed.

1. Navigate to 'C:\CloudAssert\BillingRP' folder.
2. Copy 'Utility' folder.

![](https://3130493565-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnRvmq3Z7NHbI7KSziq%2F-MBcI03A7GJRS4XTog-7%2F-MBcYkMTwHizleC_y5JS%2FUpdateVConnect.png?alt=media\&token=a7b81055-025c-4e95-a52a-ab2cb269f301)

3\. Open the VConnect resource provider VM.

4\. Paste the folder in the desktop.

5\. Open an elevated PowerShell window and navigate it inside the 'Utility' folder.

6\. Run the 'UpdateVConnectWithBillingSettings.ps1' file by providing the Billing API password that was used in [Install Billing Resource Provider](https://docs.cloudassert.com/azure-stack-billing/2012.2/installation/deployment/installation).

| Parameter Name      | Description                                         | Required |
| ------------------- | --------------------------------------------------- | -------- |
| BillingApiPassword  | The password used for accessing Billing API service | Required |
| VConnectApiUrl      | VConnect API service URL (https:\\\localhost:44305) | Optional |
| VConnectApiUser     | VConnect API Service user (cloudassertadminuser)    | Optional |
| VConnectApiPassword | VConnect API Service password.                      | Optional |

```
.\UpdateVConnectWithBillingSettings.ps1 -BillingApiPassword 'fill-here'

E.G.:
.\UpdateVConnectWithBillingSettings.ps1 -BillingApiPassword 'TestP@ss1234'
```

![](https://3130493565-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnRvmq3Z7NHbI7KSziq%2F-MBhNFYsNtEu_vAcatO1%2F-MBhP8kVsN-u8EX4Yvhi%2Fupdate%20billing%20settings.PNG?alt=media\&token=9bce9dfb-7e73-469a-9159-47d33e6a5cd1)

7\. Copy any certificates (VConnectClientCertificate.cer) created for "[**Configuring a new Azure Stack Hub Stamp**](https://docs.cloudassert.com/azure-stack-hub-multi-stamp-management/configuration/configure-a-new-azure-stack-stamp)" in VConnect into Billing resource provider VM and import them into **Personal** store.

8\. Navigate to Admin VConnect extension and click Connections -> Azure Stack Hub.

9\. Click Edit for each connection and click the Save button to sync the connection in Billing.


---

# Agent Instructions: 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:

```
GET https://docs.cloudassert.com/azure-stack-billing/2012.2/installation/deployment/update-vconnect-resource-provider-with-billing-details.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
