Helio2k Posted January 31, 2023 #151 Posted January 31, 2023 On 1/1/2023 at 10:51 AM, 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. I have successfuly activated Active Backup for Business with your link Thank you. Quote
EXPLOit Posted February 7, 2023 #152 Posted February 7, 2023 Hi guys, Please help to activate Active Backup for Office 365 Quote
beefyjoe Posted February 11, 2023 #153 Posted February 11, 2023 On 12/13/2022 at 9:44 AM, Gera_Shturman said: Grifon_A for DSM 7.1.1-42962 Update 2 https://dva1622/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=****&passwd=****&format= cookie https://dva1622/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="****" These links work for the latest version of DSM on Xpenology using TCRP ARPL 7.1.1 Thank you! Quote
lhsam Posted March 3, 2023 #154 Posted March 3, 2023 Has anyone successfully activated Active Backup for G Suite and Active Backup for Microsoft 365? Can you please assist? Quote
Piteball Posted March 3, 2023 #155 Posted March 3, 2023 Has anyone successfully activated Active Backup for G Suite and Active Backup for Microsoft 365? Can you please assist?No problem, just open an Incognito/InPrivate webbrowser and then run this command to get an authentication cookie. https://IP-address-of-NAS:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=ADMIN-USERNAME&passwd=ADMIN-PASSWORD&format=cookieExpected respons {"success":true}In same Incognito/InPrivate session, run the following commands to active each function. Active Backuphttps://IP-address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="DeviceSN"Expected respons {"success":true}Active Backup 365https://IP-Address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="DeviceSN"Expected respons {"success":true}Active Backup Google G-Suitehttps://IP-Adress-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="DeviceSN"Expected respons {"success":true}Then you should have all functions activated, just make sure not to accidentally create new device serial number when upgrading as it will deactivate Active Backup suite. Skickat från min LE2113 via Tapatalk 2 1 Quote
lhsam Posted March 3, 2023 #156 Posted March 3, 2023 1 hour ago, Piteball said: No problem, just open an Incognito/InPrivate webbrowser and then run this command to get an authentication cookie. https://IP-address-of-NAS:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=ADMIN-USERNAME&passwd=ADMIN-PASSWORD&format=cookie Expected respons {"success":true} In same Incognito/InPrivate session, run the following commands to active each function. Active Backup https://IP-address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="DeviceSN" Expected respons {"success":true} Active Backup 365 https://IP-Address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="DeviceSN" Expected respons {"success":true} Active Backup Google G-Suite https://IP-Adress-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="DeviceSN" Expected respons {"success":true} Then you should have all functions activated, just make sure not to accidentally create new device serial number when upgrading as it will deactivate Active Backup suite. Skickat från min LE2113 via Tapatalk Thank you for providing such detailed information, Piteball. It was very helpful, and I was able to succeed as well. Quote
alx0101 Posted April 8, 2023 #157 Posted April 8, 2023 On 1/30/2023 at 12:33 AM, hoppler said: As far is i know, the username and password values have to be urlencoded. A test!"§$ would result in test%21%22%C2%A7%24 Makes sense. Will adjust. Meanwhile use simple user/passwords (set up a temp user admin account) just for activation. Quote
alx0101 Posted April 10, 2023 #158 Posted April 10, 2023 On 4/8/2023 at 4:36 PM, alx0101 said: Makes sense. Will adjust. Meanwhile use simple user/passwords (set up a temp user admin account) just for activation. Made no difference. The page basis set on URL's that also don't use URL encoding. I still found issues with the first authentication step and temporarily resolved by: a) disable 2FA b) set a simple password (no symbols..just letters and numbers) c) ensure to use a user that has admin rights. If you dont see a response "success: true" at first step then review above and retry. Quote
georgejcottrell Posted April 29, 2023 #160 Posted April 29, 2023 For those who haven't figured it out. here is a dsm that i used, to install Baremetal and vmwear xponology and it provide the real serial number and mac pair, no need to try call out api. for VMwear us this one: https://github.com/AuxXxilium/arc-automated/releases/tag/v23.04.02 for baremetal usb or harddrive: https://github.com/AuxXxilium/arc/releases/tag/23.4.2 use: https://www.balena.io/etcher for writing usb or hdd for hdd use sata to usb hope you find this helpful Quote
Sonnenblume Posted April 30, 2023 #161 Posted April 30, 2023 (edited) On 3/3/2023 at 6:34 AM, Piteball said: No problem, just open an Incognito/InPrivate webbrowser and then run this command to get an authentication cookie. https://IP-address-of-NAS:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=ADMIN-USERNAME&passwd=ADMIN-PASSWORD&format=cookie Expected respons {"success":true} In same Incognito/InPrivate session, run the following commands to active each function. Active Backup https://IP-address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="DeviceSN" Expected respons {"success":true} Active Backup 365 https://IP-Address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="DeviceSN" Expected respons {"success":true} Active Backup Google G-Suite https://IP-Adress-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="DeviceSN" Expected respons {"success":true} Then you should have all functions activated, just make sure not to accidentally create new device serial number when upgrading as it will deactivate Active Backup suite. Skickat från min LE2113 via Tapatalk Many thanks for this description. It works. You helped me. Edited April 30, 2023 by Sonnenblume Quote
henri Posted May 15, 2023 #162 Posted May 15, 2023 On 27/4/2023 at 14:43, Gera_Shturman said: Para la Actualización 5, esto también funciona. He probado con varios navegadores de incognito habiendo iniciado sesión, también tengo actualización 5 , consigo pasar el primer paso y me da "true" pero en el segundo paso me da error 119 ¿alguien me puede ayudar? ¿que me falta? DS2422+ DSM7.1.1-42962 Quote
MrPlow Posted May 20, 2023 #163 Posted May 20, 2023 (edited) Hi folks, I'm really struggling.... The authentication step is failing {"error":{"code":400},"success":false} I've turned off 2FA, using new incognito tabs in chrome. My management console ports are 5501 and 5500 So for authentication step I've tried https://192.168.1.35:5501/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format=%20cookie&account=******&passwd=****** Any ideas what I'm doing wrong? DSM 7.1-42661 Update 3 baremetal Edited May 20, 2023 by MrPlow Quote
Gera_Shturman Posted May 21, 2023 #164 Posted May 21, 2023 (edited) В 20.05.2023 в 10:20, MrPlow сказал: Привет, ребята, я действительно испытываю трудности.... Сбой на этапе аутентификации {"ошибка":{"код":400},"успех": false} Я отключил 2FA, используя новые вкладки инкогнито в Chrome. Мои порты консоли управления - 5501 и 5500 Итак, для шага аутентификации я попробовал https://192.168.1.35:5501/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format=%20cookie&account=******&passwd=****** Есть идеи, что я делаю не так? DSM 7.1-42661 Обновление 3 baremetal https://192.168.1.35:5501 https://192.168.1.35:5500 Edited May 21, 2023 by Gera_Shturman Quote
dj_nsk Posted May 21, 2023 #165 Posted May 21, 2023 В 20.05.2023 в 10:20, MrPlow сказал: Any ideas what I'm doing wrong? check login/pass. if there are large / small letters in the password, then it should be indicated. If there are special characters, then convert them to hexadecimal format (for example, "%2E" instead of ".") Quote
EXPLOit Posted May 21, 2023 #166 Posted May 21, 2023 Unable to activate O365 Backup Follow the Piteball's manual but still got {"error":{"code":102},"success":false} Quote
MrPlow Posted May 22, 2023 #168 Posted May 22, 2023 On 5/20/2023 at 1:20 PM, MrPlow said: Hi folks, I'm really struggling.... The authentication step is failing {"error":{"code":400},"success":false} I've turned off 2FA, using new incognito tabs in chrome. My management console ports are 5501 and 5500 So for authentication step I've tried https://192.168.1.35:5501/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format=%20cookie&account=******&passwd=****** Any ideas what I'm doing wrong? DSM 7.1-42661 Update 3 baremetal Created a simpler admin user login & password (temporary), it worked - thanks Quote
Piteball Posted May 22, 2023 #169 Posted May 22, 2023 Created a simpler admin user login & password (temporary), it worked - thanksYeah, make sure you don't have any "?" or other special characters in your password as that's going to f*ck up passing auth through URL. Skickat från min LE2113 via Tapatalk Quote
Andrewg Posted May 22, 2023 #170 Posted May 22, 2023 (edited) Ok just succeeded using Piteball's explanation above If you are not technical like me, then bare the following in mind - I did turn 2-factor authentication off for my admin account while doing this - I did have to use a private/incognito browser window to enter the two sequential URLs - Best to ensure your admin password has no special characters (to avoid encoding issues in the url) - In the second URL when you enter the DEVICE_SN needs to be in double quotations "SDEVICE_SN" It then finally it worked for me But very unimpressed Synology UI still broken for authentication ! Thanks for the advice here Andrew Edited May 22, 2023 by Andrewg 1 Quote
Marcoastor Posted June 8, 2023 #171 Posted June 8, 2023 Hello, this tutorial works perfectly, but I only want to say that if you have the 2FA enabled, you don't need to disable it, only add &otp_code=YOUROTPCODE to the url and it will work. The full url has to be like this: http://YOURIP:YOURPORT/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=USERNAME&passwd=PASSWORD&otp_code=YOUROTPCODE&format=cookie The underlined words are the parts you have to change with your own options depending on your configuration. 1 Quote
alx0101 Posted June 18, 2023 #172 Posted June 18, 2023 https://alxr0101.github.io/ (DSM 6/7) I have updated the above page to generate required login session and URL to activate the app/s :- 1. LOGIN link (supports 2FA codes as well..just leave blank if no 2FA used) 2. ACTIVATION for each ActiveBackup app: Business, Google Workspace(GSuite) or Office365 a) First install the app/s required to activate (does not appear to pre-activate.."success:false") b) open a new INCOGNITO mode tab to ensure clean "session" from current logged in tab c) generate the LOGIN link and paste that to the tab (check plenty of 2FA code time left..only need 2FA time for this step) (at the end of the result line, should see "{"success":true}" d) copy each/all of the required activation codes for the required app/s and paste into same tab (should see "success:true" message) Ensure to use an incognito tab. TESTED on DSM 7.1.1-42962 Update 6 for a 2FA and a non-2FA account TESTED on DSM 6.2.3-25426 Update 3 NOT TESTED with complex passwords but have URL-encoded the user/password. Quote
alx0101 Posted June 18, 2023 #173 Posted June 18, 2023 On 5/22/2023 at 7:05 AM, EXPLOit said: Unable to activate O365 Backup Follow the Piteball's manual but still got {"error":{"code":102},"success":false} I see that code if I attempt to activate an app that is not installed. Quote
blue max Posted August 31, 2023 #174 Posted August 31, 2023 On 11/25/2021 at 2:42 PM, le.pipo007 said: hello, the api url change try this (it's working for me) https://your-ip:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=admin&passwd=your_admin_password&format= cookie the other url (for activation) not change https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER" regards Thanks to all involved. I waded through most of this and tried so many different things. Eventually this saved the day. I do have a 'special' charater in my password and it worked just fine. I would ask if the above post could be moved to the second position in the thread as a working solution as it has become buried. Quote
Agent942 Posted September 4, 2023 #175 Posted September 4, 2023 (edited) Well, I have tried everything I have found here and still end up with {"error":{"code":102},"success":false} on Step 2. I do receive a "success":true} after the initial link (I've done this manually, using https, http, and also used the github link provided by @alx0101 I am wondering if something has happened in using the latest DSM 7.2-64570 Update 1 for my latest build (DS918+) - I have confirmed no 2FA or MFA enabled - I have confirmed no special characters in the admin account password (I also created a new admin account to test this with, with same error results) - I have also tried the For Business, GSuite and Office365 links, all with an error outcome of 102 Any thoughts or assistance is appreciated! After scrolling up just two comments from the bottom and re-reading @alx0101's comment about "getting this result if the application is not installed" - I did the BIGGEST face-palm and realized I had not, in fact, installed Active Backup for anything. I need more coffee. Thank you, Thank you! Edited September 4, 2023 by Agent942 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.