question

Johan-6011 avatar image
0 Votes"
Johan-6011 asked Mamatha-MSFT answered

Javascript for Share-to-Teams button broken - shareToMicrosoftTeams is not defined

Our implementation of the share-to-teams button broke today. https://teams.microsoft.com/share/launcher.js no longer provide a global shareToMicrosoftTeams function which results in "Uncaught ReferenceError: shareToMicrosoftTeams is not defined" when called in code.

We have followed the documentation and our solution has been working for well over a year until today.

office-teams-app-dev
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Johan-6011, I am able to repro the issue from my end. Seems like it's a bug, yet need to get confirmation from the internal team. Will be raising the same as bug if it gets confirmed.

0 Votes 0 ·

1 Answer

Mamatha-MSFT avatar image
0 Votes"
Mamatha-MSFT answered

Hi @Johan-6011, We have raised a bug on this and it is being tracked internally. We are working on fixing.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.