Causes of MapiExceptionNotAuthorized Error Sending to Public Folders

In some scenarios a mailbox user sending emails to a mail-enabled Public Folder may receive an undeliverable message in reply.

The message contains the following error details:

#550 5.2.0 STOREDRV.Deliver: The Microsoft Exchange Information Store service
reported an error.  The following information should help identify the cause
of this error: "MapiExceptionNotAuthorized:16.18969:57080000..."

This error can occur under a variety of configurations relating to Public Folder client permissions.

External Senders

External senders will receive the error if the Public Folder does not permit “Anonymous” to create new items.

[PS] C:\>Get-PublicFolderClientPermission \pftest

Identity                   User                       AccessRights
--------                   ----                       ------------
\pftest                    Default                    {FolderVisible}
\pftest                    mycompany.local/Users/A... {Owner}
\pftest                    Anonymous                  {None}

To grant this access run the following command in the Exchange Management Shell.

[PS] C:\>Add-PublicFolderClientPermission \pftest -User Anonymous -AccessRights CreateItems

Identity                   User                       AccessRights
--------                   ----                       ------------
\pftest                    Anonymous                  {CreateItems}

Internal Senders

Internal senders are able to be authenticated by the Exchange server, and so are not treated as Anonymous. For internal senders the user must have at least Create Items permissions on the Public Folder. For general use Public Folders this can be granted as the “Default” permission.

To grant this access run the following command in the Exchange Management Shell.

[PS] C:\>Add-PublicFolderClientPermission \pftest -user Default -AccessRights CreateItems

Identity                   User                       AccessRights
--------                   ----                       ------------
\pftest                    Default                    {Contributor}

Internal Senders Alternate Scenario

Because internal senders are being authenticated by the Exchange server their group membership is taken into consideration. When the Exchange server receives a new item from an internal sender it takes the following basic steps:

  1. Maps the sender address to a user account object (this occurs even if the email was not sent by the user themselves, eg was sent via Telnet)
  2. Enumerates the user’s group membership
  3. Assesses the group membership against the ACLs on the Public Folder
  4. Permits or denies the mail item depending on the ACL

Because of this process the Exchange server must have Read access to the groups that the sender is a member of, including direct membership and indirect membership (eg by nested groups).

If the Exchange server cannot read a group object it will deny the mail item and the user will receive the undeliverable message with “MapiExceptionNotAuthorized”.  The reason for this is that it is designed to fail in a secure way (ie, “I can’t verify your access therefore I will deny you”), rather than an insecure way (ie “I can’t verify your access therefore I will permit you”).

With that in mind you would need to investigate all of the direct and indirect group membership for the user and try to locate a group object that does not have the Exchange Servers group with Read access in its ACL.  Most commonly this will occur when the group is in a Domain in the Forest that has not been prepped for Exchange, or is in an OU where permissions inheritance has been disabled.

Correcting the ACL on the group objects should resolve the undeliverable “MapiExceptionNotAuthorized” error in those cases.

About Paul Cunningham

Paul is a Microsoft Exchange Server MVP and publisher of Exchange Server Pro. He also holds several Microsoft certifications including for Exchange Server 2007, 2010 and 2013. Connect with Paul on Twitter and Google+.

Comments

  1. Kirk Lashbrook says:

    “If the Exchange server cannot read a group object it will deny the mail item… ”

    Very helpful info !

    I’ve had to troubleshoot this issue for internal users randomly not being able to send messages to a public folder. It’s not always the “CreateItems” permission on the PF that we would all check first.

  2. Thanks!

    The problem was resolved for us when I gave the anonymous user only the “Create items” permission on that public folder.

    I didn’t need to use powershell, Just:
    -RightClick the folder in Outlook
    -Click Permissions
    -Select Anonymous
    -Permission Level DropDown to “Contributor”
    -Unchecked “Folder visible”

    Works perfectly – Thanks again!

  3. Hi Paul Mattson
    Used your method, and it solved my problem,
    Thank you
    Mikkel

  4. Christian Kjær says:

    Thanks.

    Solved my problem.

    Regards

    Christian

  5. Thanks Paul, just what I was looking for.

  6. Paul! Your thing did the trick! Thanks!

  7. Yours did the trick Mr. Mattson.

    Thanks

  8. Christophe says:

    Thanks !
    It works far better now I have permitted “Anonymous” & “default” to create new items …

Leave a Comment

*

We are an Authorized DigiCert™ SSL Partner.
Loading...

Still running Exchange 2003? Time to get moving and start your upgrade. Find out how - Click Here