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
Issue 3692: Updated teams channel member add, teams channel member re… #3698
Conversation
…move, and teams channel member set to include shared channels as having the same capability.
Thank you @AaronS16 for this PR! We'll review it asap. But your contribution is looking good on first sight! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done so far. There are still some places we need to update.
Check the command description for example and also some options refer to a private channel.
For example the --channelId
option says "The private channel's ID". This should be "The channel ID" let's just leave the spefic type away.
Also something you should consider: you should update the description in the command code itself.
public get description(): string { | |
return 'Adds a conversation member in a private channel.'; | |
} |
I'm marking this PR as draft to show that some changes are still needed. If you made the changes, please hit the 'ready for review' button at the bottom of the page. Then the maintainers know this PR is ready for another review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also missed this one.
@@ -43,7 +43,7 @@ m365 teams conversationmember add [options] | |||
|
|||
At least one owner must be assigned to a private channel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least one owner must be assigned to a private channel. | |
At least one owner must be assigned to a private or shared channel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there, seems like you've removed too many private
words.
Also don't forget to update the description of the commands in the command code itself.
public get description(): string { | |
return 'Adds a conversation member in a private channel.'; | |
} |
Also for the 2 other commands.
@@ -56,5 +56,5 @@ m365 teams channel member add --teamId 47d6625d-a540-4b59-a4ab-19b787e40593 --ch | |||
Add owners to a channel based on their display names | |||
|
|||
```sh | |||
m365 teams channel member add --teamName "Human Resources" --channelName "Private Channel" --userDisplayName "Anne Matthews,John Doe" --owner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't delete this private.
I have made the requested changes. Thank you for the assistance in this and I appreciate the assistance and opportunity so far. Please let me know if anything else has been missed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the command descriptions.
Everything is looking fine now. Thank you for this contribution! 👏
Is it correct that your name is Aaron Sotelo? We need your name so we can add you to the list of contributors.
Merged manually, thank you! Welcome to the team by the way! https://pnp.github.io/cli-microsoft365/about/team |
Yes, that is my full name and thank you for allowing me to contribute to this project. Please let me know if there is anything else I can help with. |
'Closes #3692'