Podělte se o svůj názor:
Rádi bychom váš názor na dokumentaci pro vývojáře v Microsoft Teams. Odpovězte prosím na náš krátký tříotazový průzkum.Vyplnit dotazník
Tento prohlížeč se už nepodporuje.
Upgradujte na Microsoft Edge, abyste mohli využívat nejnovější funkce, aktualizace zabezpečení a technickou podporu.
Set up your dev environment for extending Teams apps across Microsoft 365
Článek
The development environment for extending Microsoft Teams apps across Microsoft 365 is similar to Teams development. This article discusses specific configurations required to run preview builds of Teams and Microsoft 365 applications in order to preview Teams apps running in Outlook, Microsoft 365 app, Word, Excel and PowerPoint.
Poznámka
The Microsoft 365 (Office) app is being renamed to Microsoft 365 Copilot app. The app icon is also changing, from
to
. Updates to the app UI and icon are in the process of rolling out.
You need a Microsoft 365 developer subscription sandbox tenant to set up your dev environment. If you don't already have one, create a sandbox tenant or get a test tenant through your organization.
Poznámka
As you set up for testing, ensure that you sign out of all other accounts and sign in with the account you intend to use for testing.
You also need to enable custom app upload for your tenant:
In the upper-right corner of the Manage apps page, select Actions dropdown menu > Org-wide app settings.
Under Custom apps, turn on the Let users interact with custom apps in preview toggle and select Save.
Apart from Org-wide app settings, custom app policy settings also allow users to upload custom apps to Teams. For more information, see manage custom app policies and settings.
Go to Teams apps > Setup policies and select Global (Org-wide default) policy.
Turn on Upload custom apps and select Save.
Enroll your developer tenant for Microsoft 365 Targeted Releases (Optional)
This section is optional and only required for any features in preview, as listed in Teams apps across Microsoft 365 app element support table. To enroll your test tenant for Microsoft 365 Targeted Releases:
Install Microsoft 365 apps in your test environment
Desktop
Based on the test scenario, you can preview Teams apps running in Outlook on Windows desktop by using a Microsoft 365 Apps update channel for your tenant.
To install Microsoft 365 applications in your test environment:
Sign in to your test environment with your test tenant credentials.
Select a local folder to store the extracted files.
Go to the local folder and open configuration-Office365-x86.xml (or *x64.xml, depending on your environment) in a text editor. Ensure the Channel value is set according to the scenario you're testing:
Outlook scenario
Update channel
Teams personal tabs in Outlook
Current
Teams search-based message extensions in Outlook
Current
Outlook Add-ins
BetaChannel
Meeting apps in Outlook
Current
Word, Excel, PowerPoint scenario
Update channel
Word, Excel, PowerPoint Add-ins
BetaChannel
Open Command Prompt and go to the local folder path.
Run setup.exe /configure configuration-Office365-x86.xml (or use the *x64.xml file, depending on your setup).
If you are testing in Outlook, take the following steps:
Open the Outlook desktop client and set up the mail account using your test tenant credentials.
In Outlook, open File > Office Account > About Outlook to confirm you're running a Microsoft 365 Current Channel build.
If you're testing in Word, Excel, or PowerPoint, open File > Account > Update Channel to confirm you're running a Microsoft 365 Beta Channel build.
Verify that Microsoft Edge WebView2 Runtime is installed. Open Windows Start > Apps & features, and search for webview:
Search for a supported host for running Teams apps:
For Microsoft 365 app (formerly Office), search office and select Microsoft 365 app.
For Outlook, search outlook and select Microsoft Outlook.
Select the Install button.
Launch the Microsoft 365 app and sign in with your test tenant credentials.
Open your profile (Me) > Settings and scroll to the bottom of the menu.
Ensure that you use Microsoft 365 app version 16.0.15726.20000 or later and Outlook app version 4.2247.1 (52247812) or later for Android.
iOS
You can preview Teams personal tabs running in Outlook and Microsoft 365 app for iOS by installing the prerelease version on the TestFlight app on your iOS device.
To access the preview version on TestFlight, reach out to the product group through your CSAM/Account Manager for an Invitation.
Install the TestFlight app from the App Store on your testing device of choice.
Open your email invitation, accept the email invitation, or follow the public link invitation to install the Beta app.
Launch the Outlook app and sign in with your test tenant credentials.
Open your profile (Me) > Settings and scroll to the bottom of the menu.
Ensure that you use Microsoft 365 app version 2.72.23030700 or later and Outlook app version 4.2310.0 (18999702) or later for iOS.
Install Visual Studio Code and Teams Toolkit extension
Optionally, you can use Visual Studio Code to extend Teams apps into Microsoft 365 and Outlook.
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Zpětná vazba k produktu Platform Docs
Platform Docs je open source projekt. Vyberte odkaz pro poskytnutí zpětné vazby:
Teams Toolkit is an extension for Visual Studio Code and Visual Studio 2022. It helps developers create and deploy Teams apps with integrated identity, cloud storage and other services across Microsoft 365 and Azure. In this Learn path, you'll learn how to build a Microsoft Teams app using Teams Toolkit for Visual Studio Code.