Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Current and historical data can help manage costs when analyzing usage and costs over time to identify trends. Trends are then used to forecast future spendings. For that reason, we have introduced a new section named "Cost Management" inside the Azure Plan Subscription-View page in the Storefront where we display all the Azure Plan's usages (current and previous consumption) as well as forecasts, by utilizing filters and groups. 



Rw ui textbox macro
typenote

Azure Subscriptions and Required Roles for Resource Management

Each Azure subscription has its own set of resource management roles. Before a Cloud Solution Provider (CSP) partner can manage a customer's Azure subscription, that partner must be assigned one or more GDAP roles under the Azure subscription. More specifically:

  • When a customer accepts a reseller invitation and grants delegated administration privilege to a partner, the partner doesn't automatically get access to existing Azure subscriptions under the customer tenant.

  • When the CSP partner provisions a new Azure subscription for the customer, the Admin Agents group under the CSP partner tenant is automatically assigned the Owner role under the subscription. Based on this role assignment, members of group can access and manage resources under the subscription.

  • When a customer removes delegated administration privileges from a partner using the Office 365 Portal, the partner can still manage the customer's Azure subscription, as long as the partner is still assigned to one or more roles under the subscription. To stop the partner from managing the Azure subscription, the customer must remove the role assignment.


Accessing the Cost Management of an Azure Plan Subscription


Under the Azure Plan Subscription-View page in Storefront, you can find the Cost Management sub-section, in which two main tabs are available to interact with. The first one being the Cost Management Table and the second one being the Cost Management Charts. Each tab offers slightly different viewpoints of the data related to an Azure Plan Subscription along with its entitlements in terms of their cost management. By default, the "Cost Management Charts" will appear first during the loading of the Subscription's view page. However, let's first analyze the Cost Management Table and then proceed to the Cost Management Charts.

Rw ui textbox macro
typenote

Cost Management Data Display Limitation

Usages of an Azure Plan Subscription are being displayed only for Azure Plan Subscriptions and Entitlements that have "Admin On Behalf Of" (AOBO) rights.
When AOBO rights have been removed then the following message is displayed: "Cost Management is not available. AOBO rights have been removed".

Microsoft Time-Outs in Table and Charts Tab Views

In order for the system to collect the current data as well as the forecast data from Microsoft, prior to drawing the charts or creating the table, we utilize two API calls to Microsoft. If one or both experience a time out, i.e., the request limit set by Microsoft has been reached, then the following message appears "An error occurred while trying to communicate with Microsoft.: "Request time limit reached, please try again later."


Cost Management Control Options  
Anchor
TableFilters
TableFilters

