r/exchangeserver • u/Cocoamix86 • 27d ago
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.
1
u/The_Penguin22 26d ago
Same here in Alberta. Did you resolve it?
1
u/whitezone 25d ago
So we have found the command works for cloud based users but any users with ADSync fail with the RBAC error.
2
u/keiyoushi 27d ago
Known issue with Canadian customers. Open a support case.
2
u/Zabulon777 27d ago
The reoccurring meeting update still won't be out for a few weeks per Microsoft.
1
u/hatoke 27d ago
I was receiving the same error until I updated my exchangeonlinemanagement module to the latest version.
However now I get this error "A server side error has occurred because of which the operation could not be completed. Please try again after some time."
1
u/adixro 27d ago
Tried under my Exch Org role and dont even have that command available. Tried with our service connection using cert/app (Manage Exchange as application) that we use for all EXO mbx setup, updates etc and fails with the same error you encountered
1
u/Warm-Boysenberry7923 27d ago edited 27d ago
Is invoke-calendareventmigration even released yet? What platform are you guys using to run the command ? What is the version of ExchangeOnlineManagement that you are using?
I can't seem to find the cmdlet, I am exchange Admin, is there any additional role I need to assign myself to run the command?
1
u/GohanBelik MSFR SPPRT 27d ago
The command is not on production yet, it should be released by tomorrow once they confirm the rollout
1
u/rolandpenner 26d ago
I manage several tenants. In some tenants the Invoke-CalendarEventMigration is missing for some of the admin users. In some tenants the Invoke-CalendarEventMigration results in the RBAC error. And in other tenants the command works.
One difference I've noted is that the tenant where I'm getting the RBAC error, the admin user has a mailbox and Exchange license. In the working tenant the admin user does not have a license. Not sure if this is the cause, or just correlation.
1
u/Joshnv 23d ago
the command was added for my tenant Friday, but showed permission errors for most accounts Fri/Sat.
It appears to be working for most accounts now. Finally.
1
u/The_Penguin22 22d ago
Seems to be working today. So far...
0
u/7amitsingh7 26d ago edited 26d ago
Since the cmdlet was just released today I'd check the Exchange RBAC role assignments and scope for the affected mailbox first. Being a Global Admin doesn't necessarily mean every Exchange cmdlet will pass its mailbox-level permission checks. If the role assignments look correct and the same error persists I'd suspect an issue with the new cmdlet and report it to Microsoft before making any broad permission changes. It would be useful to know whether anyone else is seeing the same behavior.
Are you only looking to update calendar event time zones, or are you also planning to migrate mailboxes between Exchange environments or Microsoft 365 tenants?