phpSPO icon indicating copy to clipboard operation
phpSPO copied to clipboard

What's up with Teams?

Open ztdan4ik opened this issue 2 years ago • 2 comments

Hi there,

Using your great library for SharePoint and I was very happy to find that this library supports MS Teams. Now I trying to use it, but unfortunately I have feeling that teams implementation is outdated or didn't finished.

  • I've found only one example how to use your lib for teams - teams creation.
  • AADTokenProvider::acquireTokenForPassword works incorrectly:
    • there is unsupported "resource" parameter in request body
    • TokenEndpoint should be /oauth2/v2.0/token instead of /oauth2/token
    • "scope" and "client_secret" parameters is missed.
  • I don't see any possibility to send messages into team channels although there is ChatMessage class

Maybe I don't understand how to use library correctly, in this case I'll be very thankful for some examples.

ztdan4ik avatar Apr 12 '22 12:04 ztdan4ik

Greetings, good to know :)

Speaking of Teams API, confirm and agree, the support might be rather poor, specifically with operations, sorry about that. Will look into closely some later this week and get back with update.

vgrem avatar Apr 13 '22 19:04 vgrem

Any progress on this? I too would like to know if more can be done with Teams.

PandyLegend avatar Dec 29 '22 14:12 PandyLegend