Loading...
HOME  /  BLOG  /  HOW TO IMPLEMENT AN SSO SOLUTION ON SYNOLOGY NAS WITH MICROSOFT AZURE AD DOMAIN SERVICES
 

Blog

How to implement an SSO solution on Synology NAS with Microsoft Azure AD Domain Services

IBSCY Ltd Team

Synology, as a single-sign-on (SSO) solution, allows users to sign in to any one of your web applications and services while, simultaneously, being able to access any other by that initial sign-in. Thus, Synology acts as the ultimate merge of all your web applications and services in a single sign-in.

Considering the benefits, your subscription to Microsoft Azure allows you to join your Synology NAS as an SSO client to Microsoft Azure Active Directory Domain Services. By this means, you can consider the need of domain controllers on premises’ deployment and management done.

This tutorial will provide you all the information and the step that you will need to join your Synology NAS to Azure AD Domain Services, and how to enable Azure SSO service. IBSCY LTD as a  gold Microsoft partner in Cyprus and Synology Partner in Cyprus has certified employees that provide excellent IT Services and IT maintenance to all businesses in Cyprus and abroad. 

Before you start make sure the operating system of your Synology NAS has been updated to DiskStation Manager (DSM) on the latest version. Make sure an IPSec (Internet Protocol security) VPN (Virtual Private Network) tunnel has been set up between Microsoft Azure Virtual Network and the network where you located your Synology NAS.

A. Firstly, you need to Enable Microsoft Azure AD Domain Survives

  1. Log in to your Microsoft Azure Account
  2. On Azure Portal Click NewSecurity + identityAzure AD Domain Services
  3. Configure the Basic settings
  4. Configure the Network Settings. Select the Virtual Network and Subnet for YOUR Azure AD Domain Services
  5. Configure Administrator group settings. Add the members who will manage the specific domain.
  6. Lastly, Check the summary, if all the settings are correct click OK to enable Azure AD Domains Services.
  7. Once you complete the setup of Azure AD Domain, find your Domain IP address on the virtual network to start the configuration on Synology NAS 
    1. On Azure Portal click → all resources → sunology.com → Properties → Look for IP ADDRESS ON VIRTUAL NETWORK
    2. Save the IP Address.

Note: You might need to update DNS Server and set up password synchronization on Azure Portal.

B. Secondly, Join your Synology NAS to Azure AD Domain

  1. Sign into your DSM on Synology NAS as an administrator
  2. Go to Control Panel → Domain/LDAP →Domai
    1. Tick the Join Domain Checkbox.
    2. Domain: Here, always type SYNOLOGY.COM
    3. DNS Server: Enter the Azure AD Domain IP Address.
    4.  Click APPLY.
  3. Once A Window will pop up.
    1. Enter the credentials of Azure AD Domain’s Administrator and click Next.
    2. Once you read the notes, click OK to start Joining.
    3. When the Domain Join is complete, click Finish.
    4. Now you can view all the users and groups managed on Azure Active Directory.

C. Lastly, Enable Azure SSO Service on Synology NAS.

  1. Log in to your Microsoft Azure Account.
  2. On Azure Portal, go to Azure Active DirectoryApp Registrations, and click New Application Registration
  3. Once you click on New Application Registration, a window will pop up.
    1. Configure the setting and then click Create.
    2. Name: Enter the Application’s Name.
    3. Application Type: select Web app / API.
    4. Sing-on URL: Enter the URL of your Application’s login page. (Synology URL)
  4. Once the application is created, it will appear in the list. Then click on it to get all the details you might need.
  5. Below Settings, Copy and save the Application ID.
  6. Click Settings → Keys.
  7. Once you click on Key button, follow the bellow instruction to generate the application key:
    1. Set up the key’s Description and duration of validity (expires).
    2. Click Save.
    3. The key will appear at the VALUE column. Make sure you copy and save the value before exiting the specific page.
  8. On Azure Portal go to Azure Active DirectoryProperties and copy the Directory ID.
  9. Go to DSM Control PanelDomain/LDAPSSO Client, then follow the bellow instruction:
    1. Tick Enable OpenID Connect SSO Services.
    2. Select Azure in the Profile Drop-Down list.
    3. Click Edit.
    4. Paste the values of Application ID, Keys and Directory ID and enter the Redirect URL of your application’s login page.
  10. Click Apply when the configuration is complete.
  11. All the active members managed by your Azure Active Directory can now sign into your Synology NAS hosting Application with their credentials. To Sign in with SSO, select Azure SSO Authentication from the drop-down list.
  12. Users will see a pop-up window requiring their account credentials.
  13. Lastly, users will see a confirmation. Press Accept to sing in.

The implementation has been successfully completed.