[GH-ISSUE #894] BUG: Adding mailbox permissions without automapping #455

Closed
opened 2026-03-02 12:42:23 +03:00 by kerem · 1 comment
Owner

Originally created by @Github-campai on GitHub (Apr 20, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/894

Describe the bug
When adding mailbox permissions without automapping the error: "Object reference not set to an instance of an object." is given. This happens in all tenants, SAM Permissions OK, Tenant checks 2 green, Cleared cache.

To Reproduce

  1. Go to Email & Exchange
  2. Go to Administration
  3. Go to Mailboxes
  4. Use the brown notepad/edit button
  5. Add a mailbox permission without automapping
  6. See screenshots for error.

Expected behavior
A new permission entry without automapping to be added to the mailbox permissions, we have used it previously on older builds with no issues.

Screenshots
AddMailboxPerm-NOAutomapping

AddMailboxPerm-Automapping

It still works fine if we use the standard, with automapping permissions.

Desktop (please complete the following information):

  • OS: Windows 11 22000.556
  • Browser: Edge
  • Version 100.0.1185.44

Additional context
Frontend 2.5.0
Backend 1.10.0

Originally created by @Github-campai on GitHub (Apr 20, 2022). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/894 **Describe the bug** When adding mailbox permissions without automapping the error: "Object reference not set to an instance of an object." is given. This happens in all tenants, SAM Permissions OK, Tenant checks 2 green, Cleared cache. **To Reproduce** 1. Go to Email & Exchange 2. Go to Administration 3. Go to Mailboxes 4. Use the brown notepad/edit button 5. Add a mailbox permission without automapping 6. See screenshots for error. **Expected behavior** A new permission entry without automapping to be added to the mailbox permissions, we have used it previously on older builds with no issues. **Screenshots** ![AddMailboxPerm-NOAutomapping](https://user-images.githubusercontent.com/60176256/164313653-fa6206bf-06c0-48b0-a463-50ce447197c8.png) ![AddMailboxPerm-Automapping](https://user-images.githubusercontent.com/60176256/164313677-d7c7af1e-b5eb-4729-b62c-c36fd2eefa45.png) It still works fine if we use the standard, with automapping permissions. **Desktop (please complete the following information):** - OS: Windows 11 22000.556 - Browser: Edge - Version 100.0.1185.44 **Additional context** Frontend 2.5.0 Backend 1.10.0
kerem 2026-03-02 12:42:23 +03:00
Author
Owner

@KelvinTegelaar commented on GitHub (Apr 21, 2022):

Fixed in dev.

<!-- gh-comment-id:1104927202 --> @KelvinTegelaar commented on GitHub (Apr 21, 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#455
No description provided.