In the Cost Management section, you will find five options, in the form of drop-down list filters, that are available for differentiating the views of both the current and the previous consumption data on both tabs (table & Charts). The first filter, called Scope, consists of the Azure Plan as well as the Azure Plan's entitlements. The second filter, called Billing Period, consists of the current as well as the previous billing periods displaying the data exactly as the Azure Portal. The third filter, called Granularity, consists of three sub-filters that define how detailed the view of the table data will be, and the fourth filter, called Group By, defines how the usages are being grouped and displayed. The last filter, called Chart Type,  dictates the type of graphical representation that the Chart will have and it appears only when the "Charts" tab is chosen. 

  1. Scope: The "Scope" is a filter for the Storefront user to define whether he wants to view the Azure Plan's Subscription consumption in its entirety or just one of its Entitlements' consumption.

    1. Azure Plan's subscription consumption (default option): This value is chosen by default in the drop-down list, whenever the "Table" tab is selected and depicts on the Table view, all the entitlements cumulatively. Also, the table's column, named "Subscription Name" will indicate the Entitlement to which the consumption corresponds to.
    2. Entitlement's consumption. The other values to be chosen from the drop-down list can be any Entitlement from that specific Azure Plan. Every time an "Entitlement" is selected in scope, all the resources contained within that Entitlement are being displayed on the Table view.

  2. Billing Period: The "Billing Period" filter defines which usages are being displayed based on a specific period of time. In order for the Storefront user to be free to select a wide range of time (strictly within a year) of the Azure Plan's billing period, we have implemented a "Custom Date Range" where the Storefront user is able to select any start/end date he wishes, either in the future or in the past. If future dates are set within the "Custom Date Range" option, then the chart will depict only forecasts, which are explained further below.   

    1. This month (default): It depicts data from the first day of the current month until the current day.
    2. Last 7 days: It depicts data from the last six days as well as the current day. Please know that the current day might be partially or fully be depicted as a forecast bar.
    3. Last month: It depicts data from the past month.
    4. Last 3 months: It depicts data from the past three months.
    5. Custom Date Range:  With this option, you can choose your preferred (Start and End) dates from which you wish to depict data on the bar chart.

      Rw ui textbox macro
      typenote

      Billing Period - Custom Date Range Errors

      • When only future dates are selected in the Billing Period's Custom date range option, then the following error message appears: "The billing period selected is not valid. Select a date less than or equal to today."
      • When the date range set is more than one year in the Billing Period's Custom date range option, then the following error message appears: "The billing period selected is not valid. Limit the date range to one year."

      Timely Updates of Consumption Data

      The consumption data updates that we receive from Microsoft are behind by a few hours and as a result, the data that appear on the chart and graphs might not be fully updated by the time you interact with them.


  3. Granularity: The "Granularity" filter defines the level of detail that the data on the table can present. 

    1. Daily (default): This option depicts, for the selected billing period, the current consumption of each day.
    2. Daily Accumulated: This option depicts the daily cumulative consumption. This option is applicable only in the Chart view.
    3. Monthly: This option depicts, for the selected billing period, the consumption of each individual month. Each time the Storefront user changes the "Granularity" the table displays only the usages based on the chosen option. Therefore, when this option is selected, then the data are being grouped per month irrespectively of the "Billing Period".

  4. Group By: The "Group by" filter defines how the usages are being displayed based on different groupings. The default grouping option currently is the Resource
    Anchor
    GPOptions
    GPOptions


    1. Resource (default & with expandable rows): The consumption on the table is displayed in seven distinct columns, namely: the Date, the Resource, the Partner Earned Credit, the Resource type, the Location, the Resource Group Name, and the Cost (Suggested Retail Price).
    2. LocationThe consumption on the table is displayed in three distinct columns, namely: the Date, the Location, and the Cost (Suggested Retail Price).
    3. MeterThe consumption on the table is displayed in eight distinct columns, namely: the Date, the Publisher Type, the Charge Type, the Service Family, the Service Name, the Meter, the Part Number, and the Cost (Suggested Retail Price).
    4. Resource Group NameThe consumption on the table is displayed in three distinct columns, namely: the Date, the Resource Group Name, and the Cost (Suggested Retail Price).
    5. Resource GuidThe consumption on the table is displayed in three distinct columns, namely: the Date, the Resource Guid, and the Cost (Suggested Retail Price).


  5. Chart Type (only applicable to Charts tab): The "Chart Type" filter defines how the graphs on the main chart will look like, either as stacked columns or otherwise. Right now this filter is locked to the default option "Columns (Stacked)". In the future, when more options will be added, it will be unlocked and available to you to utilize it.


Cost Management Table

In the Cost Management Table tab, you will find a table in which the cost management data are displayed, based on columns and rows (expandable rows exist only when the "Resource" Group by option is selected). Depending on the four (drop-down list) filters that are available for the "Table" tab view (instead of the five that are available for the Charts tab view), you are able to differentiate the views of both the current and the previous consumption data on the aforementioned table.

Each time a different filter option is chosen, the table reacts to that change by depicting different columns with different consumption data on it, especially when a different Group by option is selected. Let us further analyze the effects to the table, when choosing different Group by options.

  • The "Resource" Group by option, is the most detailed option since it provides you with the possibility to expand each row of the table and examine not only the first seven rows containing consumption data but also examine in detail three more relating data of a given resource, which are the Service Name(s), the Meter and the Cost (Suggested Retail Price).  that is displayed analytically based on each service. 

  • The Meter "Group by" option, is the second most detailed option since it provides you with an additional level of information concerning the chosen resource's meters.  

  • The other three Group by options, namely the "Location", the "Resource Group Name", and the "Resource Guid" are simpler in terms of data depiction since each one displays the relative data column as well as the "Date" and "Cost (Suggested Retail Price)" data columns.

In any case, by clicking on any column's title, you can change the order from ascending to descending and vice versa. 

Rw ui textbox macro
typeinfo

Suspended Azure Plan Entitlements

When a suspended Azure Plan's Entitlement is selected from the "Scope" drop-down list of an Azure Plan Subscription view, then the table is displayed empty without data.



