Teams Activity Notification For Personal Tab Teams App - microsoft-teams

Looking to a point in the right direction for a project I am working on. Currently, we have a teams app that is installed and there is a personal tab in it that opens up a list of courses to be taken on our platform, the user can then click on the course they want to do and it opens in an iframe within teams and they can take it.
The next task is to notify them into their activity tab within teams when they have been targeted with a new course, I am not sure if this can be accomplished by using the graph API or if I am going to have to go down the proactive messages route. Anyone that has a demo of what they have done for something similar would be great.

Related

Microsoft Teams | Expand Tab using JS

Hi my organisation has been creating an app on microsoft teams that allows users to view glpi website inside of a teams tab. The app in itself is just a shortcut to make it easier for the users to navigate through teams.
We need to use an html file with java script in it so that the app redirects to the website in a tab as microsoft teams doesn't allow us to show external website inside of a teams app.
My question is the following : Is it possible that when as a user i click the app button and the redirection to the website tab happens, that this tab automatically expands so that it take all the space inside the teams client. I want it to trigger the "expand the tab" option. (I accept whatever solution you may find because i haven't been able to find something relevant)
This was my first post i thank you for you time and effort and for reading me, have a nice one.
(I tried my best to review this before posting but i'm not sure that i haven't made any mistakes).
I have tried a bunch of useless edits...
There doesn't seem to be any graph API available for pin an App.
We have app related graph API available for add app to team and install app to user.
Ref Doc: https://learn.microsoft.com/en-us/graph/api/team-post-installedapps?view=graph-rest-1.0&tabs=http
https://learn.microsoft.com/en-us/graph/api/userteamwork-post-installedapps?view=graph-rest-1.0&tabs=http
To redirecting your Tab in application you can use deeplink to Tab of an application.
Reference Document: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-application?tabs=teamsjs-v2#generate-a-deep-link-to-your-tab

Why do I have to add a Microsoft Teams app to Team twice before it sends conversationUpdate activity

I've been working on a Microsoft Teams app, and have been using the conversationUpdate message type that should be triggered whenever the app (or a user) is added to a team to send a welcome message. I am using the upload a custom app feature that Microsoft Teams has to upload the app.
For some reason, when I add the app to the team I want it on, the conversationUpdate message has never fired for me on the first attempt. No error message or warning of any type. It doesn't work until I go to the team I just added the app to, click the ellipses for the team and go to manage team, click apps, and remove the app I just added, then add the app again to the team. Only then do I get the correct conversationUpdate message that I can use to send out a welcome message.
I've tested out various bots written by Microsoft in their BotBuilder samples here: https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/javascript_nodejs and have gotten the same result as my custom bot. I don't know why this error occurs and if it is isolated to an app uploaded with the upload a custom app feature.
Does anybody have insight as to why this is happening and if it happens on the Microsoft Teams App catalog as well?
I eventually figured out what the issue was. It would work the very first time I added the bot to a Team, but when I removed it, I was removing it from the Apps -> Built for your org only and not also removing it from the individual Team I had added it to. For some reason, when I did it this way, the first time I added the bot back in it would not trigger the conversationUpdate activity. Presumably because it thought that it was added to that Team still. Not sure exactly why, but that's what is happening.

How can I pin a Sharepoint's WebPart app?

I have developed a Sharepoint's WebPart. This app works fine and now I need something similar to integrate with Teams.
I have been researching about the best way to develop the app for Teams. As far as I know, there are two ways of doing this:
1. I can develop a new app only for Teams
2. I can "reuse" the Sharepoint's Webpart.
According to the second one option, I have made some little changes and now the app based in the WebPart is working in Teams.
My doubt is the next one. The application is a "Tab" associated to a channel and the client wants that the app icon appears in the menu of the left side.
When I try to add the icon in: https://admin.teams.microsoft.com/policies/app-setup, this new application based on the WebPart, never appears and I don't know the way to add the icon in the menu.
Could somebody help me?
Kind regards
You can pin only Personal Apps to the left rail. Please add your SharePoint page as personal (static) tab in your App and then pin it.

How to add an app to a group chat in MS Teams

The What's New for MS Teams on November 13, 2018
Apps on apps on apps
Why let channels have all the fun? Now your private group chats can
add dozens of apps as tabs to make working together even more
seamless. Manage project deadlines with Trello, readily access notes
with OneNote, track business analytics with PowerBI, and so much more.
Check out all the apps available by selecting the + at the top of any
group chat.
However, the + button does not exist in the group chat screen in the desktop application (1.2.00.17057) or the Office365 web interface.
How do I do this?
I have explored further and found that this may be affecting on your case.
Assuming if you have admin access
Go to https://portal.office.com/adminportal/home#/Settings/ServicesAndAddIns
Click on Teams. Under the Apps. Make sure you have enabled the following settings to see the + icon
The checkbox "Allow External Apps" let you When this setting is turned on, users can add external apps that are available to your organization.
Here is the official link.
https://learn.microsoft.com/en-us/microsoftteams/enable-features-office-365
Hope it helps
Tick the checkbox Allow external apps or sideloading of apps in Teams settings. You can go through the documentation.
https://learn.microsoft.com/en-us/microsoftteams/enable-features-office-365

Distributing company apps in Microsoft Teams

We are looking into the opportunities of apps within Microsoft Teams. We are using Microsoft Teams extensively and believe it can be the application to use as a single entry point to all relevant information. For example, we want to show the internal company news within Teams.
We are currently envisioning what the preferred way for us would be, based on O365. There are however a number of challenges we currently face with Microsoft Teams and wonder if there is a solution for these or if there are items on the roadmap that can help in this scenario:
Show the app on the left menu bar
Currently personal apps can be added on the left navigation bar. We
would like to add a button which is not hidden behind the ellipsis
but right on the menu bar itself. If possible even change the order.
Will this be a possibility or will the apps remain behind the
ellipses?
Deploy the app within the company only We would like to create company specific apps which work with company data.
We can create apps like this, but from a deployment view, we can only use side loading or the online store. For company specific apps this will not be a valid option (5000+ users). Will this become available?
Automatically deploy the “personal app” for all users
When deploying an app to the left bar, it is considered a personal app. Will it be possible to provision this app for all users within the company?
All three of these are on the roadmap, with item 2 (duplicate post) being the first one likely to appear in the first quarter of calendar 2018.

Resources