How to Deploy a File Server On Microsoft Azure

Many Microsoft clients are looking to replicate their on premises infrastructure in Microsoft Azure. A File server is typically a core component of such an infrastructure.


  • Microsoft Azure Subscription
    • If you do not have an Azure account, please create one using the following link Azure Portal .
  • Creating an Azure Virtual Machine (VM) running Windows
    • To create an Azure VM. Select “Windows Server 2012 R2? from the template gallery, available in the “From Gallery” link. Once the VM is created please connect to it, see how here .



First time you access the VM, a quick warning message “RDSH is not configured” might come up . This is normal and you do not need to worry about it.

  • Configure the Azure VM
    • Open HTTP port
      • Logon or go back to Azure Portal. Select “Virtual Machines” from the left column.


  • On the right window, click the VM, then select “ENDPOINT”


  •  At the bottom of the screen select “ADD”, the ADD ENDPOINT window appears. Select “ADD A STAND-ALONE ENDPOINT” , then click on the arrow pointing right (bottom of the opened window).


  • Specify the details of the ENDPOINT as per screenshot below.


If the name “web” is not in the drop down menu, just type it in, then hit the tick button to save your newly created ENDPOINT.

Go back to your VM and Start “Server Manager” (if it is not already running), by clicking on the server manager icon on your task, then select “Add Roles and Features”.



  • On the “Add Roles and Features” wizard window select next. Do the same at the installation type and select “Role-based or feature-based installation”.
  • Select next again at the server selection by accepting the default.
  • At the server Roles add the Web Server (IIS) Role select Next.


  • Click on the “Add Features” button (This will take you back to the first screen with the Web Server (IIS) role selected) . Select Next when you see the “Add Roles and Features Wizard” window.

FileServer9 FileServer10

  • Select Next again


  • Select Next


  • Select Next and make sure the ticks included as per screen below.


BEFORE hitting the Next button, scroll down and select “Windows Authentication” then hit the Next button.


  • Click on the “Install” button.


ONLY when the installation in progress is completed, click on the close button NOT BEFORE.



  • Start the IIS manager tool on the VM by browsing to “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools” and double click on “Internet Information Services (IIS) Manager” shortcut. When the IIS Manager window opens, expand the list on the left and click on “Default Web Site” then open “Authentication” and enable it.

FileServer18 FileServer19

  • Select the “Default Web Site” menu from the left hand side column then open “WebDAV Authentication”.


  • Click on “Add Authoring Rule” .


  • Select option as per screen below and then hit OK when it is done.

You may modify it as needed. But for the purpose of the demo I have selected these options.


  • Click on the “Enable WebDAV”, then close IIS Manager window.



As we opened port 80 and installed IIS, we should be able to browse to the VM using the internet DNS name. To do that, go back to Azure portal.

  • Select the VM from the left column.


  • From the right window select your VM by clicking on it, then select “DASHBOARD” and look for the DNS NAME. It will look something like this Copy the DNS NAME. Open internet explorer on your local machine. Enter the following in the internet explorer address bar . If your configuration were correct, you should get an “Internet Information Services” page.



  • From your local machine open Windows Explorer, then right click on network and select “Map network drive”.


  • Enter the address of the IIS server and assigne it a letter then click finish.


  • Windows security will open. Type in the domain name of your VM and log in credentials and then hit OK.

FileServer28 FileServer29

At this stage you can configure the directory structure and grant access to other users.








One Response

  1. jeff fontenot March 3, 2017 Reply

Leave a Reply