Add-RecipientPermission not working in Exchange Online PowerShell RRS feed

  • Question

  • I’ve had issues with certain cmdlets. Specifically when running Add-RecipientPermission I get an error that says:

    ‘Active Directory operation failed on xxxxx.prod.outlook.com. This error is not retriable. Additional information: Access is denied.
    Active directory response: 00000005: SecErr: DSID-03152612, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0

    However, if I run the cmdlet Add-MailboxPermission that one goes through fine without permissions issues. what’s going on here? I’m authing with a cert and granted global administrator and Exchange Admin roles to the application’s service principal.

    Thank you for any help that you can provide.

    Thursday, August 20, 2020 6:57 AM

All replies

  • Please post the full scriptblock. It will be much easier to troubleshoot effectively if we can see the script. 

    Saturday, August 22, 2020 5:01 PM