Amend Mailbox Permissions Crate
What does the Amend Mailbox Permissions Crate do?
Easily manage permissions for mail-enabled mailboxes in your environment. This Crate allows you to add, remove, or view both FullAccess and SendAs permissions, ensuring that all changes are audited and logged in your PSA.
How the Crate works
Choose the mail-enabled mailbox you wish to manage.
Add, remove, or view FullAccess and SendAs permissions as required.
All changes are automatically logged in a ticket in your PSA for auditing purposes.
Workflow breakdown
The workflow begins at the START task, which calculates a count of permission operations to be performed based on the input parameters for adding or removing full access and send as permissions.
The workflow checks if PSA integration is properly configured by verifying that a default PSA system is set in the organization variables and determines the appropriate company ID based on the PSA type.
The system validates that the workflow is being executed from the associated form by checking for the presence of a user_id parameter in the context.
The workflow retrieves user information for the specified mailbox by executing a Get-Mailbox command through Microsoft Exchange Online InvokeCommand to obtain the display name and other mailbox details.
The system determines whether a ticket ID was provided as input and branches accordingly - if no ticket is provided, it proceeds to create a new PSA ticket, otherwise it updates the existing ticket with initial information.
If creating a new ticket, the workflow verifies that the company_id organization variable is properly configured before proceeding with PSA ticket creation using [REWST - PROCESS] PSA: Create Ticket and the mailbox user's display name in the summary.
After ticket handling, the workflow evaluates the add_remove_view parameter to determine the requested operation type and branches to the appropriate permission management path.
For adding permissions, the workflow first checks if there are users to be granted full access permissions and processes them using [REWST - TASK] Modify Mailbox Access with iterative execution for each user.
The system then checks for users requiring send as access permissions and processes those additions using the same [REWST - TASK] Modify Mailbox Access with appropriate permission settings.
For removing permissions, the workflow retrieves existing mailbox permissions using [REWST - OPT GEN] Get Mailbox Folder Permissions to identify current permission holders.
The system processes the existing permissions data to create lists of users whose full access and send as permissions need to be removed based on the input parameters.
The workflow removes full access permissions for identified users by iterating through the removal list and executing [REWST - TASK] Modify Mailbox Access for each user.
Similarly, the system removes send as permissions for the specified users through iterative execution of [REWST - TASK] Modify Mailbox Access.
After completing permission modifications, the workflow updates the PSA ticket with detailed information about which users had permissions added or removed using [REWST - PROCESS] PSA: Update Ticket, including their names and the specific permission types.
For view permissions operations, the workflow bypasses all modification steps and proceeds directly to the completion phase.
The workflow concludes at the END task using noop, which publishes the complete automation log containing all operation results and status information for tracking and auditing purposes.
Throughout the entire process, any task failures are routed to a failed task that logs the error using noop and proceeds to the End task to ensure proper workflow completion and logging.
Crate prerequisites
The Microsoft Cloud Integration Bundle must be set up before unpacking this Crate.
Your PSA must be integrated with Rewst.
Unpack the Amend Mailbox Permissions Crate
Navigate to Crates > Crate Marketplace in the left side menu Rewst platform.
Search for the
Amend Mailbox PermissionsCrate.Click on the Crate tile to begin unpacking.

This will open that PSA integration’s configuration form in a new tab. Note that this list will have check marks if you have already met the prerequisite integration and org variable setup needs.
Click Unpack Crate.
Choose your PSA from the drop down list.

Click Continue.
Change the Workflow name, if desired.
Leave form options at their default state.
Click Unpack.
Example: Unpack the Amend Mailbox Permissions Crate

Amend Mailbox Permissions form
Access the form
Navigate to Automations > Forms in the left side menu of your Rewst platform.
Search for
[Rewst] M365: Amend Mailbox Permissions.Click ⋮ > Usages > View Direct URLs.

Click on the form for the child organization, or use the parent org form for MSPs form users.
Fill out the form

Choose the specific client for whom permissions will be modified. Click the drop down arrow of the Client field, or begin typing the name into the field to jump to the client name.
Click the drop down arrow of the Ticket field, or begin typing the name into the field to jump to the ticket name related to the request.
Select the mail-enabled user to perform the permission modification action on.
Both of these mailbox types will work with the form:
Individual User Accounts:
[email protected]Shared Mailboxes:
[email protected]
Click on one of the following actions to specify the type of permission modification you would like to execute. Clicking on each will add additional relevant fields and options to the form.
Add Perms: Grant new access rights via Add Full Access Users to Selected Mailbox and Add Send As Access Users to Selected Mailbox
Remove Perms: Revoke existing access via Remove Existing Full Access Users and Remove Existing Send As Users
View Perms: Check current access levels via All Perms permission data check
Click Submit.
Add permissions form example
Fields:
Client: Cluck-U
Ticket: Grant John Smith the mailbox access.
User:
[email protected]Action Type: Add Perms
Add Full Access Users:
Add Send As Access Users:

Remove permissions form example
Fields:
Client: Cluck-U
Ticket: Remove John Smiths access
User:
[email protected]Action Type: Remove Permissions
Remove Existing Full Access Users:
View permissions form example
Fields:
Client: Cluck-U
Ticket: Report mailbox permissions for John Smith
User:
[email protected]Action Type: View Permissions
Example Permission Data for
[email protected]This user has access to the Shared Mailbox - HR Assistant - [email protected] mailbox Full Access Users
User: [email protected] Access Rights: Full Access
User: [email protected] Access Rights: Full Access
Send As Users User: [email protected] Access Rights: Send As
User: [email protected] Access Rights: Send As

What happens during permission modifications?
Adding permissions
User verification process
Validates user identities across the organization
Ensures users are correctly mapped to the intended mailbox
Checks existing permission levels before addition
Permission granting workflow
Systematically applies requested access rights
Supports multiple simultaneous permission additions
Handles complex permission scenarios across different user groups
Comprehensive tracking
Generates detailed audit trail of all permission changes
Captures metadata about the permission modification
Links permission changes to specific organization context
Notification and documentation
Automatically creates or updates support tickets
Logs all permission modification details
Provides clear, traceable record of access changes
Removing permissions
Permission revocation process
Methodically removes specified access rights
Supports bulk and individual user permission removals
Ensures complete and immediate access termination
Access validation
Confirms current permission status before removal
Prevents unnecessary or redundant access revocation
Maintains integrity of mailbox access controls
Security and compliance tracking
Creates comprehensive removal logs
Documents rationale for permission changes
Supports organization security and compliance requirements
Automated reporting
Updates relevant ticketing systems
Generates immediate notifications of access changes
Provides clear audit trail for management review
Viewing permissions
Comprehensive access snapshot
Retrieves complete permission landscape for a mailbox
Displays all current access levels and user rights
Offers granular visibility into mailbox access configurations
Detailed permission mapping
Shows Full Access and Send As permission details
Identifies all users with specific mailbox access
Provides context for each permission type
Reporting and insights
Generates instant permission overview
Supports security audits and access reviews
Enables quick identification of potential access risks
Flexible exploration
Allows drill-down into specific permission details
Supports various reporting and export formats
Facilitates comprehensive access management
Last updated
Was this helpful?


