Export (0) Print
Expand All

Set up a development environment for SharePoint Add-ins on Office 365

SharePoint Add-ins

Set up a development environment for apps for SharePoint on an Office 365 Developer Site.

Last modified: June 22, 2015

Applies to: apps for Office | apps for SharePoint | Office 365 | SharePoint Add-ins

Note Note

The name "apps for SharePoint" is changing to "SharePoint Add-ins". During the transition, the documentation and the UI of some SharePoint products and Visual Studio tools might still use the term "apps for SharePoint". For details, see New name for apps for Office and SharePoint.

In this article
Install Visual Studio and tools on your computer
Sign up for an Office 365 Developer Site
Additional resources

Please read Tools and environments for developing SharePoint Add-ins to get an understanding of your options before you carry out any procedures in this article. See SharePoint Add-ins if you are not sure what kinds of apps for SharePoint you want to create.

Verbose logging in Visual Studio

Follow these steps if you want to turn on verbose logging:

  1. Open the registry, and navigate to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\nn.n\SharePointTools, where nn.n is the version of Visual Studio, such as 12.0 or 14.0.

  2. Add a DWORD key named EnableDiagnostics.

  3. Give the key the value 1.

The registry path will change in future versions of Visual Studio.

Note Note

You might already have access to an Office 365 Developer Site:

  • Are you an MSDN subscriber? Visual Studio Ultimate and Visual Studio Premium with MSDN subscribers receive an Office 365 Developer Subscription as a benefit. Redeem your benefit today.

  • Do you have one of the following Office 365 subscription plans?

    Office 365 Midsize Business

    Office 365 Enterprise E1, E3, E4, or K1

    Office 365 Education A2, A3, or A4

    Office 365 Government G1, G3, G4, or K1

    If so, an administrator of the Office 365 subscription can create a Developer Site by using the Office 365 admin center. For more information, see Create a developer site on an existing Office 365 subscription.

Two ways to get an Office 365 plan.

Tip Tip

Each of these links will open in another window or tab in order to keep the following instructions handy.

Figure 1. Office 365 Developer Site domain name

Page 2 of Sign up form for Office 365 account

  1. The first page (not shown) of the signup form is self-explanatory. Just supply the information about yourself that is requested and choose Next.

  2. On the second page, shown in Figure 1, specify a user ID for the administrator of the subscription.

  3. Create a subdomain of .onmicrosoft.com.

    After signup, you have to use the resulting credentials (in the format UserID@yourdomain.onmicrosoft.com) to sign in to your Office 365 portal site where you administer your account. Your SharePoint Online Developer Site is provisioned at your new domain: http://yourdomain.sharepoint.com.

  4. Choose Next and fill out the final page of the form. If you choose to provide a telephone number to obtain a confirmation code, you can provide a mobile or land line telephone number, but not a VoIP (Voice over Internet Protocol) number.

Note Note

If you’re logged on to another Microsoft account when you try to sign up for a developer account, you might get this message: "Sorry, that user ID you entered didn’t work. It looks like it’s not valid. Be sure you enter the user ID that your organization assigned to you. Your user ID usually looks like someone@example.com or someone@example.onmicrosoft.com."

If you see this message, log out of the Microsoft account you were using and try again. If you still get the message, clear your browser cache or switch to InPrivate Browsing and then fill out the form.

After you finish the signup process, your browser will opens the Office 365 installation page. Choose the Admin icon to open the admin center page.

Figure 2. Office 365 admin center page

Screenshot that shows the Office 365 admin center.
  1. You’ll have to wait for your Developer Site to finish provisioning. After provisioning is complete, refresh the admin center page in your browser.

  2. Then, choose the Build Apps link in the upper left corner of the page to open your Developer Site. You should see a site that looks like the one in Figure 3. There is an Apps in Testing list on the page. This confirms that the website was made with SharePoint's Developer Site template. If you see a regular team site instead, wait a few minutes and launch your site again.

  3. Make a note of the URL of the site. It is used when you create apps for SharePoint projects in Visual Studio.

Figure 3. Your Developer Site home page with the Apps in Testing list

Screenshot that shows the Developer site homepage.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft