Skip to content

Commit 4ff5601

Browse files
Update storage-files-faq.md
Adding information about alternate data streams (not supported) which we have in other places but not about the errors thrown with SMB. Please edit as needed.
1 parent 81cb4bf commit 4ff5601

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

articles/storage/files/storage-files-faq.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,23 @@ ms.topic: faq
125125
**Can I save to an Azure file share using a printer or scanner?**
126126

127127
Azure Files only supports Windows, Linux, and macOS. Accessing an Azure file share directly from a printer or scanner isn't supported. However, if you're already using Azure File Sync, you can print or scan to your Windows file server and then sync the file to an Azure file share.
128-
128+
129+
* <a id="alternate-data-streams"></a>
130+
**Are alternate data streams supported in Azure Files?**
131+
132+
Azure Files does not support [alternate data streams](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/e2b19412-a925-4360-b009-86e3b8a020c8). Transferring data via SMB will throw a **file already exists** message if an alternate data stream is found. Alternate streams can be checked by using the PowerShell command
133+
134+
```powershell
135+
get-item <file path+name> -Stream *
136+
```
137+
138+
If more than one stream is shown, they can be removed using the following PowerShell command
139+
140+
```powershell
141+
Remove-Item <file path+name> -Stream *`
142+
```
143+
144+
Please note that alternate data streams are preserved on-premises when Azure File Sync is used.
129145

130146
### Identity-based authentication
131147

0 commit comments

Comments
 (0)