I would like to connect to an entity model from a sandboxed webpart in sharepoint online. Is this possible?

Is it possible to connect to sql azure from a sandboxed webpart?

3 Answers 3


There are mainly two ways

  1. Use BCS in SPO with a WCF endpoint to access data in SQL Azure leveraged through an external list
  2. Use client side techs such as JavaScript or Silverlight

For an example with jQuery and JSONP check out: http://www.wictorwilen.se/Post/SharePoint-Online-and-External-Data-using-JSONP.aspx


TIP: You'll need to be wary of cross site scripting if you do it client side, check out JSONP to get around this.


Yes you can combine SharePoint and Azure in a variety of ways. Have a look at the following training kit: http://www.microsoft.com/download/en/details.aspx?id=24398

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.