SharePoint Embedded for Visual Studio CodeThe 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.
Install SharePoint Embedded for Visual Studio Code
Sign inTo 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.
Create a standard billed container typeOnce 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.
Create a Microsoft Entra ID AppEvery 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.
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 billingStandard container types require an Azure billing account. After the container type is created, the extension walks you through the Azure setup:
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.
Other billing methodsThe 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.
Register your container typeAfter creating your container type, you'll need to register that container type on your local tenant. Learn more about container type registration.
Create your first containerWith 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.
Recycling ContainersYou can also recycle and recover containers within the extension.
Load Sample AppWith 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.
Export Postman EnvironmentThe 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.
|















