Azure File Sync Deployment

Working with Azure file sync enables us to centralize our organization’s file shares in Azure Files while keeping the flexibility, performance, and compatibility of an on-premises file server. for more details about the file sync
>> Planning for an Azure File Sync deployment


  • Azure Subscription
  • Storage Account
  • File Share
  • File Sync Service
  • Servers Endpoints [WS 2012 R2 / WS 2016]
  • Sync Group
  • Endpoints Agent

Let’s configure…

1- Create A storage account and File Share.

From azure portal go to storage accounts and create a new one / you can use an existing account.


Once the creation finished open the storage account >> Files >> create a File share
*This file will be the cloud endpoint*

Click on the + File share icon and create the file share enter the Name and Quota size of the file and click OK.

2- Create the Sync Services

From Azure Portal, Search for Azure File Sync and Create.

Open the Sync Service >> Sync Groups And create a new group this will contain the sync servers endpoints

Fill the blade Group Name, Subscription, Storage Account that we created above and it’s File Share.

Now open the Registered servers this will contain the server’s agent that will be synced with the Azure file share.

Download the Agent and Chose the OS Version 2012 R2 or 2016 servers

  • Install the Agent on servers by installing the .exe file you download.
  • Enter your Azure subscription and chose the associated storage account and Endpoint file which data will be stored.

Now this server showed be shown in the servers endpoints in your Azure Sync Group.

Please note that:

  1. Sync Folder on servers shouldn’t be a file system folder.
  2. Windows Management Framework 5.1 Installed. Windows Management Framework 5.1
  3. Latest AzureRM PowerShell module Installed. Install Azure PowerShell on Windows with PowerShellGet
  4. IE Enhanced Security Configuration Turned off.
  5. You can add only one cloud endpoint per sync group.
  6. The server can be associated with only one sync group.
  7. The appropriate package to download and install for Windows Server 2012 R2 is Win8.1AndW2K12R2-KB

Now after checking the above prerequisites open the Sync Agent on the server.

Register the server by choosing the subscription, Resource Group, and Storage Account.

Now the Server will be shown in the Registered servers

Let’s Add the Server Endpoint [This will be the server folder which files will be synced to – from Azure File Sync]

From the Sync Group, click on Add server endpoint, chose the Registered Server and add the Folder Path.

Now data should be synced between that Folder and the Azure Sync Folder in the Storage Account.



Active Directory Recycle Bin

The Active Directory Recycle Bin can be enabled to provide a process for restoring deleted objects.

This feature overcomes problems with authoritative restore or tombstone reanimation.

The Active Directory Recycle Bin enables admins to restore deleted objects without having to restore AD DS data NTSD from backups, and then restart AD DS or reboot domain controllers.

Enabling the Active Directory Recycle Bin

  • Open Server Manager, from Tools, select AD Administrative Center.  
  • Click on the DC Server and select Enable Recycle Bin and click OK.
  • Refresh AD Administrative Center.
  • Now, A new container added to the AD Containers “Deleted Objects”.
    Only items deleted after the Active Directory Recycle Bin enabled can be restored.
  • Create a new Test user and delete it.
  • Restore the deleted user from AD Recycle Bin.

Configuration Manager cannot connect to the site [Error]

Once you upgrade your SCCM environment from 2012 R2 to 2012 R2 SP1 the following error occursError_06E2B296


upgrading to SP1/SP2 won’t upgrade the management console so…

You have to Reinstall the configuration manager console separately from the Splash.hta

install sccm console.png

once you install it, the console will successfully reconnect to the site database.


Installing System Center Configuration Manager [SCCM] 2012 R2

[Prerequisites, Hotfixes and CU] of SCCM 2012 r2

SO let’s get started…

First you have to set your VM

  1. AD
  2. SQL Server
  3. SCCM

About Active Directory i will use Windows server 2012 r2 as an AD server

About SQL Server i am gonna install SQL server 2012

After that i will setup the cumulative update 2 DOWNLOAD LINK 

Before you configure SCCM you have to do some prerequisites like Extend AD Schema and other Windows Server Features installation ! How can we do it? there are many ways but the easiest and fastest way is using the ConfigMgr 2012 R2 Prerequisites Installation Tool DOWNLOAD LINK by @NickolajA

After you download,run it using Powershell as an Administrator

Click Y to start….


You can see a lot of things we can do using this cool tool, you can configure the Prerequisites of Central Administration Site, Primary Site, Secondary Site, Site System Roles and Other.


You can Extend AD Schema, install Server prerequisites, install ADK and the SM Container.


Now all the Prerequisites have been finished and correctly configured 😉 let’s cook some SCCM 😀

  • Download SCCM 2012 R2 from DOWNLOAD LINK
  • Open ISO and click on the splash icon which will open the following console, click Install 


  • You will see the Before You Begin, click Next2
  • Get Started wizard, this is our first installation, so i will choose Install a Configuration Manager primary site and click Next3
  • About Product Key, Install the evaluation edition and if you have a SCCM key insert it and click Next 4
  • Accept the Licence terms and click Next5
  • Accept all the licence terms of SQL Server and Silverlight then click Next6
  • Setup the Prerequisites files you can download it from the internet if your VM have access and if NOT you can use the offline mode then click Next 7
  • Choose language and click Next8
  •   Specify a Site code, Name and installation folder then click Next 9
  • As i mentioned above this is the first installation, i don’t have and existing hierarchy so i will choose Install the primary site


  •   Now it’s the time of Connecting the SCCM with SQL so provide a SQL Server Name ” SCCM by default will create a DB on SQL instance” and click Next


  •  You can see the paths of DBs then click Next12
  • Specify a SMS Providers FQDN and click Next13
  •  Let’s configure the Communication way between Client and SCCM server, you can set HTTPs or HTTP if you a valid KPI use the HTTPs it’s much more secure IF NOT use the HTTP protocol so let’s use the HTTP one and click Next 14
  • Now choose from the drop list the HTTP protocol for the the Management Point and Distribution Point then click Next 15
  • Do you want to join the Customer Experience…. i think No 😀 then click Next 16
  • Now this is our last Next you can see the all configuration so click Next17
  • Wait till SCCM check the Prerequisite18
  • And finally you can see the Install Overall Progress and View Log of the installation 19