Azure Stack Hub Billing
Cloud Assert HomeDocs Home
2006
2006
  • Introduction
  • Release Notes
  • Key Concepts
    • Pricing Profile
    • Credits
  • Installation
    • Prerequisites
      • PKI Certificate Requirements
    • Deployment
      • Billing
        • High Availability and Scale Deployment considerations
      • Cost Managment
      • Operations and Monitoring
      • Billing Database and Log File Configuration
      • License Activation
    • Remove Billing Resource Provider
    • Configuration
      • Azure Stack Hub
        • Add the resource provider in Tenant Portal
        • Add the service to Azure Stack Plan
      • Billing
        • Setup pricing profile and quotas
        • Invoice
      • Cost Management
    • Steps for version update
  • Features
    • Admin Features
      • Settings
      • Pricing Profile
      • Usage History
      • Invoice
      • Quotas
      • User Credits
      • Usage & Quota
      • Notifications
      • Health Status
      • Customizations
    • Tenant Features
      • Overview
      • Usage History
      • Invoice
      • Notifications
      • Usage and Quota
      • Billing Profile Creation
  • Others
    • Troubleshooting
      • Cost Management
    • Multi-Stamp Azure Stack Hub
Powered by GitBook
On this page

Was this helpful?

  1. Installation

Remove Billing Resource Provider

PreviousLicense ActivationNextConfiguration

Last updated 4 years ago

Was this helpful?

  1. Get a copy of the resource provider installation package and have it extracted.

  2. Open a new elevated (administrative) PowerShell console and change to the directory where the files have been extracted

  3. Run InstallBilling.ps1 script with the parameters shown below

.\InstallBilling.ps1 -DefaultProviderSubscriptionId "fill-here" -ServiceAdmin "fill-here" -AdminPassword 'fill-here' -AdminArmEndpoint "fill-here" -ServiceAdminDirectoryTenantName "fill-here" -TenantSubscriptionId "fill-here" -VmLocalAdminPass 'fill-here' -PfxPassword 'fill-here' -SqlServerName "fill-here" -SqlDbName "CloudAssert.Billing" -SqlUser "cadbadmin" -SqlPass 'fill-here' -Apiuser "admin" -ApiPassword 'fill-here' -DacmDatabaseName "CloudAssert.Dacm" -Uninstall $true

E.G.:
.\InstallBilling.ps1 -DefaultProviderSubscriptionId "a088be51-b7e3-47ea-8c83-1ba98e2bbf5f" -ServiceAdmin "cloudassert@contosotest.onmicrosoft.com" -AdminPassword 'TestP@ss1234' -AdminArmEndpoint "https://adminmanagement..local.azurestack.external" -ServiceAdminDirectoryTenantName "contosotest.onmicrosoft.com" -ServiceTenant "cloudassert@contosotest.onmicrosoft.com" -TenantPassword 'TestP@ss1234' -ServiceTenantDirectoryTenantName "contosotest.onmicrosoft.com" -TenantSubscriptionId "00e4fd62-a809-4cd2-a70c-981c97ace666" -VmLocalAdminPass 'TestP@ss1234' -PfxPassword 'TestP@ss1234' -SqlServerName "192.168.102.32" -SqlDbName "CloudAssert.Billing" -SqlUser "cadbadmin" -SqlPass 'TestP@ss1234' -Apiuser "admin" -ApiPassword 'TestP@ss1234' -DacmDatabaseName "CloudAssert.Dacm" -Uninstall $true

Uninstall can take 15-30 minutes to complete normally.