Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>SharePoint EmbeddedNew to Visual Studio Code? Get it now.
SharePoint Embedded

SharePoint Embedded

Microsoft

microsoft.com
|
14,955 installs
| (2) | Free
Build SharePoint Embedded apps
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SharePoint Embedded for Visual Studio Code

The SharePoint Embedded Visual Studio Code extension helps developers create, configure, and manage SharePoint Embedded resources from Visual Studio Code, including container types that use trial, standard, or direct-to-customer billing.

[!IMPORTANT] To start building with SharePoint Embedded you will need a Microsoft 365 tenant. If you do not already have a tenant, you can get your own tenant with the Microsoft 365 Developer Program, Microsoft Customer Digital Experience, or create a free trial of an Microsoft 365 E3 license.

Install SharePoint Embedded for Visual Studio Code

  1. Open a new window in Visual Studio Code and navigate to "Extensions" on the activity bar.
  2. Search "SharePoint Embedded" in the Extensions view. You can also view the extension in Visual Studio Marketplace.
  3. Select "Install" and the SharePoint Embedded icon will appear on the activity bar.
  4. Select the icon to open the SharePoint Embedded view and create a container type with the billing method you need.

Sign in

To use the extension, you must sign into a Microsoft 365 tenant.

If you don't already have a tenant, you can get a tenant through the Microsoft 365 Developer Program, Microsoft Customer Digital Experience, or create a free trial of an Microsoft 365 E3 license.

Install

Create a standard billed container type

Once signed in, you are prompted to create a container type. A container type lets you start calling SharePoint Embedded APIs and building applications using SharePoint Embedded. For production and line-of-business development, create a standard billed container type so usage is billed to the organization that owns the app.

home screen

  • Select Create Container Type
  • Select standard as the billing method. The extension will attach Azure billing by using a subscription and resource group that your account can access.

select billing type

  • Follow the prompts to name your container type. You can change your container type name later on.

create container type

Create a Microsoft Entra ID App

Every container type is owned by a Microsoft Entra ID application. When creating a container type, you can create a new Microsoft Entra ID application or pick one of your existing applications as the owning application. Learn more about SharePoint Embedded app architecture.

  • Follow the prompts to name your new Entra application or select an existing application ID

Create App

[!NOTE] If you choose an existing application, the extension will update that app's configuration settings for it to work with both SharePoint Embedded and this extension. Doing this is NOT recommended on production applications.

After your container type is created and your application is configured, you'll be able to view your Local tenant registration as a tree in the left nav-bar.

Configure standard billing

Standard container types require an Azure billing account. After the container type is created, the extension walks you through the Azure setup:

  • Pick an Azure subscription that your account can access. You need Owner or Contributor permissions on the subscription.
  • Pick a resource group where the Microsoft Syntex billing account will be created.
  • The extension registers the Microsoft.Syntex provider and provisions the billing account for the container type.

select subscription

select resource group

standard billing attached

If you skip billing setup or do not have the required Azure permissions, the container type remains visible in the tree with Billing not set up. Right-click the container type and select Attach billing when you are ready to finish setup.

attach billing

Other billing methods

The extension also supports trial container types for evaluation and directToCustomer container types for user-org billing. Trial container types do not require billing setup and expire after 30 days. Direct-to-customer container types do not use the Azure subscription flow in the owning organization; billing is configured by a Global Administrator in the consuming tenant. The extension prompts you to open the Microsoft 365 admin center pay-as-you-go billing setup.

direct-to-customer billing setup

Register your container type

After creating your container type, you'll need to register that container type on your local tenant. Learn more about container type registration.

  • Follow the prompts and select 'Register on local tenant' on the lower right corner of the VS Code window
  • If you don't see the prompt, you can right-click on your <container-type-name> and select Register from the menu

register

Create your first container

With your container type registered, you can now create your first container. Only five containers of container type can be created to upload and manage content.

  • Right-click on the Containers drop-down from the tree in the left nav-bar and select Create container
  • Enter a name for the container you would like to create

create container name container

Recycling Containers

You can also recycle and recover containers within the extension.

recycle containers

final home page

Load Sample App

With your container type created and billing configured, you can use the extension to load one of the SharePoint Embedded sample apps and automatically populate the runtime configuration file with the details of your Microsoft Entra ID app and container type.

Load Sample App

Export Postman Environment

The SharePoint Embedded Postman Collection allows you to explore and call the SharePoint Embedded APIs. The Collection requires an environment file with variables used for authentication and various identifiers. This extension automates the generation of this populated environment file so you can import it into Postman and immediately call the SharePoint Embedded APIs.

Export Postman Environment

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft