Skip to content

Commit ec00426

Browse files
authored
Merge pull request #291861 from bandersmsft/cloud-footprint-update
MCM - Cloud footprint update
2 parents e1475c7 + 6abe6ce commit ec00426

File tree

1 file changed

+66
-10
lines changed

1 file changed

+66
-10
lines changed

articles/cost-management-billing/manage/discover-cloud-footprint.md

Lines changed: 66 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Discover your Microsoft cloud footprint FAQ
33
description: This article helps to answer frequently asked questions that customers have about their Microsoft cloud footprint.
44
author: bandersmsft
55
ms.author: banders
6-
ms.date: 09/17/2024
6+
ms.date: 12/11/2024
77
ms.topic: conceptual
88
ms.service: cost-management-billing
99
ms.subservice: cost-management
@@ -60,13 +60,13 @@ Microsoft 365 customers can use the following information to view their billing
6060

6161
## How can I view every billing account created for a tenant?
6262

63-
Global Administrators can view all direct billing accounts at the organization level and can elevate their billing account permissions. Purchases made for individual use by non-administrators are only visible to and managed by the original purchaser.
63+
Global Administrators can view all direct billing accounts at the organization level and can elevate their billing account permissions. Purchases made for individual use by users that aren't administrators are only visible to and managed by the original purchaser.
6464

6565
For more information, see [Elevate access to manage billing accounts](elevate-access-global-admin.md).
6666

6767
## How can I view employees participating in other tenants?
6868

69-
Global Administrators can view log data showing employee activity in other tenants. For more information, see [Cross-tenant access activity workbook in Azure AD](/entra/identity/monitoring-health/workbook-cross-tenant-access-activity).
69+
Global Administrators can view log data showing employee activity in other tenants. For more information, see [Cross-tenant access activity workbook](/entra/identity/monitoring-health/workbook-cross-tenant-access-activity).
7070

7171
## How do I view my partner billing information?
7272

