Azure Stack Hub Billing
Cloud Assert HomeDocs Home
2103.3
2103.3
  • Introduction
  • Release Notes
  • Features
    • Admin Features
      • Settings
      • Pricing Profile
        • Manage Pricing Profiles
      • Usage History
      • Invoice
      • Quotas
      • Credits
        • User Credits
      • Usage & Quota
      • Notifications
      • Health Status
      • Billing Subscriptions
      • Enabling End Users To View Usage Costs And Quota Consumption For Subscriptions Across Stamps
    • Tenant Features
      • Overview
      • Usage History
      • Invoice
      • Notifications
      • Usage and Quota
      • Billing Profile Creation
      • Manage Subscriptions
  • Installation
    • Prerequisites
      • PKI Certificate Requirements
      • Azure Stack Certification Authority certificate
    • Deployment
      • Install Billing Resource Provider
        • High Availability and Scale Deployment considerations
      • Operations and Monitoring
      • Billing Database and Log File Configuration
      • License Activation
      • Update VConnect Resource Provider With Billing Details
    • Configuration
      • Setup pricing profile and quotas
      • Invoice
      • Add Billing service to Azure Stack Plan
      • Add the resource provider in Tenant Portal
      • Mapping Subscriptions
      • How to add a new stamp as a connection?
    • Version Update
    • Remove Resource Provider
  • Others
    • Troubleshooting
      • Cost Management
    • Multi-Stamp Azure Stack Hub
Powered by GitBook
On this page

Was this helpful?

  1. Installation

Remove Resource Provider

PreviousVersion UpdateNextTroubleshooting

Last updated 4 years ago

Was this helpful?

Removing a resource provider through below steps would remove the following resources that were originally created during installation,

  • Admin and Tenant Resource Provider Registrations

  • DNS Zone entries for the resource provider

  • The admin and resource groups created for resource providers. This includes a Resource Provider Virtual machine created in the tenant resource group.

Steps to remove

  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.