r/exchangeserver • • Oct 28 '26

MS KB / Update New Invoke-CalendarEventMigration command running into RBAC issues

Anyone run into this yet? I know the command was just barely released today... Maybe MS messed up in the implementation of it? I am running the command as the global admin.

Here's the command I'm using:
Invoke-CalendarEventMigration -Identity <user> -FromWindowsTimeZoneId "Central Standard Time" -ToWindowsTimeZoneId "Manitoba Standard Time" -QueryStartDate 2026-11-01 -Confirm:$false

Error:
Write-ErrorMessage : ||You do not have permission to access the mailbox '<id here>'. The mailbox is outside your RBAC scope. Please verify you have the necessary permissions.

4 Upvotes

27 comments sorted by

View all comments

Show parent comment

1

u/Winter_Active_2182 Oct 29 '26

I also don't have the cmdlet available yet. I made a ticket, but no progress so far, the first response is all the things i've already been doing.

1

u/adixro Oct 29 '26

On the first ticket response they asked me to check the roles etc but it makes no sense. Who knows...it rolled out today so maybe something out of sync. Did you got the same questions...check get-managementrole -command invoke-calendar....etc?

1

u/Winter_Active_2182 Oct 29 '26

This was my first response:

Reconnect to Exchange Online PowerShell using the latest Exchange Online module, then verify whether the cmdlet is exposed by running Get-Command Invoke-CalendarEventMigration ; this cmdlet is cloud-only, so it should appear in Exchange Online when available. [1]

Confirm your account has permission to run the cmdlet because Exchange cmdlet availability can depend on assigned permissions, and some parameters or cmdlets may not appear if your role assignments don’t include them. [1]

Validate the cmdlet name and expected behavior by checking for Invoke-CalendarEventMigration specifically; it migrates calendar items one mailbox at a time, supports preview mode, and currently applies to single-instance meetings and appointments in the default Calendar folder. [1]

If the steps above didn’t resolve the issue, please provide the following details:

Are you seeing this for a single admin account or multiple admin accounts?

What is the exact output from Get-Command Invoke-CalendarEventMigration or the error returned when you run the cmdlet?

1

u/adixro Oct 29 '26

Ok. I think we just have to wait it out unfortunately.

1

u/adixro Oct 29 '26

This is their first response...More information Requested:

Confirm the execution context - Are you running Invoke-CalendarEventMigration in Exchange Online PowerShell with app-only authentication, and what is the exact error text returned when the cmdlet is invoked? Check whether the issue is tenant-wide or app-specific - Has this same service principal successfully run other Exchange Online cmdlets, and does the problem occur for all target mailboxes or only specific organizers? Verify which RBAC role exposes the cmdlet - In Exchange Online PowerShell, run Get-ManagementRole -Cmdlet Invoke-CalendarEventMigration and then Get-ManagementRoleAssignment for the returned role names to identify which role group or assignment grants access. This is the supported method to find the required RBAC permissions for any Exchange Online cmdlet. [2] Validate application access beyond Exchange.ManageAsApp - Exchange.ManageAsApp enables app-only Exchange Online PowerShell connectivity, but Exchange roles still must be assigned to the service principal within Exchange Online RBAC. Missing Exchange-side role assignments can prevent app-only identities from using specific cmdlets. [3] Compare against expected cmdlet behavior - Invoke-CalendarEventMigration is an Exchange Online cloud-only cmdlet and requires assigned permissions before use; parameter availability can also vary based on the permissions included in the assigned role. If Get-ManagementRole returns no matching role entry for the cmdlet, that points to missing RBAC exposure for the app or tenant customization of roles. [1][2]

1

u/Winter_Active_2182 Oct 29 '26

I just heard back from Microsoft:

Thank you for reaching out to Microsoft Support.

I understand that the Invoke-CalendarEventMigration cmdlet is currently not available when you connect to Exchange Online PowerShell.

The initial rollout of this new functionality was planned for this timeframe. However, we are currently tracking an issue affecting the availability of the cmdlet, and a revised rollout plan is being worked on.

The current target for the updated rollout is November 9, 2026. Please note that this is an estimated timeframe and is not guaranteed, as the rollout schedule may change.

We will continue to monitor the progress and keep you updated. Any official customer-facing communication regarding the rollout will also be made available through the appropriate Microsoft 365 communication channels when published.

Thank you for your patience and understanding.