Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm working on an Automation flow where I need to get the input from Microsoft Teams using the get Message block supported by Microsoft Teams. I'm not sure how to get the Message ID of the corresponding Text Message.
Appreciations and Thanks for the help in advance!
- Oppilaal
Hi @OppilaalDaniel ,
It depends on how you want to get it, i see two ways:
1. 'List Messages' block is the way to do it through QAA, each Message object also has an id property.
2. Manual, through Microsoft Teams itself, go to one of your messages, hover over the message -> click on 'Copy Link' you will get a url to your message, one of the query parameters in the url is named 'MessageId'
I wanted to point out something upon further checking for point 2 it's not the message id but the parent message id so point 2 doesn't seem to be relevant.
Best Regards
@Shai_E ,
Thanks for the response.
Posting/sending a message to teams was rather easier. By trying your suggestion I tried listing the messages, but it throws me a 403 Forbidden error.
Also tried the 2nd point and as you said, it's not accepting the ID as a Message ID rather it's being taken as a Parent Message ID.
I wanted to get the latest Message's ID and reply in response to it from QAA will that be possible?
- Oppilaal.
Hi @OppilaalDaniel ,
For the List Messages block, the forbidden issue might be a permissions related try granting the connection admin permissions
I think that "List Messages" is the way to go here.
Hi @Shai_E ,
Thanks for the suggestion. I'll try checking the permissions.
But my concern here is, that I have all the permissions to interact with teams from QlikApplication Automation like sending alerts, notifications and messages but not reading them let alone listing them.
Could you by any chance let me know what are the permissions I should look into specifically?
Hi @OppilaalDaniel ,
Please open a case for support about the list messages block, we will be able to give better help there, since we will probably need some attachments from your side.
let's have a look at it in a case.
Best Regards