Get-MgUserCalendarView for Room Accounts

Dilip Sasikumar 31 Reputation points
2022-11-08T22:32:22.44+00:00

Could you please confirm whether Microsoft.Graph.Calendar cmdlets work for resource accounts/room mailboxes without an EXO license?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,106 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,315 questions
{count} votes

Accepted answer
  1. Srinivasa Rao Darna 6,701 Reputation points Microsoft Vendor
    2022-11-09T15:54:02.173+00:00

    Hi @Dilip Sasikumar ,

    If you are using delegated permissions, you should grant Calendars.Read.Shared to access resource mailboxes or shared mailboxes.
    If you are using application permissions, you should gran Calendars.Read to access resource mailboxes or shared mailboxes.

    permissions-reference

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

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Dilip Sasikumar 31 Reputation points
    2022-11-08T23:08:26.47+00:00

    It turned out to be a permission issue rather than a licensing issue. Once the permissions were corrected, the cmdlets started working for room mailboxes.
    Licensing is an issue for resource accounts only in Microsoft Graph Data Connect now.

    0 comments No comments