microsoft-teams

“Uploading custom apps is not allowed” When Installing Microsoft Teams Sample App

夙愿已清 提交于 2020-08-04 04:07:21
问题 Update: I just realized that I can install it if I download it and then bring it in via Apps > Upload a custom app, so it's only installing it from within App Studio that gives the error. I'm trying to work through the sample app at https://docs.microsoft.com/en-us/microsoftteams/platform/get-started/get-started-dotnet-app-studio, but I'm stuck at the part where you install it into Teams. I get the error: "Uploading custom apps is not allowed." According to Prepare your Office 365 tenant, in

onTeamsMemberAddedEvent() not working for personal scope

孤街醉人 提交于 2020-07-22 05:21:32
问题 I was using Microsoft graph API for installing the bot for a user https://graph.microsoft.com/beta/users/{userID}/teamwork/installedApps On installing the bot, onTeamsMemberAddedEvent() was called for the personal scope as well as for teams scope and through that, I was sending the welcome message to the users. Apart from graph api, I was also installing the bot directly and the function was getting revoked. But now, this event is not getting called and I am unable to get conversationId from

Service URL for Notification-Only Teams Bot

我与影子孤独终老i 提交于 2020-07-22 05:19:59
问题 I am working on a notification only teams bot limited to members of a single azure ad tenant. Based on this documentation - https://docs.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-context - the serviceUrl could change. Since the bot would hardly ever receive a request, how do I manage the serviceUrl? What could cause the serviceUrl to change? 回答1: Service URL are unique to region, not tenant. You can cache the team and user details when bot is added to a team in

Service URL for Notification-Only Teams Bot

最后都变了- 提交于 2020-07-22 05:19:38
问题 I am working on a notification only teams bot limited to members of a single azure ad tenant. Based on this documentation - https://docs.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-context - the serviceUrl could change. Since the bot would hardly ever receive a request, how do I manage the serviceUrl? What could cause the serviceUrl to change? 回答1: Service URL are unique to region, not tenant. You can cache the team and user details when bot is added to a team in

How can I set a team picture programmatically using Microsoft graph API?

邮差的信 提交于 2020-07-22 05:11:22
问题 How can I set a team picture using Microsoft graph API? Is there a way while provisioning Microsoft team using the automated way[Using Microsoft Graph Team API] we can set team picture icon or upload team picture icon using Microsoft graph API. 回答1: Yes you can do that through the group profile photo endpoint. Each Microsoft team relies on a unified group underneath so all operations done on a group will reflect on the team. Here is the documentation of the endpoint 回答2: Set Team Icon can be

How to retrieve another user's MS Teams chats with the Microsoft Graph API?

孤街浪徒 提交于 2020-07-19 04:11:46
问题 As a global administrator I'm attempting to retrieve the list of MS Teams chats for a different user, however no matter which id I pass to GET /beta/users/{id}/chats the response is always the list of chats for the authenticated user. How do you get the list of chats for a different user? The API documentation (https://docs.microsoft.com/en-us/graph/api/chat-list?view=graph-rest-beta&tabs=http) suggests that I should be able to call GET /beta/me/chats to retrieve the list of my chats and GET