Azure Stack Hub Billing
Cloud Assert HomeDocs Home
2008
2008
  • Introduction
  • Release Notes
  • Features
    • Admin Features
      • Settings
      • Pricing Profile
        • Manage Pricing Profiles
      • Usage History
      • Invoice
      • Quotas
      • Credits
        • User Credits
      • Usage & Quota
      • Notifications
      • Health Status
      • Customizations
    • Tenant Features
      • Overview
      • Usage History
      • Invoice
      • Notifications
      • Usage and Quota
      • Billing Profile Creation
  • 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?
    • Updates
      • Core Billing
      • Billing RP
    • Remove Resource Provider
  • Others
    • Troubleshooting
      • Cost Management
    • Multi-Stamp Azure Stack Hub
Powered by GitBook
On this page

Was this helpful?

  1. Others

Multi-Stamp Azure Stack Hub

How to add connection details for multiple Azure Stack Hub connections for Usage & Billing?

  • Have the certificate installed and connections details for the target Azs Hub Platform. Details that would be needed (can be obtained from billing registration.txt):

    • SubscriptionId

    • ApplicationId

    • AdminArmEndpointUrl

    • AuthorityEndpointUrl

    • TokenRequestResourceUrl

    • CertificateThumbprint

    • IsAdfs

    • TenantId

  • Execute the below command with appropriate details for each stamp,

Billing.exe CreateAzureStackConnection <adminSubscriptionId> <tenantId> <applicaionId> <certificateThumbprint> <adminArmEndpoint>
        <tokenRequestResourceUrl> <authorityEndpointUrl> [/applicationSecret:<String>] [/isAdfs]
        [/ApiEndpoint:<String>] [/Username:<String>] [/Password:<String>] [/IsSkipPrompts:<True|False>]
        [/ExportToCsv:<True|False>] [/ExportToFileName:<String>]
  • Enable '"AzsHubUsageProcessorIsEnabled' in Cost Management agent config. Check the below link for more details,

  • Enable the AzsHubUsageRecordProcessor from Billing Agent service.

  • Configure the [dbo].[SubscriptionMapper] with the UsageSource Id and external subscription Id (azs subscription id) column value.

Validation:

  • Verify the Connection is added successfully in Config.Connections in Cost Management database.

  • Verify the AzsHubUsageRecordProcessingStatusData for the processing status, the data will be populated in the Raw usage records table.

PreviousCost Management

Last updated 4 years ago

Was this helpful?