SharePoint Embedded for Visual Studio Code (Preview)The SharePoint Embedded Visual Studio Code extension helps developers get started for free with SharePoint Embedded application development.
Install SharePoint Embedded for Visual Studio Code
Sign in with admin credentialsTo use the extension, you must sign into a Microsoft 365 tenant with an administrator account. 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 container type with a trial configurationOnce signed in, you are prompted to create a container type with trial configuration. A container type lets you get started calling SharePoint Embedded APIs and building a proof-of-concept application using SharePoint Embedded. Learn more about container types.
Create a Microsoft Entra ID AppEvery container type is owned by a Microsoft Entra ID application. The first step when creating a free trial container type is to create a new or select an existing Microsoft Entra ID application as the owning application. You can either specify the name of your new application or pick one of your existing applications. Learn more about SharePoint Embedded [app architecture](https://github.com/microsoft/SharePoint-Embedded-VS-Code-Extension/blob/HEAD/ https:/learn.microsoft.com/en-us/sharepoint/dev/embedded/concepts/app-concepts/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. 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.
Grant permissionsWhen registering your container type you'll need to grant permissions to access your application An external browser window will pop open for you to sign-in and grant admin consent 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 free trial container type created, 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. |