Graph API Billable Objects Question.

Shanteau, Douglas 1 Reputation point
2022-01-26T14:15:29.417+00:00

Hello,

I'm reaching out to figure out if a few types of Graph Requests are billed or not. Specifically we are using the Outlook Connector.

Scope: "User.Read"

--Is this returned object a billable object?
var emails = await graphClient.Users[$"{inboxName}"].Messages

            .Request()
            .Top(1000)
            .Header("Prefer", "IdType=\"ImmutableID\"")
            .Header("Prefer", "outlook.body-content-type=\"text\"")
            .Expand("attachments")
            .Filter($"receivedDateTime ge {recDate}")
            .OrderBy("receivedDateTime ASC")
            .GetAsync();
        return await GetAllPages(emails);

Thanks for the help!

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Barry Gervin 91 Reputation points Microsoft Employee Moderator
    2022-03-04T16:06:16.66+00:00

    Hi Shanteau. If a graph endpoint has a license or consumption cost associated with making requests, it will be specifically documented. Querying users does not have any billable cost. The only billable API on MS Graph today is Teams Export. MS Graph Data Connect, while not a REST endpoint, does have costs associated with its use in Azure.

    Barry Gervin

    0 comments No comments

Your answer

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