Maintain control of your Microsoft 365 data
Post Reply
dan.kennedy
Service Provider
Posts: 37
Liked: 4 times
Joined: Mar 12, 2019 10:20 am
Full Name: Dan Kennedy
Contact:

The remote server returned an error: (400) Bad Request.

Post by dan.kennedy »

We are getting a warning for a single user's OneDrive backup:

Processing OneDrive (https://xxxxxxx-my.sharepoint.com/personal/xxxxxxx_com) finished with warning: Failed to backup item: , The remote server returned an error: (400) Bad Request.

This warning has been happening since we set the job up - it only affects this one user.
I've logged into OneDrive with our admin account and all the permissions seem fine. They do not use MFA at this organisation so that is not the cause.

Has anyone else come across this error and managed to resolve?

We are running version 2.0.0.814

CASE ID: 03458237
HannesK
Product Manager
Posts: 14840
Liked: 3086 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: The remote server returned an error: (400) Bad Request.

Post by HannesK »

Hello Dan,
first of all, welcome to the forums.

I have seen that you uploaded the logs just a few minutes ago, so I suggest to wait for an answer from support what's wrong with that one user.

Best regards,
Hannes
Polina
Veeam Software
Posts: 3195
Liked: 774 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: The remote server returned an error: (400) Bad Request.

Post by Polina »

Dan,

Do you know if this user has ever logged in to their OneDrive? If not, this might be the root cause.
dan.kennedy
Service Provider
Posts: 37
Liked: 4 times
Joined: Mar 12, 2019 10:20 am
Full Name: Dan Kennedy
Contact:

Re: The remote server returned an error: (400) Bad Request.

Post by dan.kennedy »

Hi Polina,

Yes, the user has a few GB of data in there and they use it quite regularly.

Regards,
Dan
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: The remote server returned an error: (400) Bad Request.

Post by nielsengelen »

Error 400 usually (not always) means the URL we request and receive is malformed in a way. Best would be to let support handle this for now as it could be an issue with the specific file/folder or pathname.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
dan.kennedy
Service Provider
Posts: 37
Liked: 4 times
Joined: Mar 12, 2019 10:20 am
Full Name: Dan Kennedy
Contact:

Re: The remote server returned an error: (400) Bad Request.

Post by dan.kennedy » 2 people like this post

Just in case anyone else comes across this - the issue for us was caused by a single XML file in the user's OneDrive that Microsoft had flagged as malware (it had a red shield with a little x beside it when viewing his files in the portal).

Once i got the user to remove this file from his OneDrive the backup went through without warnings.

Regards,
Dan
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: The remote server returned an error: (400) Bad Request.

Post by nielsengelen »

Thanks for sharing Dan! Good to know this can happen.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
tommy.lidal
Influencer
Posts: 20
Liked: never
Joined: Dec 15, 2016 7:15 am
Full Name: Tommy Lidal
Location: Norway
Contact:

Re: The remote server returned an error: (400) Bad Request.

Post by tommy.lidal »

We got the same issue, user deleted it and now the problem exists in /PreservationHoldLibrary/ and user cant delete it cause og the setting set in O365 Policy.
i gues this is the reson;:
https://docs.microsoft.com/en-us/office ... protection
i think i'll have to open a supportcase with MS and make them delete the file (s)

We are running O365 v3.0
Mike Resseler
Product Manager
Posts: 8191
Liked: 1322 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: The remote server returned an error: (400) Bad Request.

Post by Mike Resseler » 1 person likes this post

Tommy,

We indeed get errors when a file (or files) are flagged. This is something that MSFT has created as a security. We are thinking on how to work around this, however, since we can't query the state, we are not always certain that the bad request effectively is a malware issue. Something we need to figure out :-)
kmbundgaard
Veeam Software
Posts: 216
Liked: 21 times
Joined: May 01, 2017 11:15 am
Full Name: Karsten Bundgaard
Contact:

Re: The remote server returned an error: (400) Bad Request.

Post by kmbundgaard »

Hi Mike,

Are there any updates on this as I have a customer with the same issue as Tommy.lidal mention.

Failed to backup item: /personal/xxx/PreservationHoldLibrary/xxxxx.zip, The remote server returned an error: (400) Bad Request
Polina
Veeam Software
Posts: 3195
Liked: 774 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: The remote server returned an error: (400) Bad Request.

Post by Polina »

Hi Karsten,

As the file is blocked by Microsoft antivirus, the only option is still to delete it from the source.
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests