Nguồn video: https://www.youtube.com/watch?v=BUGt6BHokZM
Hoặc các bạn có thể xem bài viết khác cũng nói về vụ này tại đây:
Introduction
This is a recent update/announcement from Microsoft Build 2020. We can create a standalone and static app inside MS Teams that link to the SharePoint intranet site.
Prerequisites
Consider using the SharePoint modern site. (E.g. https://contoso.sharepoint.com/sites/SPDemo)
Placeholder | Example |
{{siteUrl}} | https://contoso.sharepoint.com/sites/SPDemo |
{{sitePath}} | /sites/SPDemo |
{{subdomain}} | contoso |
App Studio to create a SharePoint App
Follow these steps to download an App Studio from the App Store if you do not have it.
- Open MS Teams desktop client.
- Click Apps from the left menu.
- Search and click “App Studio”.
- Click Add
Let's create a new app in App Studio to host a SharePoint App.
- Open App Studio.
- Click Manifest editor.
- Click Create a new app.
- Fill in the App details.
- Specify App names and Descriptions.
- Specify Developer information and App URLs.
- Under Capabilities, click Tabs.
- Under the Personal tab, click Add.
- Specify the parameters. Follow the below formatcontentUrl: {{siteUrl}}/_layouts/15/teamslogon.aspx?SPFX=true&dest={{sitePath}}websiteUrl: {{siteUrl}}
- Click Save.
- Under Finish, click Domains and permissions.
- Add your SharePoint online domain name.
- Click Add.
- Add AAD App ID to set up a single sign-on (SSO). Specify AAD application ID as 00000003-0000-0ff1-ce00-000000000000 and Resource Url as {{subdomain}}.sharepoint.com
- Under Finish, click Test and distribute. Make sure no errors are displayed.
- Click Install.
Test Personal App
In the Teams desktop client, navigate to the ellipses (…) on the left-hand side of your app bar. Find your new app and load it.
Troubleshooting
While installing the app, you may get an error: You don't have permission to add Intranet to this team.
Solution
Enable the sideloading of the app by following the below steps:
- Open Teams admin center.
- Under Teams app, click Setup policies.
- Click Global (Org-wide default).
- On the Upload custom apps.
- Click Save.
Summary
We can create a standalone and static app inside MS Teams that links to the SharePoint intranet site. Please note, this functionality is only available with SharePoint modern sites and page. Classic SharePoint sites and pages are not supported for this.
Nguồn bài viết: https://www.c-sharpcorner.com/article/sharepoint-site-as-static-app-in-ms-teams/
Nhận xét
Đăng nhận xét