File storage in azure2/11/2023 In the "Deploy Azure File Sync" screen pick a Subscription where you want it deployed, a resource group to store it in, and the name you want to give to your AFS service. In the Azure Portal, search for "Azure File Sync", select it from the results and Now that the Storage Account and the file share have been created we are ready to enabled the File Sync Service in the portal (this can also be done in Powershell). Then we used that environment variable to create the share.Īz storage share create -name itopsfiles -quota 2048 -connection-string $conn_string To achieve that we used the following command:Ĭonn_string=$(az storage account show-connection-string -n -g -query 'connectionString' -o tsv) Now that the Storage account is created, to create the File Share in that storage account we need to create a connection string to the storage account where you want to create the share. In my case I used Azure-CLI in an azure shell to create the storage account that will host our File Share.Īz storage account create -location -name -resource-group -sku NET 4.7.2)Ĭreate an Azure storage account, file share and Azure File Sync Service Az and StorageSync PowerShell modules installed (requires.ReFS, FAT, FAT32, and other file systems are not supported.) A locally attached volume formatted with the NTFS file system (Only NTFS volumes are supported.Windows Server 2012 R2 (Datacenter and Standard), Full and Core.Windows Server 2016 (Datacenter and Standard), Full and Core. Windows Server 2019 (Datacenter and Standard), Full and Core.In order for you to be able to set this up in your environment you have to meet the following prerequisites:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |