SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

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:

share|improve this answer

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

share|improve this answer

Yes you can combine SharePoint and Azure in a variety of ways. Have a look at the following training kit:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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