Share via

payment for teams export APIs- /getallmessages and /getallretainedmessages

Eran Otmi 40 Reputation points
2026-03-19T12:33:08.85+00:00

Hey,
In one of your documentations I saw I need to choose a billing model A/B
but here:https://learn.microsoft.com/en-us/graph/teams-licenses
I see :Important

Starting August 25, 2025, the Teams APIs listed in this article are no longer metered, and no billing configuration is required to use these APIs. If your application is configured for billing, no action is required. This article is provided for reference as the final billing cycle for metered Microsoft Teams APIs conclude

so are these endpoints free or not?

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs


1 answer

Sort by: Most helpful
  1. Vergil-V 11,575 Reputation points Microsoft External Staff Moderator
    2026-03-19T14:20:04.3966667+00:00

    Hi @Eran Otmi 

    Based on my research, in addition to the documentation you referenced, Microsoft has also confirmed this change through Microsoft Message Center announcements, such as MC1122144

    According to that announcement, starting August 25, 2025, the listed APIs in Payment models and licensing requirements for Microsoft Teams APIs - Microsoft Graph | Microsoft Le…, including /getAllMessages and /getAllRetainedMessages, will no longer generate billing events when they are called. As a result, there is no longer any need to select or configure a billing model (A or B) for these endpoints, and no payment is required for calls made to them after that date. 

    Any charges from metered API usage before this change will still appear on your regular billing invoice. 

    I hope this provides additional insight. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.