[GH-ISSUE #964] BUG: View Mobile Devices on Mailbox not working #509

Closed
opened 2026-03-02 12:42:49 +03:00 by kerem · 2 comments
Owner

Originally created by @schneiderbw on GitHub (Jun 12, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/964

Describe the bug
The screen to view mobile devices associated with a mailbox returns the following React error:
Objects are not valid as a React child (found: object with keys {value, DateTime}). If you meant to render a collection of children, use an array instead.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Email & Exchange > Administration > Mailboxes
  2. Identify a mailbox from the list that would have mobile devices associated with it, and click the Mobile Devices icon
  3. Error message appears

Expected behavior
A table of associated mobile devices should appear.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10 Pro 21H2
  • Browser Edge (Chromium)
  • Version 102.0.1245.33

Additional context
Log from function app:

2022-06-12T21:28:56.510 [Information] Executing 'Functions.ListMailboxMobileDevices' (Reason='This function was programmatically called via the host APIs.', Id=87fef0cb-cc71-4090-8d68-380ed4011f00)
2022-06-12T21:28:56.660 [Information] INFORMATION: Not writing to log file - Debug mode is not enabled.
2022-06-12T21:28:56.662 [Information] INFORMATION: PowerShell HTTP trigger function processed a request.
2022-06-12T21:28:56.662 [Information] INFORMATION: ULGSO.onmicrosoft.com
2022-06-12T21:28:56.663 [Information] INFORMATION: J********@example.com
2022-06-12T21:28:58.482 [Information] Executed 'Functions.ListMailboxMobileDevices' (Succeeded, Id=87fef0cb-cc71-4090-8d68-380ed4011f00, Duration=1972ms)
Originally created by @schneiderbw on GitHub (Jun 12, 2022). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/964 **Describe the bug** The screen to view mobile devices associated with a mailbox returns the following React error: `Objects are not valid as a React child (found: object with keys {value, DateTime}). If you meant to render a collection of children, use an array instead.` **To Reproduce** Steps to reproduce the behavior: 1. Go to Email & Exchange > Administration > Mailboxes 2. Identify a mailbox from the list that would have mobile devices associated with it, and click the Mobile Devices icon 3. Error message appears **Expected behavior** A table of associated mobile devices should appear. **Screenshots** ![image](https://user-images.githubusercontent.com/4354192/173254506-3c0f5440-0cc8-4faa-bc31-153809b64f23.png) **Desktop (please complete the following information):** - OS: Windows 10 Pro 21H2 - Browser Edge (Chromium) - Version 102.0.1245.33 **Additional context** Log from function app: ``` 2022-06-12T21:28:56.510 [Information] Executing 'Functions.ListMailboxMobileDevices' (Reason='This function was programmatically called via the host APIs.', Id=87fef0cb-cc71-4090-8d68-380ed4011f00) 2022-06-12T21:28:56.660 [Information] INFORMATION: Not writing to log file - Debug mode is not enabled. 2022-06-12T21:28:56.662 [Information] INFORMATION: PowerShell HTTP trigger function processed a request. 2022-06-12T21:28:56.662 [Information] INFORMATION: ULGSO.onmicrosoft.com 2022-06-12T21:28:56.663 [Information] INFORMATION: J********@example.com 2022-06-12T21:28:58.482 [Information] Executed 'Functions.ListMailboxMobileDevices' (Succeeded, Id=87fef0cb-cc71-4090-8d68-380ed4011f00, Duration=1972ms) ```
Author
Owner

@github-actions[bot] commented on GitHub (Jun 22, 2022):

This issue is stale because it has been open 10 days with no activity. We will close this issue soon. If you want this feature implemented you can contribute it. See: https://cipp.app/GettingStarted/Contributions/ . Please notify the team if you are working on this yourself.

<!-- gh-comment-id:1162551887 --> @github-actions[bot] commented on GitHub (Jun 22, 2022): This issue is stale because it has been open 10 days with no activity. We will close this issue soon. If you want this feature implemented you can contribute it. See: https://cipp.app/GettingStarted/Contributions/ . Please notify the team if you are working on this yourself.
Author
Owner

@KelvinTegelaar commented on GitHub (Jun 27, 2022):

Fixed in dev

<!-- gh-comment-id:1167330474 --> @KelvinTegelaar commented on GitHub (Jun 27, 2022): Fixed in dev
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#509
No description provided.