How to migrate user permissions of a file server in azure?

Hugo Miranda 61 Reputation points
2021-10-07T00:14:57.497+00:00

Hello,

I have the following scenario, from an onpremise file server I migrated to azure all the folders to a virtual machine, now I need to replicate the permissions of each user to each of the migrated folders. Is there a power shell script for this task?

Thanks for your help.

Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 39,916 Reputation points
    2021-10-07T10:19:50.653+00:00

    Hello,

    there are few way you can reach your goal:

    Using Storage Explorer with Azure Files
    https://learn.microsoft.com/en-us/azure/vs-azure-tools-storage-explorer-files

    Use Azure File Sync to synchronize files from an on-premise server to Azure Files. Then recreate the shares in Azure with the synchronizing files, change the GPOs as appropriate.

    Deploy Azure File Sync
    https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-deployment-guide?tabs=azure-portal%2Cproactive-portal

    Get started with AzCopy
    https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10

    Enable Azure Active Directory Domain Services authentication on Azure Files
    https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-auth-active-directory-domain-service-enable?tabs=azure-portal#2-assign-access-permissions-to-an-identity

    Hope this helps with your query,

    ------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Hugo Miranda 61 Reputation points
    2021-10-07T14:16:25.137+00:00

    LimitlessTechnology-2700, thank you for your help.

    If the files are already on a file server, how could I update the permissions? any ideas?
    Should i re-migrate the files?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.