Partner Earned Credit (PEC) in Cost Management Table

When and if PEC has been applied to specific or all resources of an Azure Plan, we gather this information through an API to Microsoft. When PEC is applied, then a 15% discount is applied in the unit price (USD). As a result, a PEC column is displayed on the Table tab view when the "Scope" is a specific entitlement and when the "Group By" filter is set to Resource, since PEC is earned down to the Azure Plan resource level. PEC is also displayed for Resources consumed during the past billing periods, i.e. the last three months.

Rw ui textbox macro
typenote

PEC Displaying Circumstances

  • For Direct Customers: The PEC will not be displayed in the table view nor in the exported excel file. 
  • Resellers: 
    • For Personal Use: The PEC will not be displayed in the table view nor in the exported excel file. 
    • For End-Customer: The PEC will be displayed in the table view and as a result, it will be exported in the excel file. A new column will be displayed in the Data worksheet with name "Partner Earned Credit"


Export Azure Plan's Historical Data of Usages Through Subscription View

The cost management section contains also an excel icon, where the Storefront user is able to export and download the selected data from the Table view. The file's name consists of the following data <Scope's name_BillingPeriod.xlsx> i.e. "Azure_Entitlement_Last_7_days". In an upcoming release, the file name will change to "Azure_Entitlement_01-08-2020_to_31-09-2020". Please note that the excel file contains one worksheet. 

The summary of the information listed in the worksheet are defined based on the selected Group by option.
For example, the following information is listed when the selected "Group by" option is:


Group by Options
Exported Excel File ColumnsResourceLocationMeterResource Group NameResource Guid
  • Date

(tick)

(tick)(tick)(tick)(tick)
  • Subscription Name
(tick)(tick)(tick)(tick)(tick)
  • Resource

(tick)





  • Partner Earned Credit

(tick)





  • Resource Type

(tick)





  • Location

(tick)

(tick)


  • Resource Group Name

(tick)



(tick)
  • Service Name 

(tick)





  • Meter

(tick)


(tick)

  • Cost (Suggested Retail Price)

(tick)

(tick)(tick)(tick)(tick)
  • Currency

(tick)

(tick)(tick)(tick)(tick)
  • Publisher Type


(tick)

  • Charge Type


(tick)

  • Service Family


(tick)

  • Part Number


(tick)

  • Resource Guid




(tick)
  • Tags*



(tick)


Rw ui textbox macro
typeinfo

Exporting All Azure Plan Entitlements 
When the "Scope" options selected is the Azure Plan, during the export process, all the Azure Plan Entitlements belonging to the Plan will be exported as well on the same worksheet.

Tags Column Availability in Exported Excel File

* When the Group by option selected is the "Resource Group Name", then the Tags column will be displayed, only in the exported excel file, with one or more tags that were added by the customer during Resource group creation. Multiple tags will be separated by a comma. Also, a tag consists of a name and a value and is being displayed with the following format "<name>:<value>".



Cost Management Charts

In the Cost Management Charts tab, you will find the main bar chart as well as three (or one) pie-chart(s) which, as a whole, represent the cost management data in a visualized way. This tab is selected by default during the first load of Azure Plan View in Storefront. The default "Scope" option, upon revealing the Cost Management Charts tab, is the Azure Plan.


Cost Management Bar Chart

The bar chart consists of a horizontal axis and a vertical one. The horizontal axis of the graph always shows the time while the vertical always shows the cost, based on the account's culture.


All the bar chart's filters (Scope, Billing Period, Granularity, Group By) have the same default values as analyzed above.
However, there is an additional filter called Chart Type which defines how the chart will display the relevant data. For now, this filter has by default the value Column (Stacked). In later versions, more values will be added.

Rw ui textbox macro
typeinfo

Granularity Filter on Bar Chart

  • When the "Granularity" selected is Daily or Daily Accumulated the horizontal axis of the graph depicts values for each day.
  • When the "Granularity" selected is Monthly then the data are being grouped per month irrespectively of the "Billing Period".

Billing Period - Custom Date Range on Bar Chart

  • When the "Billing Period" selected is from the current date or current date plus one to a future date then we will not displayed the forecast data in the Column(Stacked) chart area.

Group By - Extra Option in Charts View (only)

  • Only when the Azure Plan "Scope" option is selected, the "Group By" option named Entitlement appears, since the bar chart will depict a cumulative bar of all the distinct Entitlements contained within that Azure Plan, by utilizing different colors.



