Triofox supports Azure File Share.
When setup Azure File Share in Azure Portal, the portal provides a PowerShell script to setup network drive in windows. From the script, can identify the server, user name, password and share name.
Here is one example:
$connectTestResult = Test-NetConnection -ComputerName azurefile002.file.core.windows.net -Port 445 if ($connectTestResult.TcpTestSucceeded) { # Save the password so the drive will persist on reboot cmd.exe /C "cmdkey /add:`"azurefile002.file.core.windows.net`" /user:`"Azure\azurefile002`" /pass:`"cr4clyOuKLum7KbRrtsmt459KTHoBaIGr3/5ekHTU0X7fl2lAXi6JPfwUZZDd4Da/xxxxxxx==`"" # Mount the drive New-PSDrive -Name Z -PSProvider FileSystem -Root "\\azurefile002.file.core.windows.net\share001" -Persist } else { Write-Error -Message "Unable to reach the Azure storage account via port 445. Check to make sure your organization or ISP is not blocking port 445, or use Azure P2S VPN, Azure S2S VPN, or Express Route to tunnel SMB traffic over a different port." }
In the example, we can retrieve the information required to attach the share in Triofox
Server Name: azurefile002.file.core.windows.net
(the name should be <storage account name>.file.core.windows.net
User Name: Azure\azurefile002 (/user: in the script)
Password: cr4clyOuKLum7KbRrtsmt459KTHoBaIGr3/5ekHTU0X7fl2lAXi6JPfwUZZDd4Da/xxxxxxx== (/pass: in the script)
Share Name: share001
To attach the share in Triofox:
. Open port 445 on the Triofox server.
. Open PowerShell (do not start it as Administrator). Run the PowerShell script copied from Azure Files Connect section. It will mount a network drive to the Azure File Share.
. Login Triofox web portal as admin. Under File Servers, click '+' Add New Server, to add a new server. In 'Add New Server' window, click 'ADD SERVER MANUALLY'
. Type in Server Name, User Name and Password from the Azure File Connect script. Click Apply
. A new file server with Azure Storage Account name shows under File Servers.
. Double click the server. Click ADD SHARE
. In Share Name, type in the Share Name from the Azure File Connect script. Click ADD
. The share is added as 'Azure File Server Share'. Can access the share here.
Comments
0 comments
Please sign in to leave a comment.