Skip to main content
Solved

Not allowed to access Non IPM folder.


We backup an O365 organization with Veeam Backup for Microsoft 365 7.1.0.1501. Everything went well, but tonight the backup of all mailboxes failed with error message: "Processing mailbox failed with error: Failed to get folder properties. Not allowed to access Non IPM folder." Also the backup of all teams failed with error message: "Failed to process team. Failed to get folder properties. Not allowed to access Non IPM folder." The backup of OneDrive and SharePoint worked properly. Any idea?

Best answer by Nakatomi

We received a response from support with two possible ways to fix the issue.

Without quoting the entire text, here are the cliff notes.
Fix version 1 is to follow the steps in this KB:
https://www.veeam.com/kb4340

Fix version 2 (the one we chose) is to edit the C:\ProgramData\Veeam\Backup365\Config.xml
(make a backup first) and change it like so:

<Veeam>
  <Archiver>
    <Proxy SkipTeamsMessagesDataFolders="True" />
    <Server Version="7.0" ProductVersion="7.1.0.1501 P20240123" />
[...]

Here the line starting with “<Proxy” was added right after the archiver tag.
Make sure to stop the Veeam Backup for Microsoft 365 and Veeam Backup Proxy for Microsoft 365 services before editing, start them afterwards.

We can confirm #2 fixes it.

Additional notes in the case response were:
 

During the backup process, Veeam gets the folders' properties of a mailbox and the TeamsMessagesData folder is not an exclusion. In the meantime, Microsoft has restricted access via EWS to Teams message data starting on January 31, 2023. Additional information can be found here: https://devblogs.microsoft.com/microsoft365dev/restricted-access-to-microsoft-teams-data-via-ews-starts-january-31-2023/

 



 

View original
Did this topic help you find an answer to your question?

17 comments

  • New Here
  • 2 comments
  • April 3, 2024

Same issue here this morning, same Veeam Backup for Microsoft 365 version.
Redid the Azure application connection, that didn’t help. Seems like Microsoft maybe changed something… (case opened)


  • New Here
  • 2 comments
  • April 3, 2024

Likewise - User & Shared Mailboxes are failing, Sites/Teams/OneDrive is all fine.


Forum|alt.badge.img

Encountered the same but only 1 tenant was affected and the rest are OK. I suggest you raise a ticket as well 


A support case was created.


  • New Here
  • 1 comment
  • April 3, 2024

Same issue here.


tobiasmaurer

Same issue with my client.


  • New Here
  • 1 comment
  • April 3, 2024

Got the same issue with at least 8 of my clients.


  • New Here
  • 2 comments
  • Answer
  • April 3, 2024

We received a response from support with two possible ways to fix the issue.

Without quoting the entire text, here are the cliff notes.
Fix version 1 is to follow the steps in this KB:
https://www.veeam.com/kb4340

Fix version 2 (the one we chose) is to edit the C:\ProgramData\Veeam\Backup365\Config.xml
(make a backup first) and change it like so:

<Veeam>
  <Archiver>
    <Proxy SkipTeamsMessagesDataFolders="True" />
    <Server Version="7.0" ProductVersion="7.1.0.1501 P20240123" />
[...]

Here the line starting with “<Proxy” was added right after the archiver tag.
Make sure to stop the Veeam Backup for Microsoft 365 and Veeam Backup Proxy for Microsoft 365 services before editing, start them afterwards.

We can confirm #2 fixes it.

Additional notes in the case response were:
 

During the backup process, Veeam gets the folders' properties of a mailbox and the TeamsMessagesData folder is not an exclusion. In the meantime, Microsoft has restricted access via EWS to Teams message data starting on January 31, 2023. Additional information can be found here: https://devblogs.microsoft.com/microsoft365dev/restricted-access-to-microsoft-teams-data-via-ews-starts-january-31-2023/

 



 


Update:

#1 as mentiond above,  doesn’t fix the problem on our enviroment.

#2 did indeed, but that means, the Teams public channel posts will not be backed up anymore.

####

We openend also an Supportcase our Clients had the same issue. The problem seems to be the backup of the folde TeamsMessagesData. Because of new restricted access over EWS, Teams public channel posts have to backup over Teams Export APIs → KB4340: How To Configure Veeam Backup for Microsoft 365 to Use Microsoft Graph Export API for Teams

 

So told by the Veeam support.


Same issue here


  • New Here
  • 2 comments
  • April 3, 2024
Ruben.Kandler wrote:

Update:

#1 as mentiond above,  doesn’t fix the problem on our enviroment.

#2 did indeed, but that means, the Teams public channel posts will not be backed up anymore.

####

We openend also an Supportcase our Clients had the same issue. The problem seems to be the backup of the folde TeamsMessagesData. Because of new restricted access over EWS, Teams public channel posts have to backup over Teams Export APIs → KB4340: How To Configure Veeam Backup for Microsoft 365 to Use Microsoft Graph Export API for Teams

 

So told by the Veeam support.

If you enable the Graph Export API, your users need the appropriate license for it to work. It’s not entirely clear whether the standard 365 Basic/Standard/Premium licenses include it and how many hits on the API you get.

My guess is Veeam are playing it safe to make sure people aren’t negatively impacted.


Like Nakatomi, we have received a reply from support, in which the same two options for solving the problem are shown.
We can also confirm that #2 fixes the problem.


  • New Here
  • 1 comment
  • April 3, 2024

I am seeing the same problem as well. Same build. Thanks for posting the fix.


  • New Here
  • 1 comment
  • April 4, 2024

Veeam has published KB: KB4569. This is the same solution published by Nakatomi.


I do not have the Config.xml file in the C:\ProgramData\Veeam Backup365 folder.


CarySun
Forum|alt.badge.img+7
  • Veeam Vanguard
  • 200 comments
  • April 4, 2024
jose-alberto.duque wrote:

I do not have the Config.xml file in the C:\ProgramData\Veeam Backup365 folder.

It’s in the C:\ProgramData\Veeam\Backup365


  • Comes here often
  • 12 comments
  • April 5, 2024

Neither fix helps me on the two sites where I use Veeam Backup for MS365. Latest build both sites. Not good,


Comment