Forecast on Bar Chart  
Anchor
forecasts
forecasts

The reason for the existence of forecasts is to display an estimated prediction of upcoming spendings within a chosen "Billing Period", based on trends. Forecasts, therefore, provide the Storefront user with an indication to better manage the resources of the chosen entitlement in the future. There are cases where a forecast can appear during the current day. This means that the final updates of data consumption from Microsoft for the current day have not yet been arrived and calculated by the system.

Since we display the days in the horizontal axis of the whole month, for the future days we show stacked columns for a forecast of every entitlement. The forecast for each entitlement is placed in green color. For instance, we display the Cost (Suggested Retail Price) of "Entitlement 2" in blue color and the corresponding Forecast of "Entitlement 2" in light blue.
When mouse hovering over a specific stack, we display a block with the name, the forecasted cost (Suggested Retail Price) amount, and the date of the entitlement in bold as exemplified in the following image:

Rw ui textbox macro
typenote

Forecast Availability

The forecast is available only in the "Charts" tab view and not in the "Table" tab view. As a result, when only a future period is selected in the "Billing Period" drop-down list, then this message is displayed “No rows to display”.

Entitlements without Data

When there are Entitlements present within an Azure Plan, that do not contain any consumption data, then they will appear only on the legend section of the bar-chart and not on the actual graph, since they do not offer data for the bar-chart to display.


Suspended Azure Plan Entitlements

When an Azure Plan Entitlement was suspended for a period of time in the past and this period is included in the "Billing Period" selected, then NO columns are displayed for this period, when the "Granularity" is set to Daily.



Cost Management Pie Charts

Under the basic bar-chart, the Storefront user can find one or three additional pie charts in order to view the usages already consumed either per Entitlement (for Azure Plan "Scope") or per service name, per location or per recourse group name (for Entitlement "Scope"). These pie charts change only when the scope is changed and/or when the billing period is changed since they have their own grouping by default.

  • Pie Chart based on the "Scope" Azure Plan


  • Pie Charts based on the "Scope" Entitlements

When the scope is an Entitlement, as per the above screenshot, three distinct pie charts are being displayed and show the cost (Suggested Retail Price) consumed until now, whereas when the scope is the Azure Plan, a single pie chart is being displayed and shows the cost consumed by each Entitlement contained within the Azure Plan until now. This is also part of the default view when the Storefront user is redirected to the Azure Plan subscription's view during the first load of the Cost Management.
Every pie consists of:

  1. A filter for grouping.
  2. Relevant data and indicators.
  3. A legend for the pie chart's data.
Rw ui textbox macro
typenote

Suspended Azure Plan Entitlements

When a suspended Azure Plan's Entitlement is selected from the "Scope" drop-down list of an Azure Plan Subscription view, then the pie-charts are displayed empty without data.

Entitlements without Data

When there are Entitlements present within an Azure Plan, that do not contain any consumption data, then they will appear only on the legend section of the pie-chart and not on the actual graph, since they do not offer data for the pie-chart to display.


Usage Costs Calculation


For the usage costs, appearing in the cost management section, the calculation is the following:
The unit price of Microsoft (in USD) is applied in addition to the Microsoft Foreign Exchange Rate per resource. Then, taxes are applied (if you display taxes in your Marketplace), and is then rounded up to two decimals. The price-list margin or markup or any other price list rules are not applied in the Cost (Suggested Retail Price) depictions neither in the table nor in the charts since we want the system to be in agreement with the billed amount shown in the Microsoft Azure Portal. The price will be shown on the Storefront user's currency. Please note that the system does not keep historical data.

Rw ui textbox macro
typenote

Cost Depiction of Very Small Values on Table and Chart Tab Views

  • In the Table tab view, when the Cost (Suggested Retail Price) value is lower than € 0.01 then the exact value is not being displayed. Instead, we display as value < € 0.01 (cost value is displayed based on currency culture).
  • In the Column Stacked-Bar Chart tab view if the value is lower than € 0.01 then that Stacked-Bar will depict the value € 0.00. This means that any bar that depicts  0.00 cost, has an actual cost of < € 0.01 (cost value is displayed based on currency culture).


Cost Management in Tenant Resellers


The Cost Management section is displayed with the same rules as in the Azure Plan Subscription view, in the Tenant's Storefront. 


Table of Contents


Table of Contents
excludeTable of Contents