Skip to content

Commit

Permalink
Added telemetry to track individual sample code usage (OfficeDev#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wajeed-msft authored May 23, 2023
1 parent 4478e29 commit 417e865
Show file tree
Hide file tree
Showing 219 changed files with 661 additions and 96 deletions.
3 changes: 3 additions & 0 deletions samples/account-linking/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,6 @@ Add the parameters to the
- [Bot Framework Documentation](https://docs.botframework.com)
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Authentication basics](https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/authentication/authentication)


<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/account-linking-csharp" />
3 changes: 3 additions & 0 deletions samples/app-anonymous-users/csharp/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,6 @@ You can interact with Teams Tab meeting sidepanel.
- [Create facebook app for development](https://developers.facebook.com/docs/development/create-an-app/)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-anonymous-users-csharp" />
3 changes: 3 additions & 0 deletions samples/app-anonymous-users/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,6 @@ You can interact with Teams Tab meeting sidepanel.
- [Build apps for anonymous users](https://learn.microsoft.com/en-us/microsoftteams/platform/apps-in-teams-meetings/build-apps-for-anonymous-user?branch=pr-en-us-7318&tabs=javascript)
- [Authentication basics](https://docs.microsoft.com/microsoftteams/platform/concepts/authentication/authentication)
- [Create facebook app for development](https://developers.facebook.com/docs/development/create-an-app/)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-anonymous-users-nodejs" />
3 changes: 3 additions & 0 deletions samples/app-auth/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,3 +313,6 @@ As of April 2019, Microsoft Teams mobile clients support the `signin` action pro
## Further reading
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/en-us/microsoftteams/platform/m365-apps/overview)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-auth-nodejs" />
3 changes: 3 additions & 0 deletions samples/app-cache-meetings/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,6 @@ This sample feature shows how to improve the subsequent loading time of an App t
[Upload your app in Teams](https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/deploy-and-publish/apps-upload)
[Manage custom and sideloaded apps in Teams admin center](https://learn.microsoft.com/en-us/microsoftteams/teams-custom-app-policies-and-settings)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-cache-meetings-nodejs" />
4 changes: 3 additions & 1 deletion samples/app-checkin-location/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
- [Integrate media Capabilities inside your app](https://learn.microsoft.com/microsoftteams/platform/concepts/device-capabilities/media-capabilities?tabs=mobile)
- [Integrate media Capabilities inside your app](https://learn.microsoft.com/microsoftteams/platform/concepts/device-capabilities/media-capabilities?tabs=mobile)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-checkin-location-csharp" />
3 changes: 3 additions & 0 deletions samples/app-checkin-location/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
- [Integrate media Capabilities inside your app](https://learn.microsoft.com/microsoftteams/platform/concepts/device-capabilities/media-capabilities?tabs=mobile)


<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-checkin-location-nodejs" />
3 changes: 3 additions & 0 deletions samples/app-complete-auth/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,3 +299,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Authentication basics](https://docs.microsoft.com/microsoftteams/platform/concepts/authentication/authentication)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/microsoftteams/platform/m365-apps/overview)
- [Create facebook app for development](https://developers.facebook.com/docs/development/create-an-app/)


<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-complete-auth-csharp" />
3 changes: 3 additions & 0 deletions samples/app-complete-auth/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,3 +303,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Authentication basics](https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/authentication/authentication)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/en-us/microsoftteams/platform/m365-apps/overview)
- [Create facebook app for development](https://developers.facebook.com/docs/development/create-an-app/)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-complete-auth-nodejs" />
4 changes: 3 additions & 1 deletion samples/app-complete-sample/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,6 @@ contact [[email protected]](mailto:[email protected]) with any additio
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Authentication basics](https://docs.microsoft.com/microsoftteams/platform/concepts/authentication/authentication)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/microsoftteams/platform/m365-apps/overview)
- [Create facebook app for development](https://developers.facebook.com/docs/development/create-an-app/)
- [Create facebook app for development](https://developers.facebook.com/docs/development/create-an-app/)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-complete-sample-csharp" />
4 changes: 3 additions & 1 deletion samples/app-complete-sample/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Authentication basics](https://docs.microsoft.com/microsoftteams/platform/concepts/authentication/authentication)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/microsoftteams/platform/m365-apps/overview)
- [Create facebook app for development](https://developers.facebook.com/docs/development/create-an-app/)
- [Create facebook app for development](https://developers.facebook.com/docs/development/create-an-app/)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-complete-sample-nodejs" />
4 changes: 3 additions & 1 deletion samples/app-hello-world/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/en-us/microsoftteams/platform/m365-apps/overview)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/en-us/microsoftteams/platform/m365-apps/overview)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-hello-world-csharp" />
4 changes: 3 additions & 1 deletion samples/app-hello-world/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/en-us/microsoftteams/platform/m365-apps/overview)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/en-us/microsoftteams/platform/m365-apps/overview)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-hello-world-nodejs" />
3 changes: 3 additions & 0 deletions samples/app-installation-using-qr-code/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
- [Integrate media Capabilities inside your app](https://learn.microsoft.com/microsoftteams/platform/concepts/device-capabilities/media-capabilities?tabs=mobile)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-installation-using-qr-code-csharp" />
4 changes: 3 additions & 1 deletion samples/app-installation-using-qr-code/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
- [Integrate media Capabilities inside your app](https://learn.microsoft.com/microsoftteams/platform/concepts/device-capabilities/media-capabilities?tabs=mobile)
- [Integrate media Capabilities inside your app](https://learn.microsoft.com/microsoftteams/platform/concepts/device-capabilities/media-capabilities?tabs=mobile)

<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-installation-using-qr-code-nodejs" />
7 changes: 5 additions & 2 deletions samples/app-link-unfurling-in-share-to-teams/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ products:
languages:
- csharp
extensions:
contentType: samples
createdDate: "14-12-2022 00:15:13"
contentType: samples
createdDate: "14-12-2022 00:15:13"
urlFragment: officedev-microsoft-teams-samples-app-link-unfurling-in-share-to-teams-csharp
---

Expand Down Expand Up @@ -118,3 +118,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Bot Framework Documentation](https://docs.botframework.com)
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Share to teams](https://learn.microsoft.com/microsoftteams/platform/concepts/build-and-test/share-to-teams-from-personal-app-or-tab)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-link-unfurling-in-share-to-teams-csharp" />
8 changes: 5 additions & 3 deletions samples/app-link-unfurling-in-share-to-teams/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ languages:
- nodejs
- javascript
extensions:
contentType: samples
createdDate: "14-12-2022 00:15:13"
contentType: samples
createdDate: "14-12-2022 00:15:13"
urlFragment: officedev-microsoft-teams-samples-app-link-unfurling-in-share-to-teams-nodejs
---

Expand Down Expand Up @@ -104,4 +104,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt

- [Bot Framework Documentation](https://docs.botframework.com)
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Share to teams](https://learn.microsoft.com/microsoftteams/platform/concepts/build-and-test/share-to-teams-from-personal-app-or-tab)
- [Share to teams](https://learn.microsoft.com/microsoftteams/platform/concepts/build-and-test/share-to-teams-from-personal-app-or-tab)

<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-link-unfurling-in-share-to-teams-nodejs" />
3 changes: 3 additions & 0 deletions samples/app-localization/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,6 @@ To change the language in Microsoft Teams, please click your profile picture at
## Further reading
- [Localize your app](https://learn.microsoft.com/microsoftteams/platform/concepts/build-and-test/apps-localization)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-localization-csharp" />
3 changes: 3 additions & 0 deletions samples/app-localization/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,6 @@ To change the language in Microsoft Teams, please click your profile picture at
## Further reading

- [Localize your app](https://learn.microsoft.com/microsoftteams/platform/concepts/build-and-test/apps-localization)


<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-localization-nodejs" />
4 changes: 3 additions & 1 deletion samples/app-region-selection/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
## Further reading
- [Overview for Microsoft Teams App](https://docs.microsoft.com/microsoftteams/platform/build-your-first-app/build-first-app-overview)
- [Build a Configurable Tab for Microsoft Teams App](https://docs.microsoft.com/microsoftteams/platform/build-your-first-app/build-channel-tab)
- [Build a Bot](https://docs.microsoft.com/microsoftteams/platform/build-your-first-app/build-bot)
- [Build a Bot](https://docs.microsoft.com/microsoftteams/platform/build-your-first-app/build-bot)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-region-selection-csharp" />
4 changes: 3 additions & 1 deletion samples/app-sso/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Add Authentication to Your Bot Via Azure Bot Service](https://docs.microsoft.com/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0&tabs=csharp)
- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/microsoftteams/platform/m365-apps/overview)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/microsoftteams/platform/m365-apps/overview)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-sso-csharp" />
3 changes: 3 additions & 0 deletions samples/app-sso/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,3 +301,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/microsoftteams/platform/m365-apps/overview)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-sso-nodejs" />
3 changes: 3 additions & 0 deletions samples/app-task-module/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,6 @@ contact [[email protected]](mailto:[email protected]) with any additio
## Further reading
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/en-us/microsoftteams/platform/m365-apps/overview)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-task-module-csharp" />
4 changes: 3 additions & 1 deletion samples/app-task-module/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,6 @@ contact [[email protected]](mailto:[email protected]) with any additio
## Further reading
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/en-us/microsoftteams/platform/m365-apps/overview)
- [Extend Teams apps across Microsoft 365](https://learn.microsoft.com/en-us/microsoftteams/platform/m365-apps/overview)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-task-module-nodejs" />
3 changes: 3 additions & 0 deletions samples/app-virtual-assistant/csharp/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ urlFragment: officedev-microsoft-teams-samples-app-virtual-assistant-csharp

Please refer to the [Virtual Assistant Template documentation](https://microsoft.github.io/botframework-solutions/virtual-assistant/tutorials/create-assistant/csharp/1-intro/) for deployment and customization instructions.



<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/app-virtual-assistant-csharp" />
3 changes: 3 additions & 0 deletions samples/bot-adaptive-card-actions/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Send suggested actions](https://learn.microsoft.com/microsoftteams/platform/bots/how-to/conversations/conversation-messages?tabs=dotnet#send-suggested-actions)




<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/bot-adaptive-card-actions-csharp" />
3 changes: 3 additions & 0 deletions samples/bot-adaptive-card-actions/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt

- [Actions](https://learn.microsoft.com/adaptive-cards/rendering-cards/actions)
- [Send suggested actions](https://learn.microsoft.com/microsoftteams/platform/bots/how-to/conversations/conversation-messages?tabs=dotnet#send-suggested-actions)


<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/bot-adaptive-card-actions-nodejs" />
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,6 @@ If User A opens the chat again on either of these clients, it will show the cach
## Further reading
[User Specific Views](https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/universal-actions-for-adaptive-cards/user-specific-views?tabs=mobile%2CC)
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/bot-adaptivecards-user-specific-views-csharp" />
4 changes: 3 additions & 1 deletion samples/bot-all-cards/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
## Further reading

- [Types of cards](https://learn.microsoft.com/microsoftteams/platform/task-modules-and-cards/cards/cards-reference#receipt-card)
- [Create bot connection](https://learn.microsoft.com/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0&tabs=userassigned%2Caadv2%2Ccsharp)
- [Create bot connection](https://learn.microsoft.com/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0&tabs=userassigned%2Caadv2%2Ccsharp)

<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/bot-all-cards-csharp" />
4 changes: 3 additions & 1 deletion samples/bot-all-cards/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt

## Further reading
- [Types Of Cards](https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-reference#thumbnail-card)
- [Send a hero card](https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-howto-add-media-attachments?view=azure-bot-service-4.0&tabs=javascript#send-a-hero-card&preserve-view=true)
- [Send a hero card](https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-howto-add-media-attachments?view=azure-bot-service-4.0&tabs=javascript#send-a-hero-card&preserve-view=true)

<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/bot-all-cards-nodejs" />
3 changes: 3 additions & 0 deletions samples/bot-archive-groupchat-messages/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,6 @@ Send `getchat` message to the bot, you will recieve a consent card by the bot in
To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](https://aka.ms/azuredeployment) for a complete list of deployment instructions.
<img src="https://pnptelemetry.azurewebsites.net/microsoft-teams-samples/samples/bot-archive-groupchat-messages-csharp" />
Loading

0 comments on commit 417e865

Please sign in to comment.