Set-Mailbox : A parameter cannot be found that matches parameter name 'RecipientLimits'.

Ante Kotarac 20 Reputation points
2024-04-08T06:25:43.89+00:00

I'm trying to setup my account RecipientLimits in exchange using powershell.

Documentation clearly says this possible using "RecipientLimits" param, but this param is not there when I try to setup.

I'm using latest exchange online.set-mailbox

I tried this via exchange admin center ui, but this option doesn't have save option anymore.

ex-ui

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,186 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,068 questions
{count} votes

Accepted answer
  1. Vasil Michev 95,581 Reputation points MVP
    2024-04-08T16:07:59.0433333+00:00

    Looks like someone modified the default role assignments in your tenant? Run the following cmdlet:

    Get-ManagementRole -Cmdlet Set-Mailbox -CmdletParameters RecipientLimits
    

    This will return all the Roles that contain set cmdlet/parameter combo. Make sure your users is assigned (directly or via Role Group) to at least one of them. Then, restart PowerShell and try again.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful