> For the complete documentation index, see [llms.txt](https://docs.cloudassert.com/azure-stack-hub-multi-stamp-management/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudassert.com/azure-stack-hub-multi-stamp-management/others/troubleshooting/add-billing-api-port-to-vconnect-rp-network-security-group.md).

# Add Billing API Port To VConnect RP Network Security Group

The following steps will help to add Billing API port to VConnect Resource Provider network security group

* Open a PowerShell window in the Cloud Asset RP machine or the virtual machine that has the issues / to be validated
* Click [here](/azure-stack-hub-multi-stamp-management/others/troubleshooting/configure-vconnect-powershell-modules.md) for the steps to install the Cloud Assert PowerShell modules
* Please Ensure AzureRM module is available
* Run the following command to add Billing API port to VConnect Resource Provider network security group

```
Add-BillingApiPortToVConnectRpNsg -TenantArmEndpoint [tenant-arm-endpoint] -TenantSubscriptionId [tenant-subscription-id] -VConnectRpResourceGroup [resource-group]
```

![](/files/vX9C0b6NsOvN59nwzVka)

<table><thead><tr><th>Input</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>TenantArmEndpoint</td><td>Azure Stack Tenant Arm Endpoint.</td><td></td></tr><tr><td>TenantSubscriptionId</td><td>Tenant Subscription Id in which VConnect RP is deployed.</td><td></td></tr><tr><td>VConnectRpResourceGroup</td><td>Tenant Resource Group in which VConnect RP is deployed.</td><td></td></tr></tbody></table>
