- Open the repo in Codespaces.
- Click
Teams Toolkiticon from the left sidebar and Sign in M365 account.Note:
After login your M365 account, it will be redirected to a localhost endpoint like
http://localhost:xxx/?code=xxxxxxxxx.Copy the localhost endpoint from the address bar and run below command in the VS Code terminal in Codespaces:
curl <localhost-endpoint>Then you should login your M365 account.
- Copy the local address for
https://localhost:3978:
- Go to
.vscode/tasks.jsonand search forbotMessagingEndpoint, replace the value with<local_address>/api/messages. The value of<local_address>is the address you copied in last step. - Type
F5. - After the teams web client is launched, to trigger a notification, run below command in the VS Code terminal in Codespaces:
curl -X POST http://localhost:3978/api/notification
-
Notifications
You must be signed in to change notification settings - Fork 0
SmallBlackHole/bot-codespaces
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published