1
votes

Trying to make my LogicApp post in Microsoft Teams. At the moment I'm trying Team Id / Channel Id formatted as 19:[id-string]@thread.skype with no success.

I get a 400, bad request

{
  "error": {
    "code": "InvalidRequest",
    "message": "groupId needs to be a valid GUID.\r\nParameter name: groupId",

If I copy the URL for the team and channel I see that they both share the same groupId, which I assume is the team GUID?

Tried with that as well but with a 403 instead. Not sure how to get the channel GUID.

403:

{
  "error": {
    "code": "AccessDenied",
    "message": "Failed to execute Skype backend request PostMessageRequest.", 

Any hints?

Update Team Id drop-down field displays

"Could not retrieve values. User Login. Teams are disabled for your tenant."

enter image description here

1
Could you please try Create Chat Thread API and let us know if it works?Wajeed-MSFT
@Wajeed-MSFT Will need channel Id as a guid?Baked Inhalf
Please get Team Id using List joinedTeams Api and Channel Id using List channels Api. You can try this using Graph Explorer.Wajeed-MSFT
Please have a look at documentation on how to Turn on Microsoft Teams for your organization.Wajeed-MSFT
@Wajeed-MSFT Was related to Teams not activated for that tenantBaked Inhalf

1 Answers

1
votes

Please have a look at documentation on how to Turn on Microsoft Teams for your organization.

Note: Adding this as answer from comments.