Connecting to remote server failed: access denied

Maintain control of your Microsoft Office 365 email data

Connecting to remote server failed: access denied

Veeam Logoby cnwiuser » Wed Oct 12, 2016 6:42 pm

Here is what I did.

Created new backup job. Ran the job to the C:\veeamrepo folder

I then created a share on another PC and shared it out to a domain user called veeam.
I changed the options and changed the destination to \\OtherPC\Sharename

I had trouble so I changed the Veeam services to logon with the veeam user account.

I still had trouble connecting and received this error when trying to run the veeam for O365 backup:

10/12/2016 6:32:20 PM :: Connecting to remote server failed with the following error message : [ClientAccessServer=XXXXXX,BackEndServer=XXXXXXXX.namprd04.prod.outlook.com,RequestId=XXXXXX,TimeStamp=10/12/2016 6:32:20 PM] Access Denied For more information, see the about_Remote_Troubleshooting Help topic.

I then changed the repo destination back to the C:\veeamrepo folder. I know get the same error.

I try to create a new backup job, and it can't connect to the mailboxes with the org domain credentials.

Any thoughts?
cnwiuser
Lurker
 
Posts: 2
Liked: never
Joined: Wed Oct 12, 2016 6:34 pm
Full Name: Ben Gabrielli

Re: Connecting to remote server failed: access denied

Veeam Logoby Kostya » Thu Oct 13, 2016 12:17 pm

Hi Ben, the issue relates to the service account change. Once you change it, the service cannot decrypt credentials stored in the configuration DB. To resolve that, please stop all jobs, edit your org unit by retyping your password and then save the changes. After that jobs should work fine.
Kostya
Veeam Software
 
Posts: 104
Liked: 28 times
Joined: Mon Jun 18, 2012 9:38 am
Full Name: Kostya Yasyuk

Re: Connecting to remote server failed: access denied

Veeam Logoby cnwiuser » Thu Oct 13, 2016 6:25 pm

That resolved it.
Thank you!
cnwiuser
Lurker
 
Posts: 2
Liked: never
Joined: Wed Oct 12, 2016 6:34 pm
Full Name: Ben Gabrielli

Re: Connecting to remote server failed: access denied

Veeam Logoby DDIT » Wed Dec 13, 2017 9:01 am

Hi,

I just want to add that I had this same error after changing nothing - my backups had been working fine for weeks. I attempted to login via the Office 365 Admin Portal and was prompted to update my current password as it had expired. After changing this, I updated the password in Veeam and my backups worked.

Thanks.
DDIT
Enthusiast
 
Posts: 55
Liked: 9 times
Joined: Thu Oct 29, 2015 5:58 pm
Full Name: Michael Yorke

Re: Connecting to remote server failed: access denied

Veeam Logoby Mike Resseler » Wed Dec 13, 2017 10:08 am

Thanks Michael!

I'm sure others will encounter this also and will be able to solve it thanks to your tip!
Appreciate it

Cheers
Mike
Mike Resseler
Veeam Software
 
Posts: 4273
Liked: 480 times
Joined: Fri Feb 08, 2013 3:08 pm
Location: Belgium, the land of the fries, the beer, the chocolate and the diamonds...
Full Name: Mike Resseler


Return to Veeam Backup for Microsoft Office 365



Who is online

Users browsing this forum: No registered users and 3 guests