PartnerBilling.Read.All
Allows the app to read all of billing data from Microsoft for your company's tenant, without a signed-in user. This includes reading billed and unbilled azure usage and invoice reconciliation data.
Permission Details
Read all billing data for your company's tenant
Allows the app to read all of billing data from Microsoft for your company's tenant, without a signed-in user. This includes reading billed and unbilled azure usage and invoice reconciliation data.
7c3e1994-38ff-4412-a99b-9369f6bb7706
Read all billing data for your company's tenant
Allows the app to read all of billing data from Microsoft for your company's tenant, on behalf of the signed-in user. This includes reading billed and unbilled Usage and Invoice reconciliation data.
8804798e-5934-4e30-8ce3-ef88257cecd4
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
content |
base64urlNullable |
The http content that has the data |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"content": "String"
}
Relationships
Relationships metadata is not available for this permission mapping.
View resource documentationGraph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
| Commands |
|---|
Get-MgReportPartnerBillingManifest
/reports/partners/billing/manifests/{id}
Get manifest
|
Get-MgReportPartnerBillingOperation
/reports/partners/billing/operations/{id}
Get operation
|
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
| Commands |
|---|
Get-MgBetaReportPartnerBillingManifest
/reports/partners/billing/manifests/{id}
Get manifest
|
Get-MgBetaReportPartnerBillingOperation
/reports/partners/billing/operations/{id}
Get operation
|
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Reports.Partners.Billing.Reconciliation.Billed.MicrosoftGraphPartnersBillingExport;
using Microsoft.Graph.Models.Partners.Billing;
var requestBody = new ExportPostRequestBody
{
InvoiceId = "G016907411",
AttributeSet = AttributeSet.Full,
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Reports.Partners.Billing.Reconciliation.Billed.MicrosoftGraphPartnersBillingExport.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const operation = {
invoiceId: 'G016907411',
attributeSet: 'full'
};
await client.api('/reports/partners/billing/reconciliation/billed/export')
.post(operation);
Import-Module Microsoft.Graph.Reports
$params = @{
invoiceId = "G016907411"
attributeSet = "full"
}
Export-MgReportPartnerBillingReconciliationBilled -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.reports.partners.billing.reconciliation.billed.microsoft_graph_partners_billing_export.export_post_request_body import ExportPostRequestBody
from msgraph.generated.models.attribute_set import AttributeSet
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = ExportPostRequestBody(
invoice_id = "G016907411",
attribute_set = AttributeSet.Full,
)
result = await graph_client.reports.partners.billing.reconciliation.billed.microsoft_graph_partners_billing_export.post(request_body)
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for PartnerBilling.Read.All
Grant Admin Consent
Application permissions always require admin consent.