Query on Room mailboxes

Glenn Maxwell 10,146 Reputation points
2023-03-01T21:36:46.3266667+00:00

Hi All

i using exchange 2016 hybrid environment. i have room mailboxes created in onprem as remote mailboxes. i want to know in last one month how many bookings have been made and who has booked the room and who are the attendees. is this possible to fetch this information.

Microsoft Exchange Online
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,174 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
507 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,345 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,884 questions
0 comments No comments
{count} votes

2 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Glenn Maxwell 10,146 Reputation points
    2023-03-03T15:08:57.12+00:00

    I have connected to exchange online and use the below script, i am getting below error please guide me

    https://github.com/NunoFilipeMota/PublicScripts/blob/main/GetMeetingRoomStats_GraphAPI.ps1

    PS C:\temp> .\GetMeetingRoomStats_GraphAPI.ps1 -RoomListSMTP "room1@contoso.com" -From "02/01/2023" -To "03/01/2023" 
    
    
    At C:\temp\GetMeetingRoomStats_GraphAPI.ps1:208 char:17
    +             Sign up
    +                 ~
    The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
    At C:\temp\GetMeetingRoomStats_GraphAPI.ps1:213 char:209
    + ... k Button--medium Button d-lg-none color-fg-inherit p-1">    <span cla ...
    +                                                                 ~
    The '<' operator is reserved for future use.
    At C:\temp\GetMeetingRoomStats_GraphAPI.ps1:431 char:13
    +       CI/CD &amp; Automation
    +             ~
    The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
    At C:\temp\GetMeetingRoomStats_GraphAPI.ps1:1355 char:96
    + ... ="" data-disable-with="" data-dropdown-tracking="{&quot;type&quot;:&q ...
    +                                                                 ~
    The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
    At C:\temp\GetMeetingRoomStats_GraphAPI.ps1:1355 char:103
    + ... a-disable-with="" data-dropdown-tracking="{&quot;type&quot;:&quot;blo ...
    +                                                                 ~
    The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
    At C:\temp\GetMeetingRoomStats_GraphAPI.ps1:1355 char:146
    + ... &quot;type&quot;:&quot;blob_edit_dropdown.more_options_click&quot;,&q ...
    +                                                                 ~
    The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
    At C:\temp\GetMeetingRoomStats_GraphAPI.ps1:1355 char:153
    + ... type&quot;:&quot;blob_edit_dropdown.more_options_click&quot;,&quot;co ...
    +                                                                  ~
    Missing expression after unary operator ','.
    At C:\temp\GetMeetingRoomStats_GraphAPI.ps1:1355 char:153
    + ... ype&quot;:&quot;blob_edit_dropdown.more_options_click&quot;,&quot;con ...
    +                                                                 ~
    Unexpected token '&' in expression or statement.
    At C:\temp\GetMeetingRoomStats_GraphAPI.ps1:1355 char:166
    + ... ot;blob_edit_dropdown.more_options_click&quot;,&quot;context&quot;:{& ...
    +                                                                 ~
    The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
    At C:\temp\GetMeetingRoomStats_GraphAPI.ps1:1355 char:193
    + ... options_click&quot;,&quot;context&quot;:{&quot;repository_id&quot;:34 ...
    +                                                                 ~
    The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
    Not all parse errors were reported.  Correct the reported errors and try again.
        + CategoryInfo          : ParserError: (:) [], ParseException
        + FullyQualifiedErrorId : AmpersandNotAllowed
     
    
    0 comments No comments