@@ -75,7 +75,7 @@ As a partner, you can see your partner billing account, billing group, and assoc
7575
- [View your billing accounts in Azure portal](view-all-accounts.md#microsoft-partner-agreement)
7676
- [Get started with your Microsoft Partner Agreement billing account](../understand/mpa-overview.md)
7777

78-
A customer can’t view the billing account or billing group that’s managed by a partner because the partner makes purchases on behalf of their customer.
78+
A customer can’t view the billing account or billing group managed by a partner because the partner makes purchases on behalf of their customer.
7979

8080
## How do I view my organization’s billing account and tenant information?
8181

@@ -99,13 +99,69 @@ The article provides details about all types of Azure accounts.
9999

100100
## How do I manage purchases that I made myself?
101101

102-
Administrators can manage trials and purchases that they made, and self-service purchases and trials made by non-administrators. For more information, see [Manage self-service purchases and trials (for admins)](/microsoft-365/commerce/subscriptions/manage-self-service-purchases-admins).
102+
Administrators can manage trials and purchases that they made, and self-service purchases and trials made by users that aren't administrators. For more information, see [Manage self-service purchases and trials (for admins)](/microsoft-365/commerce/subscriptions/manage-self-service-purchases-admins).
103103

104104
## How can I get a list of subscriptions and tenants for a billing account?
105105

106-
You can view the tenants associated with a subscription in the Azure portal on the **Subscriptions** page under **Cost Management + Billing**.
107-
108-
## How can I view the Azure tenant that I am currently signed in to?
106+
In the Azure portal, you can view the tenants associated with a subscription on the **Subscriptions** page under **Cost Management + Billing**.
107+
108+
Programmatically, you can use the publicly available API to get billing accounts that returns all associated billing subscriptions. The API also supports an optional header that returns all tenant IDs associated with the billing account. For more information, see [Billing Subscriptions - List By Billing Account](/rest/api/billing/billing-subscriptions/list-by-billing-account).
109+
110+
CLI snippet:
111+
112+
```azurecli
113+
# login
114+
az login
115+
# Get BillingAccounts
116+
az rest --method get --url https://management.azure.com/providers/Microsoft.Billing/billingAccounts?api-version=2024-04-01
117+
118+
119+
# Get BillingSubscriptions with provisioning tenant
120+
az rest --method get --url https://management.azure.com/providers/Microsoft.Billing/billingAccounts/<BillingAccountId>/billingSubscriptions?api-version=2024-04-01 --headers x-ms-service-tenant-info=true
121+
```
122+
123+
Sample call:
124+
125+
```azurecli
126+
az rest --method get --url 'https://management.azure.com/providers/Microsoft.Billing/billingAccounts/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb:bbbbbbbb-1111-2222-3333-cccccccccccc_2019-05-31/billingSubscriptions?api-version=2024-04-01' --headers x-ms-service-tenant-info=true
127+
```
128+
129+
Sample response:
130+
131+
```json
132+
{
133+
"value": [
134+
{
135+
"id": "/providers/Microsoft.Billing/billingAccounts/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb:bbbbbbbb-1111-2222-3333-cccccccccccc_2019-05-31/billingSubscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e",
136+
"name": "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e",
137+
"properties": {
138+
"autoRenew": "Off",
139+
"billingFrequency": "P1M",
140+
"billingProfileDisplayName": "Contoso Partner & Field Experiences",
141+
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb:bbbbbbbb-1111-2222-3333-cccccccccccc_2019-05-31/billingProfiles/CustomerLedAccount_BG3",
142+
"billingProfileName": "ContosoAccount_BG3",
143+
"displayName": "Test sub for Ingestion",
144+
"invoiceSectionDisplayName": "Contoso Ingestion Publishing Service",
145+
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb:bbbbbbbb-1111-2222-3333-cccccccccccc_2019-05-31/billingProfiles/CustomerLedAccount_BG3/invoiceSections/AAAA-BBBB-CCC-DDD",
146+
"invoiceSectionName": "AAAA-BBBB-CCC-DDD",
147+
"operationStatus": "None",
148+
"productCategory": "UsageBased",
149+
"productType": "Usage based",
150+
"productTypeId": "DZH318Z0BPS6",
151+
"provisioningTenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee",
152+
"purchaseDate": "2020-10-26T16:55:39.4792007Z",
153+
"quantity": 1,
154+
"skuDescription": "Microsoft Azure Plan",
155+
"skuId": "0001",
156+
"status": "Active",
157+
"subscriptionId": "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e"
158+
},
159+
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions"
160+
}
161+
}
162+
```
163+
164+
## How can I view the Azure tenant that I'm currently signed in to?
109165

110166
You can view your tenant information in the Azure portal using the information at [Manage Azure portal settings and preferences](/azure/azure-portal/set-preferences).
111167

@@ -152,7 +208,7 @@ You can view tenants with B2B relationships in the [Cross-tenant access activity
152208

153209
## How can I take over unmanaged directories owned by my organization?
154210

155-
Review the domains in your registrar that aren’t verified to your tenant. If you can’t register a domain that you reserved in your registrar, it might be associated with an unmanaged directory. Global administrators can claim or take over unmanaged directories (also called _unmanaged tenants_) that were created by members of their organization through free sign-up offers. If your registrar shows you pay for a domain that isn’t part of your home tenant, it might be used in an unmanaged directory. For more information, see [Admin takeover of an unmanaged directory](/entra/identity/users/domains-admin-takeover).
211+
Review the domains in your registrar that aren’t verified to your tenant. If you can’t register a domain that you reserved in your registrar, it might be associated with an unmanaged directory. Global administrators can claim or take over unmanaged directories (also called _unmanaged tenants_). Members of their organization potentially created them through free sign-up offers. If your registrar shows you pay for a domain that isn’t part of your home tenant, it might be used in an unmanaged directory. For more information, see [Admin takeover of an unmanaged directory](/entra/identity/users/domains-admin-takeover).
156212

157213
## How can I regain access to a tenant owned by my organization?
158214

@@ -169,7 +225,7 @@ You can also restrict subscriptions from moving from one tenant to another. It
169225

170226
## How can I review audit logs for tenants created by users in my organization?
171227

172-
You can view audit logs in the Microsoft Entra admin center. Events relating to tenant creation are tagged as Directory Management. For more information, see [Azure Active Directory (Azure AD) audit activity reference](/azure/active-directory/reports-monitoring/reference-audit-activities).
228+
You can view audit logs in the Microsoft Entra admin center. Events relating to tenant creation are tagged as Directory Management. For more information, see [Microsoft Entra audit log categories and activities](/entra/identity/monitoring-health/reference-audit-activities).
173229

174230
To learn about notifications for audit log events, follow the tutorial in [Enable security notifications for audit log events](/entra/identity/authentication/tutorial-enable-security-notifications-for-audit-logs).
175231

0 commit comments

Comments
 (0)