Cli-microsoft365: New command: Archive team

Created on 31 Mar 2019  路  7Comments  路  Source: pnp/cli-microsoft365

Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team. Membership changes to the team continue to be allowed.

  • command: graph teams archive -i|--teamId 6f6fd3f7-9ba5-4488-bbe6-a789004d0d55 --shouldSetSpoSiteReadOnlyForMembers true
  • teamId: The ID of the team to archive
  • shouldSetSpoSiteReadOnlyForMembers: sets permissions for team members to read-only on the Sharepoint Online site associated with the team

Note: I would like to build this feature

new feature work in progress

All 7 comments

Very nice suggestion @sprider! What would be the API call that would be used for this command?

https://docs.microsoft.com/en-us/graph/api/team-archive?view=graph-rest-1.0
This will be the API @waldekmastykarz. Could you please assign this to me? I would like to contribute for the firtst time :)

All yours! We add contributors to the project after their first accepted contribution (merged PR). Nevertheless, this one is all yours. Looking forward to it! 馃挭

Great, Thank you @waldekmastykarz

Thank _you_ for the suggestion and offering a helping hand 馃憦

Hi @waldekmastykarz,

I have submitted a pull request. I will work on the Unarchive part of the same as soon as I get the confirmation from you. Please test and let me know if you have any feedbacks.

Thank you.

Thank you for such a quick turnaround! We'll review your PR shortly 馃憦

Was this page helpful?
0 / 5 - 0 ratings