{"id":22563,"date":"2024-08-15T07:54:21","date_gmt":"2024-08-15T14:54:21","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=22563"},"modified":"2024-12-11T02:36:50","modified_gmt":"2024-12-11T10:36:50","slug":"teams-toolkit-for-visual-studio-code-update-august-2024","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/teams-toolkit-for-visual-studio-code-update-august-2024\/","title":{"rendered":"Teams Toolkit for Visual Studio Code prerelease update \u2013 August 2024"},"content":{"rendered":"<p>We\u2019re excited to bring you the latest updates for the Teams Toolkit for Visual Studio Code! In this release, we\u2019ve focused on enhancing the app development experience by adding new features, improving existing functionalities, and fixing known issues. Let\u2019s dive into what\u2019s new in August 2024.<\/p>\n<p><div class=\"alert alert-primary\"><p class=\"alert-divider\"><i class=\"fabric-icon fabric-icon--Info\"><\/i><strong>Feature Availability<\/strong><\/p>Please note that the features mentioned below are available as a <a href=\"https:\/\/learn.microsoft.com\/en-us\/microsoftteams\/platform\/toolkit\/install-teams-toolkit?tabs=vscode#install-a-prerelease-version\">prerelease<\/a> in Teams Toolkit for Visual Studio Code.<\/div><\/p>\n<h2>Enhanced App Validation<\/h2>\n<p>Developers can now evaluate their app packages against the same test cases Microsoft uses to review apps. The new Enhanced App Validation feature in Teams Toolkit identifies errors or warnings in your app package and offers guidelines for resolution. This feature ensures your app meets the necessary standards before submission. For more details, refer to the <a href=\"https:\/\/learn.microsoft.com\/en-us\/microsoftteams\/platform\/concepts\/deploy-and-publish\/appsource\/prepare\/teams-store-validation-guidelines\" target=\"_new\" rel=\"noopener\">Teams Store validation guidelines<\/a> and <a href=\"https:\/\/learn.microsoft.com\/en-us\/legal\/marketplace\/certification-policies\" target=\"_new\" rel=\"noopener\">Commercial marketplace certification policies<\/a>.<\/p>\n<p><img decoding=\"async\" width=\"1440\" height=\"960\" class=\"wp-image-22564\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/app-validation.png\" alt=\"App Validation\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/app-validation.png 1440w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/app-validation-300x200.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/app-validation-1024x683.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/app-validation-768x512.png 768w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/p>\n<h2>Generate an Intelligent Chatbot with Python<\/h2>\n<p>During Build 2024, we introduced support for building <a href=\"https:\/\/learn.microsoft.com\/microsoft-365-copilot\/extensibility\/overview-custom-engine-copilot\" target=\"_new\" rel=\"noopener\">Custom Engine Copilot<\/a>, including a &#8220;chat with&#8221; feature for your own API. Now, we\u2019re thrilled to extend this capability to Python developers. With Teams Toolkit, you can now generate intelligent chatbots using Python, expanding your toolkit for building powerful, AI-driven applications.<\/p>\n<p><img decoding=\"async\" width=\"1440\" height=\"960\" class=\"wp-image-22565\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/app-generator.png\" alt=\"App Generator\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/app-generator.png 1440w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/app-generator-300x200.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/app-generator-1024x683.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/app-generator-768x512.png 768w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/p>\n<h2>Create Declarative Copilots<\/h2>\n<p>You can now use Teams Toolkit to create declarative copilots, allowing you to craft custom copilots by declaring instructions, actions, and knowledge to tailor Copilot for Microsoft 365. These declarative copilots operate on the same orchestrator, foundation models, and trusted AI services that power Microsoft Copilot. Learn more about <a href=\"https:\/\/learn.microsoft.com\/microsoft-365-copilot\/extensibility\/overview-declarative-copilot\" target=\"_new\" rel=\"noopener\">Declarative Copilot here<\/a>. Teams Toolkit enables you to build either a basic declarative copilot or one with an API plugin.<\/p>\n<p>Currently Declarative copilot is still in extended private preview, make sure you met these <a href=\"https:\/\/learn.microsoft.com\/en-us\/microsoftteams\/platform\/toolkit\/install-teams-toolkit?tabs=vscode#install-a-prerelease-version\">prerequisites<\/a> before building a declarative copilot with Teams Toolkit.<\/p>\n<p><img decoding=\"async\" width=\"1440\" height=\"960\" class=\"wp-image-22566\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/declarative-copilot.png\" alt=\"Declarative Copilot\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/declarative-copilot.png 1440w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/declarative-copilot-300x200.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/declarative-copilot-1024x683.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/08\/declarative-copilot-768x512.png 768w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/p>\n<h2>Using Assistant API on Azure OpenAI Service<\/h2>\n<p>Teams Toolkit has updated the AI Agent (Python) app template to support the Assistant API on Azure OpenAI Service. Now, you can build your own AI Agents for Microsoft 365 using Python, with the option to choose between Azure OpenAI Service or directly using OpenAI. An update for the TypeScript and JavaScript versions will be coming soon.<\/p>\n<h2>Enhancements<\/h2>\n<ul>\n<li>Teams Toolkit will continually update scaffold app templates to ensure they meet the latest <a href=\"https:\/\/learn.microsoft.com\/en-us\/microsoftteams\/platform\/concepts\/deploy-and-publish\/appsource\/prepare\/teams-store-validation-guidelines\" target=\"_new\" rel=\"noopener\">Teams Store validation guidelines<\/a>. The first wave of updates focuses on all bot templates. To understand what has been changed, you can check out the following pull requests:\n<ul>\n<li><a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12063\" target=\"_new\" rel=\"noopener\">PR#12063<\/a>: Updated Basic Bot and Message Extension<\/li>\n<li><a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12096\" target=\"_new\" rel=\"noopener\">PR#12096<\/a>: Updated Chat Command<\/li>\n<li><a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12123\" target=\"_new\" rel=\"noopener\">PR#12123<\/a>: Updated Chat Notification Messages<\/li>\n<li><a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12119\" target=\"_new\" rel=\"noopener\">PR#12119<\/a>: Updated Sequential Workflow in Chat<\/li>\n<\/ul>\n<\/li>\n<li>Teams Toolkit will now inform users to generate an API key before debugging the API Message Extension (ME) or API Plugin with API Key authentication templates.<\/li>\n<li>Secret values have been redacted from the Visual Studio Code output channel to enhance security.<\/li>\n<\/ul>\n<h2>Bug Fixes<\/h2>\n<ul>\n<li>Fixed vulnerability issues in TeamsFx SDK. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/11937\" target=\"_new\" rel=\"noopener\">#11973<\/a><\/li>\n<li>Fixed an issue with groupchat and groupChat compatibility in Teams app manifest. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12028\" target=\"_new\" rel=\"noopener\">#12028<\/a><\/li>\n<li>Resolved an issue where the link redirection for the lifecycle button Provision was incorrect. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12120\" target=\"_new\" rel=\"noopener\">#12120<\/a><\/li>\n<li>Addressed an issue with publicClientApplication initialization failure in TeamsFx SDK. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12159\" target=\"_new\" rel=\"noopener\">#12159<\/a><\/li>\n<li>Fixed an issue when creating SharePoint Framework-based tab apps. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12173\" target=\"_new\" rel=\"noopener\">#12173<\/a><\/li>\n<\/ul>\n<p>Download the <a href=\"https:\/\/learn.microsoft.com\/en-us\/microsoftteams\/platform\/toolkit\/install-teams-toolkit?tabs=vscode\" target=\"_blank\" rel=\"noopener\">latest version of Teams Toolkit<\/a> and explore these new features and improvements today.<\/p>\n<p><em>Follow us on <a href=\"http:\/\/twitter.com\/microsoft365dev\">X (Twitter) \/ @Microsoft365Dev<\/a>, <a href=\"https:\/\/www.linkedin.com\/showcase\/microsoft365dev\/\">LinkedIn<\/a>, and subscribe to our <a href=\"https:\/\/www.youtube.com\/microsoft365developer\">YouTube channel<\/a> to stay up to date on the latest developer news and announcements.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn about the latest Teams Toolkit for Visual Studio Code updates including the capability to create declarative copilots.<\/p>\n","protected":false},"author":43243,"featured_media":22568,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[390,128],"tags":[349,280,23,135,44],"class_list":["post-22563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-copilot","category-microsoft-teams","tag-declarative-copilot","tag-microsoft-copilot","tag-teams-toolkit","tag-python","tag-visual-studio-code"],"acf":[],"blog_post_summary":"<p>Learn about the latest Teams Toolkit for Visual Studio Code updates including the capability to create declarative copilots.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/22563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/43243"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=22563"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/22563\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/22568"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=22563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=22563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=22563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}