How can I send message in personal chat with REST API except using App(or AAD or Service)?

SamuelKim-8418 20 Reputation points
2023-07-07T04:12:42.18+00:00

Hello MS teams support,

I have a question for using MS teams with other program(acutally JIRA s/w). This question is related to MS developer, but Idk how can I contact dev teams, so I write this page.

I want to implement a feature send a personal chat message in JIRA S/W. So, I checked and read related documents (e.g. Azure AD, App, Connector, REST API). But I can't find a solution what I need.

  • MS docs explained if you want to use personal chat with REST, then you need application(e.g. Azure AD that have app and bot).
  • Actually I just want to send a message to personal chat only(with REST) and I don't want to use Azure AD, App(or Service).
  • The reason I can't send a message is I can't get a access token(all documents explained access token is generated from App/Service).
  • Memo for dev team: I know JIRA provide a service (Automation) provide a feature that send a card using Incoming Webhook but this feature only send to channel(Because of scope configuration).

Can I solve this problem? If you need connect to develop team then Please send this question to dev team and told me a response or link, etc.

Best Regards,

Samuel Kim

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,639 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,472 questions
{count} votes

Accepted answer
  1. Meghana-MSFT 3,911 Reputation points Microsoft Vendor
    2023-07-10T07:47:59.25+00:00

    As you mentioned rightly, only option is to use webhooks, but they do not work in personal chat scope. Webhooks can be used to send messages only in channel scope. This is by design behavior.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.