Forum Discussion
TCM001
Oct 11, 2022Copper Contributor
Add-MailboxPermission not working?
Using EXO V2 (2.0.6) and V3 however Add-MailboxPermission now return: The term 'Add-MailboxPermission' is not recognized as the name of a cmdlet, function, script file, or operable program
I'm connected to EXO and tried to uninstall/reinstall V2 and V3 modules, however same error.
Using Add-MailboxPermission is part of https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#use-client-credentials-grant-flow-to-authenticate-imap-and-pop-connections and this was working for me earlier.
Any ideas?
- Did you check your permissions? You need the Mail Recipients role, at minimum.
2 Replies
- Did you check your permissions? You need the Mail Recipients role, at minimum.
- TCM001Copper ContributorThanks, yes I've seen this requirment and had to copy an existing EXO RBAC 'group' to add this permission and grant my self access, and possibly this was the issue all along because now it works again, however it took multiple hours before working after granting me this role - and its strange that this did work for me earlier. I had an MS ticket as well (33332245] - Add-MailboxPermission no longer works) and they said it was due to an 'outage'... In any case its now working for me again.