Enable Multi-Tenant Billing in Azure Stack Hub Environment

Enable Multi-Tenant Billing

Question

You have been assigned the responsibility to add an end customer in Azure Stack Hub Environment.You know that it is mandatory to enable multi-tenant billing on your registration before adding an end customer.

How would you enable multi-tenant billing?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: D

Before starting to add an end customer, it is necessary for you to enable multi-tenant billing on your registration.

For enabling Multi-tenant billing, you need to send the registration subscription ID, registration name and resource group name to azstcsp@microsoft.com.

It generally takes 1-2 business days to enable multi-tenancy.

To know more about the adding tenants, please visit the below-given link:

In order to enable multi-tenant billing in the Azure Stack Hub environment, you will need to follow a few steps:

  1. Connect to your Azure Stack Hub environment using PowerShell or the Azure Stack Hub portal.

  2. Ensure that you have the necessary permissions to enable multi-tenant billing. You must be a Cloud Solution Provider (CSP) Global Admin or a CSP Admin to enable multi-tenant billing.

  3. Run the following command in PowerShell:

    sql
    Set-AzsRegistrationTenantBilling -Enable $true

    This command will enable multi-tenant billing on your registration.

  4. After running this command, you can add an end customer to your Azure Stack Hub environment. Note that you must specify the customer's tenant ID when adding them to the environment.

    To add an end customer, you can run the following command:

    php
    New-AzsRegistrationCustomerSubscription -SubscriptionName <subscription name> -TenantId <customer tenant ID>

    This command will create a new customer subscription in your Azure Stack Hub environment.

Option A, running the New-AzResource command in PowerShell, is not the correct way to enable multi-tenant billing. This command is used to create a new resource in Azure, not in Azure Stack Hub.

Option B, creating a local resource in the end customer tenant in Azure Stack, is also not the correct way to enable multi-tenant billing. This option is not related to multi-tenant billing at all.

Option C, running the cmdlet Get-UsageAggregates, is used to retrieve usage data for an Azure Stack Hub