Dec 14 2016 05:03 AM
Hi,
We are trying to connect to sharepoint 2013 on premise user profile apis from c# code deployed on azure web app. What is the best way of doing it.
Regards,
Syed
Dec 15 2016 06:07 AM
Hi @Mudasar Syed,
You need to first decide which route you are going to take for connectivity. Make sure you keep a security on top priority since you are dealing with user profile service.
This article covers the very basics of different options available to you:
You can also expose the User profile service end point via https (reverse proxy) and filter incoming connections for certain IP address range.
As far as your API options are concerned you can always refer to this article from MSDN:
https://msdn.microsoft.com/en-us/library/office/jj163800.aspx
Let me know if this helps.
Regards,
Jasjit