Reputation: 3188
Is there a way to write C# code in an Azure Function running in the Azure cloud to move files to and from an instance of SharePoint on-premises ? I have heard that to do this I require some sort of data gateway or connector of some sort to be in place.
Any guidance much appreciated, thanks.
Upvotes: 0
Views: 921
Reputation: 1046
Yes it would be possible but there's lots of factors to take into account with regards to your environment and how it is configured from a network perspective.
You are able to run Azure Functions within your on-premises environment. You can see some of the hybrid scenarios here:
There's also App Service Hybrid Connections which allow you to reach on-premises infrastructure:
https://learn.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections
There's a devblogs post with a scenario you can read also:
https://devblogs.microsoft.com/premier-developer/using-azure-app-services-with-hybrid-connections/
Upvotes: 1