The New Active Backup


Recommended Posts

  • 1 month later...

I successfully enabled Active Backup for Office 365. But when I try to log into my Office 365 account, I get an error.
 

error_description:AADSTS50000: There was an error issuing a token or an issue with our sign-in service. Trace ID: 6d80d6d8-9544-4628-a892-2299d97f1900 Correlation ID: 2d46a5f2-bb02-4231-ad96-cf9ba4dc433f Timestamp: 2019-12-19 12:17:36Z

error_uri:https://login.microsoftonline.com/error?code=50000

 

Is there anyone who can help?

Link to post
Share on other sites
  • 2 weeks later...

I created a support ticket at Synology, and got this answer from them.

 

Hi,

Thank you for contacting Synology support.

Sorry to learn of the issue that you are experiencing.

Recently, we have noticed that the OAuth process returns the error code “AADSTS50000” from Microsoft Office 365 Server leading to a failure of a backup task creation through Active Backup for Office 365. However, this issue does not affect the existing backup tasks.

We have already raised this issue with Microsoft support and they have confirmed that it has been archived as a known issue on their side. According to Microsoft, their expected time to fix this issue is yet to be confirmed, probably in late January or February 2020.

Therefore, if you are experiencing this issue and need an immediate action to resolve this problem, we recommend you to also contact Microsoft Support to speed up the process and follow up the progress.

Thank you for your understanding.

Apologies for any inconvenience that this may cause but hopefully this helps.

Link to post
Share on other sites
  • 3 weeks later...

Thank you!

 

Login (replace URL, PORT, USER, PASS)

https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS

 

ActiveBackup

https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=get&version=1

Set ActivationStatus (use your SERIALNUMBER)

https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER" 

ActiveBackup.thumb.png.c03ec64b465a7087e1b71dae7d396d5c.png

Edited by neronain
  • Like 1
Link to post
Share on other sites
  • 2 weeks later...

Hi everyone,

 

CAUTION, i followed tutorial in first page by HOPPLER and that did'nt work.. BECAUSE i tried with "https".

I tried in http mode and..success !!

 

So, if, like me, you just have an error like "ssl_error_rx_record_too_long" think about http connexion.

 

So the tutorial by HOPPLER become :

 

http://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS

http://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"

To get the current activation status call the 1. query above and then

http://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=get&version=1

 

