Requirement is to extract attachement from CRM Email activity in CRM 2013 ONLINE and save it sharepoint 2013 Online. Need to know how to call sharepoint 2013 Online web service in sandboxed plugin.
I tried Wictor Wilen's code. It works fine in c# console apllication but doesn't work for CRM plugin(On-premise/Online); gives error
EndPointNotFoundException:
{"There was no endpoint listening at https://login.microsoftonline.com/extSTS.srf that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."}
InnerException:
{"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 157.56.58.13:443"}
Need some pointer to authenticate & call Share Point 2013 online web service in sandboxed plugin for CRM 2013 online.
Thank you.
JayshriP