title: Microsoft Teams : Placing Created Team in hidden list once created
body: <p>I have an app that is used to create various teams in the microsoft teams app via the use of the Microsoft Graph API. This app creates a group with an associated team and then adds members to that team depending on criteria.</p>
  <p>However once the team is created, the members of the team see the newly created team in the &quot;Your Teams&quot; list, this list can get long so to make it easier I automatically place the team in the &quot;Hidden Teams&quot; list.</p>
  <p>In order to do this I would archive and then unarchive a team, this would automatically place the team in the &quot;Hidden Teams&quot; list for all members.</p>
  <p>Recently I have run into an issue where archiving the team works, but when trying to unarchive the team, I would get a &quot;object not set to an instance of an object&quot; error returned from the method.</p>
  <p>This behaviour is new and causes my application to break, whereas for the last couple of months the app behaved fine, i was wondering if there is another way to automatically add the created team to the hidden teams list.</p>