
Creates a local directory to put the files into.Starts a Remote PowerShell session to my MIM Sync Server.My PowerShell Timer Function App performs the following: As I already had Remote PowerShell setup on my MIM Servers for other Azure Function Apps I figured I’d use an Azure Function for obtaining the FTP Files as well. But needing to do it across a number of different environments (Development, Staging and Production) meant I was looking for an easy approach that I could also replicate quickly across multiple environments. Getting files off a FTP server is pretty simple. These files are needed for some flat-file imports into Microsoft Identity Manager. However most recently I’ve had to travel back in time and interact with a FTP server to get a set of files that are produced by other systems on a daily basis.


In an age of Web Services and API’s it’s an almost a forgotten world where FTP Servers exist.
