Skip to content

Commit 1e61dc0

Browse files
fix: update local deployment instructions to include AZURE_APP_API_BASE_URL
1 parent d1dc7c1 commit 1e61dc0

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/TEAMS_LOCAL_DEPLOYMENT.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,21 @@ Or use the [Azure Functions VS Code extension](https://marketplace.visualstudio.
2929
2. Open the file env\\.env.local
3030
3. Locate the environment variable _AZURE_FUNCTION_URL_.
3131

32-
4. Replace the `<AZURE_FUNCTION_URL>` with your local Teams Backend URL (i.e., http://localhost:7071/api/GetConversationResponse)
32+
4. Update the environment variables in the file with your local development URLs:
33+
- Replace the `<AZURE_FUNCTION_URL>` placeholder with your local Teams Backend Function URL: `http://localhost:7071/api/GetConversationResponse`
34+
- Set the `AZURE_APP_API_BASE_URL` to your local API URL: `http://127.0.0.1:5050/`
35+
3336
```env
3437
AZURE_FUNCTION_URL=http://localhost:7071/api/GetConversationResponse
38+
AZURE_APP_API_BASE_URL=http://127.0.0.1:5050/
3539
```
3640
![Env](images/teams-local-3.png)
3741
3842
5. Save the file.
39-
6. Select Teams Toolkit from the navigation panel.
40-
7. Verify your signed into O365 and Azure with sideloading enabled.
41-
8. Select the "play" button next to Local.
43+
6. For local development, ensure that multitenant mode is enabled in the Teams extension. In `index.ts`, check that the `MicrosoftAppType` is set to "MultiTenant" instead of "SingleTenant"
44+
7. Select Teams Toolkit from the navigation panel.
45+
8. Verify your signed into O365 and Azure with sideloading enabled.
46+
9. Select the "play" button next to Local.
4247
4348
![Teams Toolkit](images/teams-local-2.png)
4449

0 commit comments

Comments
 (0)