New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New command: List the chat conversations from a Microsoft Teams chat #2860
Comments
Thanks for the spec @arjunumenon, here's some feedback. The
This command is indeed related to Microsoft Teams so it would land under the |
Totally with you on that point. Thanks for pointing that out 👍.
Here is my thought - currently the commands which are there in the
This command which we have spec'd is also not related to Microsoft Teams team, while it is related to chat outside Microsoft Teams team. Hence I was wondering whether it make sense to rename the section in the Navigation since the commands coming under that list of commands which are both related to Microsoft Teams team as well related to commands outside Microsoft Teams team. Pardon me if it does not make sense to the original idea / thought process |
So the idea behind our naming convention is that the first segment of the command name indicates a workload. In this case it's Microsoft Teams as whole, not just a specific Teams team. As such, both commands that operate on teams, channels and conversations as teams that relate to the broader Teams workload fall under the |
Yes it does. I perceived the naming convention in a different way, that the commands are related to Teams team alone. |
Hi guys, |
Woohoo, awesome! Let us know if you need anything and happy hacking 🔥 |
Awesome! We appreciate your help and please let us know if you need any help. |
OK, just one question: would it be beneficial to also add the For example named |
@martinlingstuyl we do not have a |
👆 I may be able to pick up some more issues. It bugs me that |
Take as many as you'd like! We appreciate your help 👏 |
You have to forge the iron while it's hot 🐱🏍 ...plus you have a fantastic getting started guide, and I could copy paste a lot. (Of course I changed and checked if it worked as well) |
Thank you for the kind words! Awesome to hear that you could get started so quickly. |
'Remote container: clone in unique volume' --> no fuss 😎 |
Have you by any chance written about the steps you took to contribute? I think it would be invaluable for new contributors 👏 |
I haven't yet. But good I idea, I could write a short blog about it for my website https://www.blimped.nl |
Awesome! I'd be happy to help share it with others in our community 😊 |
For me it makes sense to to include those by default (as that is what the API is returning and it might have value if you want to retrieve all messages). But an optional flag to exclude any systemEvent from the response ( |
I am also in an opinion to have the complete result retrieved along with That being the case, we may have to filter after getting the results in our command code. |
I'll check if I can |
You where correct @arjunumenon : no |
Let us keep it then; we can always write a nice sample with a JMESPath query to exclude all those sytemEvents. |
Hi Waldek, I just published it! |
Awesome and a great read! Thank you so much for contributing and taking the time to share your experiences. I'm sure it'll be invaluable for new contributors and it got us a few ideas to include in our docs as well. |
Usage
m365 teams chat message list [options]
Description
List the conversations from a particular chat (1 on 1 chat OR Group chat OR Meeting Chats etc) in Microsoft Teams
Options
-i, --chatId<chatId>
Additional Info
We hay have to use the Graph API end point -
v1.0/chats/ConversationID/messages
as per this documentation.New API Permission for PnP Management Shell AAD App
For us to use the API, the AAD App needs to have the permission
Chat.Read, Chat.ReadWrite
. Currently the AAD App which is being used by CLI for Microsoft 365 (PnP Management Shell) does not have the permission setup. Once the PR is completed, the permission will have to applied to the AAD App.The text was updated successfully, but these errors were encountered: