> For the complete documentation index, see [llms.txt](https://docs.cloudassert.com/azure-stack-billing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudassert.com/azure-stack-billing/2103.3/features/admin-features/enabling-end-users-to-view-usage-costs-and-quota-consumption-for-subscriptions-across-stamps.md).

# Enabling End Users To View Usage Costs And Quota Consumption For Subscriptions Across Stamps

The tenant users can view the usage cost and quota consumption for the subscriptions that they own across stamps. the following are the steps to enable the same.

{% hint style="info" %}
This feature is currently supported only for connected Azure Stack Hub integrated with single Azure Active directory tenant.
{% endhint %}

### Azure Portal

* Create new multi-tenant app E.g. Billing\_Consent\_App.

![](/files/-MWTHinyOmoT3Rk3nEdD)

* Ensure redirect URL is specified.
  * Redirect URL Format: [https://billing.cloudassert.FQDN:44303/Client/Billing/Templates/AadAuth.html](https://billing.cloudassert.fqdn:44303/Client/Billing/Templates/AadAuth.html)
* Ensure the following Authentication is given.

![](/files/-MWTHsu9Fa4KLMjtloLC)

* Ensure the following API permissions are specified.
  * Microsoft. Graph -> Directory.Read.All, openid, profile and User.Read

![](/files/-MWTI4dIK4kfBV3OkPpa)

### Billing Resource Provider VM

* Update the app ID created in Azure portal using the command 'UpdateBillingConsentAppId.ps1' from the Billing resource provider VM.&#x20;
* When prompted, specify the app ID.
* The script 'UpdateBillingConsentAppId.ps1' will be available as part of the patch updates.

![](/files/-MWTIB1wK8DIDH5OOoLZ)

### Azure Stack Portals

* Create a plan 'CrossStampmanagement' with billing service.
* Create an offer and attach the plan.
* Create a User Subscription (E.g. 'CrossStampManagementSubscription') for an operator account.

![](/files/-MWTIbReGqeJmqJUkdp3)

* Login to tenant portal as the operator and register the billing service for CrossStampManagementSubscription.

![](/files/-MWTIhUubm2VK6iu5ejr)

* Click Billing -> Manage Subscriptions, click master stamp and click the 'Associate' button.

![](/files/-MWTIorBMqLyrs3xX9eU)

* Login to the user account when prompted.

![](/files/-MWTIt_t65R_-H4omSj_)

* Give consent to the Azure app if prompted.

![](/files/-MWSlD6X8Y7qcoeYCRG4)

* Click the newly created subscription - 'CrossStampManagementSubscription' and click the 'Delegate Access' button.

![](/files/-MWTJ2PUYLiYSgxktLcH)

* From the admin portal click Billing -> settings -> Multi-Stamp Management Settings.

![](/files/-MWTJ9lKAv8aiT8105HS)

* Update the 'CrossStampManagementSubscription' subscription ID in 'Management Subscription ID' field and click on the 'Save' button.

![](/files/-MWTJEeKqvcuxvn3eeNA)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cloudassert.com/azure-stack-billing/2103.3/features/admin-features/enabling-end-users-to-view-usage-costs-and-quota-consumption-for-subscriptions-across-stamps.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
