I am looking to use python code deployed in Azure Cloud (e.g. on an Azure Function), to read files location from a shared/local network drive (on-premise). The network drive requires user based authentication (i.e. different users have access/permissions to different areas).
There is an express route connection established to the local network, and I also have confirmed looking at the firewall there is nothing blocking cloud access to the shared drives.
My question is – what is the best way to read these files from local network (on-premise) to within the Azure function using python? E.g. what packages, should be used and how can user credentials be entered also.