> For the complete documentation index, see [llms.txt](https://docs.cloudassert.com/azure-stack-billing/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-billing/installation/version-update.md).

# Version Update

## Pre-Update Steps

Take a backup of Cloud Assert Billing and Cost management database.

## Update Steps

### Billing Resource Provider VM

1. Sign in to Billing resource provider virtual machine.
2. Unblock the Billing resource provider update package .zip file and extract the contents to a temporary directory using any extractor tool.
3. Open a new elevated (administrative) PowerShell console and change to the directory where the files have been extracted.&#x20;
4. Run UpdateBuild.ps1 command and provide inputs if prompted.

```
.\UpdateBuild.ps1 -ArmEndpoint "https://adminmanagement.local.mas400.samm.corp.cloudassert.com" -DefaultProviderSubscriptionId "09f66b3c-de17-4879-86fe-b11ccee2f52f" -ServiceAdminDirectoryTenantName "cloudassertrp.onmicrosoft.com"
```

| Parameter Name                      | Description                                                              | Required   |
| ----------------------------------- | ------------------------------------------------------------------------ | ---------- |
| **ArmEndpoint**                     | Azure Stack Admin ARM Endpoint                                           | *Required* |
| **DefaultProviderSubscriptionId**   | Default Provider Subscription Id                                         | *Required* |
| **ServiceAdminDirectoryTenantName** | Directory tenant name in which the service administrator account resides | *Required* |

![](/files/-MgFe14R7UwHta6UWzmO)
