Forum Discussion

michaelmaillot_op's avatar
michaelmaillot_op
Brass Contributor
Nov 27, 2019
Solved

Unable to Remove a (orphaned ?) Team from user interface

Hi,

 

I'm working on the Teams creation through Graph API. I'm creating the Unified Group (with the SharePoint), then the Team. And as I was using a service account, I wanted to remove the account from the Group owners, which I did.

 

Then, I wanted to clean things up, by deleting the Group  / SharePoint / Team. So I've deleted the Group (through AAD Portal), then the SharePoint Site. But now I'm stucked because the Team still exists but I can't remove it from the user interface as I'm no owner of it... And of course, I can't see the Team through the admin interface.

 

Any idea how to remove it? I've got all the admin rights, so no limit on a working solution.

 

Thx.

  •  

    FYI

     

    I just got in touch with Microsoft Support and they informed me that there's a delay between the permanent deletion of a Group / Team from administration and its propagation to the UI. In my case, the "orphaned" Team has gone since my last post, which is good.

     

    Now I know that, when interacting with a Team from Admin Interface or AAD Group takes a bit more time to propagate, than passing by the User Interface.

     

    Thanks again for your help everyone 🙂

7 Replies

  • rene_weber's avatar
    rene_weber
    Brass Contributor
    Have you tried using the Microsoft Teams Powershell Module?

    https://www.powershellgallery.com/packages/MicrosoftTeams/1.0.3

    https://github.com/microsoftdocs/office-docs-powershell
    • michaelmaillot_op's avatar
      michaelmaillot_op
      Brass Contributor

      rene_weber Thx but that doesn't help, because those PowerShell commands work like Graph API : every action of deleting / setting Owners is related to the Group Entity, which in my case doesn't work anymore.

    • michaelmaillot_op's avatar
      michaelmaillot_op
      Brass Contributor

      ChrisHoardMVP Thx for your answer.

       

      But it would be too easy : the problem is that I've permanently deleted the Group so as the SharePoint Site...

       

      Any other suggestion ?

      • ChrisHoardMVP's avatar
        ChrisHoardMVP
        MVP
        Think it's going to be a ticket to support on this one for Microsoft to ice it. Whether they do it or they provide you with a means I would add the ultimate resolution here so that the community can benefit and know how to proceed next time

        Hope that answers your question

        Best, Chris

Resources