Skip to content

Commit 8afdd2d

Browse files
authored
Update deployment-spfx-teams-solutions.md
Added required Teams manifest information to ensure API calls work from Teams rich clients
1 parent 17a93f3 commit 8afdd2d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/spfx/deployment-spfx-teams-solutions.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ To use your own Microsoft Teams app manifest & app package instead of letting Sh
6666
1. Create a Microsoft Teams app manifest per the Microsoft Teams documentation:
6767
- [Microsoft Teams: Create an app package for your Microsoft Teams app](/microsoftteams/platform/concepts/build-and-test/apps-package)
6868
- [Microsoft Teams: Manifest schema for Microsoft Teams](/microsoftteams/platform/resources/schema/manifest-schema)
69+
70+
> [!IMPORTANT]
71+
> in the Teams app manifest ensure you add the following entry:
72+
> ```json
73+
> "webApplicationInfo": {
74+
> "resource": "https://{teamSiteDomain}",
75+
> "id": "00000003-0000-0ff1-ce00-000000000000"
76+
> }
77+
> ```
78+
> That is required to ensure any API call in the component will succeed from Microsoft Teams rich clients.
79+
6980
1. Create the Microsoft Teams app package named **TeamsSPFxApp.zip** by compressing the contents of the **./teams** folder.
7081
7182
> [!IMPORTANT]

0 commit comments

Comments
 (0)