Billing changes for Microsoft Graph APIs for Teams messages
In October 2021, we announced Licensing and pricing requirements for the following Microsoft Teams APIs in Microsoft Graph:
- chatMessage – Change Notifications API
- chats: getAllMessages – Export API
- channel: getAllMessages – Export API
- Update chatMessage – Patch API
Starting July 5, 2022, billing events for these APIs will reach general availability and the communicated consumption rates will go into effect. These will be billed through an Azure subscription on the Azure tenant where the application requesting access is registered. To ensure compliance with these payment requirements, developers calling these APIs will be required to complete the Teams Protected API Azure registration form to associate their Graph application ID with an active Azure subscription ID. Once the Graph application ID is associated with an Azure subscription ID, billing events will appear in the Azure portal for the active subscription. From there you can manage your billing account and monitor and analyze consumption costs by following the resources listed in Azure Cost Management + Billing – Microsoft Cost Management | Microsoft Docs.
As a reminder, there are two options for using the API – one is designed for Security and Compliance (S+C) scenarios and the other is designed for more all-purpose scenarios other than S+C (Ex. Backup services). S+C scenarios require an E5 license which provides a seeded capacity to use the API without consumption cost until the seeded capacity is reached. For all other scenarios, there are no specific license requirements (hence, no seeded capacity), and the API is charged per message extracted from the M365 cloud. For more information, see Announcing general availability of Microsoft Graph APIs for Microsoft Teams.