diff --git a/samples/msgext-product-support-sso-ts/README.md b/samples/msgext-product-support-sso-ts/README.md index dc589dc..3e8ba88 100644 --- a/samples/msgext-product-support-sso-ts/README.md +++ b/samples/msgext-product-support-sso-ts/README.md @@ -24,17 +24,26 @@ This sample implements a Teams message extension that can be used as a plugin fo > - [Set up your dev environment for extending Teams apps across Microsoft 365](https://aka.ms/teamsfx-m365-apps-prerequisites) > - [Teams Toolkit Visual Studio Code Extension](https://aka.ms/teams-toolkit) version 5.0.0 and higher > - Azure subscription +> - [PnP PowerShell](https://pnp.github.io/powershell) > - You will need a Microsoft work or school account with [permissions to upload custom Teams applications](https://learn.microsoft.com/microsoftteams/platform/concepts/build-and-test/prepare-your-o365-tenant#enable-custom-teams-apps-and-turn-on-custom-app-uploading). The account will also need a Microsoft Copilot for Microsoft 365 license to use the extension in Copilot. ## Minimal path to awesome ### Prepare SharePoint Online -- Using [SharePoint look book](https://lookbook.microsoft.com) service, provision a new SharePoint Online team site using the [Product support](https://lookbook.microsoft.com/details/81e2fee3-02a0-427b-af8b-8c7f42010fde) template +- Create a new SharePoint Team site + - Site type: Team site + - Site name: Product support + - Site address: productmarketing +- Download the [Product Support provisioning template](https://download-directory.github.io/?url=https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-provisioning-templates%2Ftree%2Fmaster%2Ftenant%2Fproductsupport) source files and extract the contents of the ZIP to a folder +- Open a PowerShell terminal session +- Install PnP PowerShell, execute `Install-Module PnP.PowerShell -Scope CurrentUser` +- Connect to the SharePoint Online Admin Center site and follow the authentication steps, execute `Connect-PnPOnline -Url https://-admin.sharepoint.com -DeviceLogin`, replacing `` with your tenant name +- Change to the folder where you extracted the source files to +- Apply the template to the Product support SharePoint site, execute `Invoke-PnPTenantTemplate -Path .\productsupport.pnp` +- Open a browser window and navigate to the Product support site - In the Products list, [create indexes](https://support.microsoft.com/en-us/office/add-an-index-to-a-list-or-library-column-f3f00554-b7dc-44d1-a2ed-d477eac463b0) on the `Title` and `RetailCategory` columns -> NOTE: If you can't use the SharePoint look book service, you can find the source files to create it manually in the [SharePoint look book repository](https://github.com/SharePoint/sp-dev-provisioning-templates/tree/master/tenant/productsupport) - ### Prepare and run project - Clone this repo and open the root folder in VSCode