Jump to content
XPEnology Community

Recommended Posts

Posted (edited)
On 1/1/2023 at 5:51 PM, alx0101 said:

I've created a page that generates the links required.

 

https://alxr0101.github.io/

 

 

Just input your details, hit the Get Links button and then copy each of the two links generated.

 

IMPORTANT:

Need to run these in  a "clean" tab...ie cannot be logged in. Easiest is run a new INCOGNITO WINDOW (chrome) or equivalent in EDGE ("new InPrivate WIndow")/Firefox etc.

Then paste each into the SAME address bar, the LOGIN one first followed by the ACTIVATE.

 

 

Works fantastic!

DS1621xs+

DSM 7.2.1-69057 Update 3

Edited by zedaz
  • 1 month later...
Posted

For those who are at fault

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

with ABB, Office365, Gsuite. This is my fix, it works with my DSM7.1 (installed on VMWare Esxi)
First Line:

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


**Important: Before going to Second line (Most of you get error 102 here)
Go to Package Center -> Download ABB (Office365 or Gsuite depending on you). After installation, turn it off. Then go to the browser (remember to be Incognito). That means I installed it and then I activated it.
for ABB
Second Line:

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


Third Line:

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


for Office 365
Second Line:

https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=get_activation&version=1


Third Line:

https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="SERIALNUMBER"


for G-Suite
Second Line:

https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=get_activation&version=1


Third Line:

https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="SERIALNUMBER"

Just try it. have fun! 😀

  • Like 1
Posted (edited)

 

For DSM 7.2.1-69057 Update 4

 

worked for me this:

 

 

https://IP:PORT/webapi/entry.cgi?api=SYNO.API.Auth&version=6&method=login&account=LOGIN&passwd=PASS

 

When making an HTTPS API call where the password (or any other parameter) includes special characters like + / & etc.., it's important to correctly encode these characters so they are properly interpreted by the server. In URLs, the + character is typically interpreted as a space, so it needs to be encoded as %2B to be correctly transmitted.

Edited by nordscan
  • 2 weeks later...
Posted (edited)

Hello all,

 

Password set to ABC123, two-factor login disabled.

 

that doesn't work for me. i tried every time in incognito tab for line 1 and in SAME tab, copy/paste line 2

 

I got SUCCESS with line 1 every time.

I got error 102 with line 2, whatever the package to activate.

I tried to download and install Active backup gsuite and stop it, then line 2, error 102 again.

 

i'm in DSM 7.1.1-42962 Update 3 with HP Gen10+ baremetal

Edited by Pandadoo
  • 1 month later...
Posted

HI,

I do have a genuine serial number, DS918+.

I setup MS 365 and logged in with that, i cannot create anything, as it asks for a works account for MS.

 

So i tried the steps above but keep getting  {
    "error": {
        "code": 400
    },
    "success": false
}

Any workaround for this.

 

Cheers guys / gals

 

Posted (edited)

Hello. Its work on DSM 7.2?

https://192.168.1.67:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format=%20cookie&account=user&passwd=123456

{"data":{"did":"aEhem5MhobTxyWki1rDuH9DKdY-K90QD6_-fabowKbZ2g6P1fu7FgHG5FFNiVtWGeb2knI3lAD5Vqb0qeTy6aQ","sid":"KStseq50dAJjdKPq5LWqR0nycGOAWTIBSlfImzkNWfE82kiE0CnHBi5jtcZeXXpzGx0try55iElEZNHFhQbAiI"},"success":true}

 

Step 2 

https://192.168.1.67:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=ADF365

 

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

 

Wath im do wrong?

 

Sorry im find my false. serial not anyway 😃 seril on in my machine

Edited by defrag
Posted (edited)

This is so frustrating....

 

http://192.168.x.xxx:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format= cookie&account=Admin&passwd=Admin&otp_code=

success true

http://192.168.x.xxx:5000/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number=genuine

