I've recently transitioned to using Azure Entra and completely moved away from file servers. Now, I'm looking for the best way to utilize Azure Blob Storage as a file repository that I can access and copy files to users' computers with PowerShell. This is intended to replace our traditional logon scripts. Sometimes these are single files, and other times they are entire folders.
I'm exploring options like AzCopy but I'd prefer not to keep a drive mapped for users all the time. I'm also considering enabling SMB on Blob Storage and using Robocopy through a network share that points to it. Any suggestions or best practices would be appreciated!
5 Answers
Using the Az.Storage PowerShell module is a solid choice. Make sure it’s installed on the users' devices so the scripts can run without issues. It’s great for handling Azure storage directly.
AzCopy can definitely work without needing to map a drive. We use it as well and just trigger it with a scheduled task using a SAS token for secure access.
I think using Intune with AzCopy might be more flexible for you. Considering the frequent changes to your files, a scheduled task might make the most sense. Just ensure AzCopy is included in the setup process to pull the necessary files during execution.
It's a bit unclear what you're trying to accomplish, but if you need something to run at every login, a scheduled task could be the way to go. You can deploy a Win32 app that sets up a task to run your PowerShell script each time a user logs in. Just keep in mind, you can't enable SMB on Blob Storage—that's specifically for Azure File Shares.
You’ve got a few options here! You can use the REST API, PowerShell cmdlets, or AzCopy to manage file transfers. I’d recommend checking how to manage storage accounts first so you have a solid foundation before diving into any unfamiliar tech.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures