# 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* |

![](https://1379937765-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnRvmq3Z7NHbI7KSziq%2F-MgFduk_r40CQgOMmO4V%2F-MgFe14R7UwHta6UWzmO%2FUpdateBuild.JPG?alt=media\&token=2ac68d14-36cd-4ea0-a8a7-f90f104dbf44)