{"success":true}

 

Task creation wizard, certificate password i create a password.

 

then it gives me a popup   Sign in to your account (microsoftonline.com).

 

 

I try to sign in then it says, You can't sign in here with a personal account. Use your work or school account instead.

 

DS918+ (Genuine)

DSM 7.2.1-69057 update 4

 

Anyone have any ideas

 

Thanks to alxr0101 for using the the links page.

 

I dont know what is happening using chrome incognito mode.

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

EDIT

so i decided to try , i installed back up for business, with the same setup using  alxr0101 page

and i got this got this {"data":{"activated":true},"success":true}

 

possibly its not going to work with 365...

 

Edited by Spats
Posted

Can i uninstall 365, ssh into dsm and remove 365 activation and start again.

 

This i the screen i get when activated?...

 

Any help please

 

cheers

 

Screenshot.jpg

Posted (edited)

Hi I am able to get thru the first link with the page that generates everything Synology ABB Generator but cannot activate it with the second link or any other link posted in the forum, I have uninstalled ABB and reinstalled it, changed the password, disable 2FA and loggedin in incognito in the same tab putting the links but I get an erro code all the time

 

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

 

 

https://192.168.1.245:5555/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=serial_number_found_on_info_center

 

I have tried also putting serial number with quotes but nothing

 

Can anyone help?

 

Regards

Edited by screegie
Posted (edited)

Guys,

Any workaround for this....

 

how to setup a different user and password (temp) , and how would i set this up. the other ones are working its only O365, I get the error...see above.

 

cheers  

Edited by Spats
Posted (edited)

Any knows a workaround for 0365.....See above...

 

Cheers

 

Is there root access to delete O365 from DSM, then reinstall it with the same code, to activate it.

Edited by Spats
Posted

Guys, does anyone have an idea of a workaround for O365....

 

Its doing my head in, not knowing what to delete in root of the nas..

 

So i can activate O365.

 

Cheers  

  • 1 month later...
  • 2 months later...
Posted

DSM 7.2.1-69057 Update 5

 

https://alxr0101.github.io/

 

http://192.168.3.165:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format=%20cookie&account=admin&passwd=passtest

http://192.168.3.165:5000/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=1111111111111

 

Work! Thx! ;)

  • Like 1
  • 2 weeks later...
Posted
On 8/15/2024 at 2:52 PM, Lungo said:

DSM 7.2.1-69057 Update 5

 

https://alxr0101.github.io/

 

http://192.168.3.165:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format=%20cookie&account=admin&passwd=passtest

http://192.168.3.165:5000/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=1111111111111

 

Work! Thx! ;)

 

I was facing issues with safari. However in google chrome it worked perfectly.

  • 1 month later...
Posted
On 8/15/2024 at 3:52 PM, Lungo said:

DSM 7.2.1-69057 Update 5

 

https://alxr0101.github.io/

 

http://192.168.3.165:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format=%20cookie&account=admin&passwd=passtest

http://192.168.3.165:5000/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=1111111111111

 

Work! Thx! ;)

Successful for me. Thank you very much. DSM 7.2.2-72806

  • 4 months later...
Posted
# Active Backup for Business
synowebapi --exec api=SYNO.ActiveBackup.Activation method=set version=1 activated=true serial_number=\"$(cat /proc/sys/kernel/syno_serial)\"

# Active Backup for Google Workspace
synowebapi --exec api=SYNO.ActiveBackupGSuite method=set_activation version=1 serial_number=\"$(cat /proc/sys/kernel/syno_serial)\"

# Active Backup for Microsoft 365
synowebapi --exec api=SYNO.ActiveBackupOffice365 method=set_activation version=1 serial_number=\"$(cat /proc/sys/kernel/syno_serial)\"

 

via ssh with root (no need to modify the command content)

  • Like 1
  • 2 weeks 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.

×
×
  • Create New...