Share via

Unable to obtain free/busy time of calendar using Microsoft Graph API.

Anonymous
2023-12-05T02:33:17.0466667+00:00

User's image

Error info:

{
    "error": {
        "code": "MailboxNotEnabledForRESTAPI",
        "message": "The mailbox is either inactive, soft-deleted, or is hosted on-premise.",
        "innerError": {
            "date": "2023-12-05T02:29:56",
            "request-id": "bb7c6b7e-2b8d-4ee3-836c-fa773f3c563d",
            "client-request-id": "bb7c6b7e-2b8d-4ee3-836c-fa773f3c563d"
        }
    }
}

How should I solve this error problem?

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 46,456 Reputation points
    2023-12-05T07:26:31.6633333+00:00

    Hi @Shu, Boots

    This error means that the target user is missing an Office 365 license.

    Hope this helps.

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


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.