Comprehensive data protection for all workloads
Post Reply
superdevo
Influencer
Posts: 17
Liked: 2 times
Joined: Oct 16, 2019 7:43 pm
Full Name: David Torreggiani
Contact:

V10 - Exchange item restore fails after Veeam upgrade

Post by superdevo »

Hi guys,
we're having a pretty serious issue.
After V10 upgrade we get a 401 unauthorized error when trying to restore emails.
Currently we're running Exchange on prem 2010 SP3 fully patched.

I have a case open with Veeam (04311007). So far we've verified that full access and impersonation is granted and working. EWS is reachable. Tried with IP and FQDN, tried a specific congif to avoid system proxy:

<Veeam>
<Ews UseSystemProxy="False" />
<Exchange>
<Restore>
<Autodiscover UseSystemProxy="False" />
</Restore>
</Exchange>
</Veeam>

And we still get the same issue. Has anyone seen anything similar?

Code: Select all

8/2/2020 1:22:23 AM   24 (1172)   Opening root folder without impersonation...
8/2/2020 1:22:23 AM   24 (1172) Connection 9b6f62d3-4cc1-4d3c-ae2d-fcf17f8f0834 is closed
8/2/2020 1:22:25 AM   24 (1172) Error: Cannot open mailbox: testxxx@xxx.com.
8/2/2020 1:22:25 AM   24 (1172) Error: Failed to access mailbox.
8/2/2020 1:22:25 AM   24 (1172) Error: The request failed with HTTP status 401: Unauthorized.
8/2/2020 1:31:30 AM   26 (5424) Connecting to Exchange Web Services (server: xxxx, account: testxxx@xxx.com, ID: 3e4f3045-b449-4a21-b93b-dbd7e955bf1c)...
8/2/2020 1:31:30 AM   26 (5424) Microsoft Exchange Web Services binding path: https://xxxxxx/EWS/Exchange.asmx
8/2/2020 1:31:30 AM   26 (5424)   Opening root folder using impersonation...
8/2/2020 1:32:01 AM   26 (5424) Error: Cannot open mailbox: testxxx@xxx.com.
8/2/2020 1:32:01 AM   26 (5424) Type: System.Exception
8/2/2020 1:32:01 AM   26 (5424) Stack:
8/2/2020 1:32:01 AM   26 (5424)    at Veeam.Exchange.Restore.Restore.ExchangeConnection.OpenSpecialMailboxFolders(IEwsHolder ews, IExMailbox mailbox, IRestoreConfig config, String targetEmail)
   at Veeam.Exchange.Restore.Restore.ExchangeConnection.OpenSpecialMailboxFoldersWithImpersonation(IEwsHolder ews, IExMailbox mailbox, IRestoreConfig config)
8/2/2020 1:32:01 AM   26 (5424) Error: Failed to access mailbox.
8/2/2020 1:32:01 AM   26 (5424) Type: Veeam.Ews.Internal.ExNetworkException
8/2/2020 1:32:01 AM   26 (5424) Stack:
8/2/2020 1:32:01 AM   26 (5424)    at Veeam.Ews.ExError.Throw(WebException error, String format, Object[] args)
   at Veeam.Ews.ExError.Catch(Action action, String format, Object[] args)
   at Veeam.Ews.ExError.Catch[T](Func`1 func, String format, Object[] args)
   at Veeam.Ews.ExMailbox.GetWellKnownFolder(String mail, DistinguishedFolderIdNameType id, IReadOnlyDictionary`2 requestProps, CancellationToken cancel)
   at Veeam.Ews.ExMailbox.GetMsgRootFolder(IReadOnlyDictionary`2 requestProps)
   at Veeam.Exchange.Restore.Restore.Retry.ExMailboxRetry.GetMsgRootFolder(IReadOnlyDictionary`2 requestProps)
   at Veeam.Exchange.Restore.Restore.ExchangeConnection.GetMsgRootFolder(IEwsHolder ews, IExMailbox mailbox, IRestoreConfig config, Boolean impersonate)
   at Veeam.Exchange.Restore.Restore.ExchangeConnection.OpenSpecialMailboxFolders(IEwsHolder ews, IExMailbox mailbox, IRestoreConfig config, String targetEmail)
8/2/2020 1:32:01 AM   26 (5424) Error: The request failed with HTTP status 401: Unauthorized.
HannesK
Product Manager
Posts: 14287
Liked: 2877 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: V10 - Exchange item restore fails after Veeam upgrade

Post by HannesK »

Hello,
I just read through the case and the setup is fully supported. I'm not sure whether it is really related to a V10 upgrade or whether something else.

Forum search does not show any results for your issue, so I can only recommend to continue with support.

Best regards,
Hannes
Andreas Neufert
VP, Product Management
Posts: 6707
Liked: 1401 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: V10 - Exchange item restore fails after Veeam upgrade

Post by Andreas Neufert » 1 person likes this post

Veeam uses EWS to communicate with the server. You can check with your used user and a script if this is working.
https://www.msxfaq.de/code/testews.htm
Post Reply

Who is online

Users browsing this forum: Google [Bot], xzvf and 200 guests