Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
OppilaalDaniel
Partner - Contributor III
Partner - Contributor III

Get Message Block in Qlik Application Automation

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

Oppilaal Daniel
Labels (3)
6 Replies
Shai_E
Support
Support

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

OppilaalDaniel
Partner - Contributor III
Partner - Contributor III
Author

@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.

Oppilaal Daniel
Shai_E
Support
Support

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.

 

OppilaalDaniel
Partner - Contributor III
Partner - Contributor III
Author

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?

Oppilaal Daniel
Shai_E
Support
Support

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

OppilaalDaniel
Partner - Contributor III
Partner - Contributor III
Author

Hi @Shai_E ,

Sure, Thanks!

Oppilaal Daniel