Skip to main content
All CollectionsIntegrationsFile server
Azure Files shared through WebDAV SSL
Azure Files shared through WebDAV SSL
Updated over a week ago

Introduction

It’s possible to make an Azure file share accessible in Workspace 365 through WebDAV. In this article, we show you how.


Prerequisites

Before you begin, there are a few prerequisites:

  • You must have sufficient permissions in your Azure tenant to create a storage account and a file share.

  • You need an IIS server for the WebDAV connection.

  • You need to have admin permissions in Workspace to set up the WebDAV connection.


Instructions

Step 1. create the Azure Files storage in the Azure portal

First, you need to create a storage account and file share in Azure.

If you already have a storage account you want to use, continue from step 5.

  1. Log in to the Azure portal.

  2. Click Create a resource.

    create_resource.png
  3. Search for and create a storage account.

    storage_account.png
  4. Fill in the required information for your storage account.

    create_storage_account.png
  5. Click Review.

  6. Click Create.

  7. Click Go to resource.

  8. On the left side, go to Configuration (under settings).

  9. EnableDefault to Azure Active Directory authorization in the Azure portal”.

    MicrosoftTeams-image__12_.png
  10. On the left side, go to File shares Under Data storage.

  11. Click + File share to create a new file share.

  12. Click the three dots on the right side of the file share.

  13. Click Connect.

  14. Under Authentication method, ensure Storage account key is checked.

  15. Click Show Script.

  16. Copy the script to a text editor (you will need this later).

    copy.png
  17. Click on the created file share.

  18. Upload a file to your liking to make it available for WebDAV.

Step 2. Configure WebDAV in IIS

To set up the WebDAV connection, you need an account with the same credentials as the one listed in the script you copied from the previous step.

  1. Log in to your WebDAV server.

  2. Create an account without the localhost\ prefix.
    For example:

    ndawstorage.png


    Ensure the password doesn’t expire.

    • If your WebDAV server is a domain controller, create a new Active Directory account.

    • If your WebDAV server is not a domain controller, create a new local account.

  3. Right-click a website (or create a new website) you want to use for the WebDAV connection.

  4. Click Add virtual directory to create a virtual directory.

  5. Give it an alias without spaces.

  6. The physical path is the UNC path you got from the script.
    For example: New-PSDrive -Name Z -PSProvider FileSystem -Root "\\your UNC path" -Persist

    create_virtual_dir.png
  7. Click Connect as.

  8. Select Specific user.

  9. Enter the credentials of the user you created earlier.

  10. Click Test Settings to verify the credentials are working for the connection.

    test_settings.png
  11. The Azure file share is now connected to your WebDAV site. Click the link under Browse Virtual Directory at the upper right corner of your screen to open the WebDAV URL in your browser.

  12. Note down the URL (you need this in the next step).
    For example:

    example.png

Bear in mind that you may need to configure additional DNS settings to ensure the file share is accessible through the WebDAV URL.

Step 3. Configure the file share in Workspace

  1. Log in to the Workspace as an admin.

  2. Go to the settings page.

  3. Go to Integrations.

  4. Select File servers.

  5. Enter a name for the file server.

  6. Enter the WebDAV URL you noted down in the previous step.

  7. Click Done.

You now have access to the file share from Workspace.

azure_file_share_ws.png

Did this answer your question?