PS : my connexion to DSM is in https (in fact, every page is in https, i don't explain why that didn't work properly..

Link to post
Share on other sites

  

On 2/3/2020 at 12:32 AM, Pandadoo said:

Hi everyone,

 

So, if, like me, you just have an error like "ssl_error_rx_record_too_long" think about http connexion.

 

PS : my connexion to DSM is in https (in fact, every page is in https, i don't explain why that didn't work properly..

 

Hi,

 

this error usually means you have a misconfigured local proxy. Those local proxys are in some cases created by your antivirus/firewall software which links inbetween an SSL/TLS connection but in your case just broke it. If you only have the windows onboard antivirus solution installed an nothing else maybe its worth lookin into possible trojans/viruses which sniff your connection

Link to post
Share on other sites
  • 2 weeks later...

thanks for the guide.

there are conditions for this communication, two way authentication should be temporarily off (error 402), host/port must be the same in the process, and in my case, couldn't use hostnames. Use private session not to store credentials to history.

Link to post
Share on other sites
On 12/7/2018 at 9:28 AM, hoppler said:

 

  • Login (replace URL, PORT, USER, PASS)
    • https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS

 

for ActiveBackup its the following urls

  • Get Activationstatus
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=get&version=1
  • Set ActivationStatus (use your SERIALNUMBER)
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER" 

 

for Office365 its the following urls

  • Get Activationstatus
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=get_activation&version=1
  • Set ActivationStatus (use your SERIALNUMBER)
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="SERIALNUMBER"

 

for GSuite its the following urls

  • Get Activationstatus
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=get_activation&version=1
  • Set ActivationStatus (use your SERIALNUMBER)
    • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="SERIALNUMBER"

 

Maybe the API has changed? I am using v2.0.5-0534 of Active Backup G Suite and (DSM DSM 6.2.2-24922 Update 4) it doesn't work.

 

1st step for Login is OK, it works, but 2nd and 3rd step are not working "{"error":{"code":102},"success":false}"

 

You did mention 102 code is because app is not started, I have opened it and tried to activate, uninstalled, re-installed, disabled 2FA, always the same. I have tried HTTPS or HTTP and also creating a new admin user with silly password like 123456789 in order to test it, so... I have tried also 3 backups apps, ActiveBackup Business, G suite, Office 360... none of them work.

 

I really think that this is because the API has changed and it is not working anymore.

 

Could you please help me? Can you all please confirm which version of ActiveBackup and DSM are you using? Thanks a lot

Edited by raultaboraz
Link to post
Share on other sites
  • 3 weeks later...
On 12/4/2018 at 5:24 PM, hoppler said:

There is a better way^^ Just activate it:

 

In your browser open the following urls one after another:

 

Replace the following: URL, PORT, USER, PASS, SERIALNUMBER (dont replace any other symbols like : oder ")

  1. https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS
  2. https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"

To get the current activation status call the 1. query above and then

  • https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=get&version=1

------------------------------

Example for

url: server,

port: 5001,

user: admin,

pass: admin,

serialnumber: 123400

  1. https://server:5001/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=admin&passwd=admin
  2. https://server:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="123400"

 

Thanks ..

 

Thecus N4800 Nas

DSM 6.2.2-24922-4

Edited by synologyturkey
Link to post
Share on other sites
  • 1 month later...
  • 5 weeks later...

AADSTS50020: User account 'hansdeweerd@hotmail.nl' from identity provider 'live.com' does not exist in tenant 'Synology' and cannot access the application 'af08ce07-1df9-4a39-b6e6-092ac934eb21'(Synology Active Backup for Office 365) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

 

When trying to login to micosoft accoun I used for my synology account, I get his error what does it mean?

Link to post
Share on other sites

Gentlemen. 

Just installed one more xpenology instance and succefully activate ABB but failed to activate ABO and ABG so i dug in my records and get this instructions. This is absolutely the same as OP but i want to point your attention to a few moments:

LOGIN FIRST - use uncommented link from my example

USE SERIAL NUMBER WITHOUT THE QUOTES

Here is mine own manual i created for myself it works for me without any issues. I tried it right now on two more fresh XPENOLOGY installs with ABB ABO ABG latest versions

Quote

#Login first (replace URL:xpenology2, PORT:5001, USER:exploit, PASS:C****)
#https://URL:PORT /webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS
    https://xpenology2:5001/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=exploit&passwd=C****

#    ActiveBackup its the following urls
#Get Activationstatus
    https://xpenology2:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=get&version=1
#Set ActivationStatus (use your SERIALNUMBER:C2LWN77777)
    https://xpenology2:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=C2LWN77777

#    for Office365 its the following urls
#Get Activationstatus
    https://xpenology2:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=get_activation&version=1
#Set ActivationStatus (use your C2LWN77777)
    https://xpenology2:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number=C2LWN77777

#    for GSuite its the following urls
#Get Activationstatus
    https://xpenology2:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=get_activation&version=1
#Set ActivationStatus (use your C2LWN77777)
    https://xpenology2:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number=C2LWN77777

 

  • Like 1
Link to post
Share on other sites
  • 3 months later...
On 6/7/2020 at 3:35 AM, EXPLOit said:

Gentlemen. 

Just installed one more xpenology instance and succefully activate ABB but failed to activate ABO and ABG so i dug in my records and get this instructions. This is absolutely the same as OP but i want to point your attention to a few moments:

LOGIN FIRST - use uncommented link from my example

USE SERIAL NUMBER WITHOUT THE QUOTES

Here is mine own manual i created for myself it works for me without any issues. I tried it right now on two more fresh XPENOLOGY installs with ABB ABO ABG latest versions

 

Thanks so much for this - had no end of trouble getting mine activated, password had special characters - fixed, other commands didnt work on my install, yours did. Then had an invalid SN, updated from google images sn which worked a charm.

 

Does anyone know if QuickConnect should work? When I try to login to link I get a "the system failed to perform the requested operation, there is an unknown error"

 

I Struggled to get a NIC to work initially, the 3rd HP box I used worked first time - Kept reading about the extra.lzma file but couldnt for the life of me find where it is and how to use it (if someone can link me I'd appreciate it as I'd rather use a different box if i can get the nic to work).

Also tried to get it working on a FreeNAS VM but the VM crashes after boot, gets to the find.synology.com prompt and then the vnc connection drops and wont reconnect with nothing on teh network - but thats for another day if anyone has any advice.

 

But for now I'm up and running on a HP Elitedesk, i5, 8Gb RAM, 2x 1TB drives in Raid1

 

Generally thanks so much for this forun and project - so much fun and so useful to tset the 365 backup before a charity I help out jumps to purchase the original hardware.

 

thanks everyone

H

Link to post
Share on other sites
  • 1 month later...

When I try this:
 

http://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"


I receive:
 

{"error":{"code":102},"success":false}


what's wrong?

Edited by maxime
Link to post
Share on other sites
7 hours ago, maxime said:

When I try this:
 


http://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"


I receive:
 


{"error":{"code":102},"success":false}


what's wrong?

Have you done LOG IN before ?

https://URL:PORT /webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS

Link to post
Share on other sites
On 2/4/2020 at 6:07 PM, hoppler said:

  

 

Hi,

 

this error usually means you have a misconfigured local proxy. Those local proxys are in some cases created by your antivirus/firewall software which links inbetween an SSL/TLS connection but in your case just broke it. If you only have the windows onboard antivirus solution installed an nothing else maybe its worth lookin into possible trojans/viruses which sniff your connection

Hoppler,

Can you please help me, getting the below error.

{"error":{"code":1024,"errors":{"params":{}}},"success":false}

 

tried the SN generator and couple of sn from google images. still same error. App is enabled/running on the nas box.

its a 918+ on a desktop.

Link to post
Share on other sites
On 11/21/2020 at 12:14 AM, EXPLOit said:

Have you done LOG IN before ?

https://URL:PORT /webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS

Yes. And it works
Only when I try this 

http://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"


I receive the error

Edited by maxime
Link to post
Share on other sites
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.