Question

Sriramprasanth.S on Mon, 31 Jul 2017 06:00:07


Hi! Is it possible to use Microsoft DocumentDb Migration tool from Azure functions App(Timer trigger Function). If possible can you please provide me a sample.

Sponsored



Replies

Gary Bushey on Mon, 31 Jul 2017 11:19:19


It should be.  The Migration tool can be run from the command line so you should be able to create a PowerShell script that can be run in an Azure Function on a timer job.  Note that the PowerShell feature of Azure Functions is still in preview so you may run into some issues.

Sriramprasanth.S on Tue, 01 Aug 2017 06:04:10


Hi Gary,

Is there a way to get the path of Azure Blob storage account ? So that from that directory i will execute the Command.

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

Thanks,

Sriramprasanth.S

Gary Bushey on Tue, 01 Aug 2017 10:13:07


I am not an expert on the tool but if you go to its site you can download the instruction document that may tell you what you need to know.

https://www.microsoft.com/en-us/download/details.aspx?id=46436