Guest organisation not disappearing / pending invitation problems

%3CLINGO-SUB%20id%3D%22lingo-sub-2118969%22%20slang%3D%22en-US%22%3EGuest%20organisation%20not%20disappearing%20%2F%20pending%20invitation%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2118969%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22p1%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20are%20experiencing%20some%20weird%20behaviour%20with%20guest%20organisations%20in%20Teams.%3CBR%20%2F%3EI%20have%20managed%20to%20recreate%20the%20problem%20between%20two%20environments%20that%20I%20have%20access%20to.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20two%20tenants%20A%20and%20B.%3CBR%20%2F%3EI%20sent%20an%20invite%20through%20teams%20from%20tenant%20A%20to%20tenant%20B.%3CBR%20%2F%3EThe%20user%20in%20tenant%20B%20did%20not%20accept%20the%20invitation%20and%20I%20sent%20the%20user%20(tenant%20B)%20a%20link%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fmyapps.microsoft.com%2F%3Ftenantid%3D%255Btenant%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20class%3D%22s1%22%3Ehttps%3A%2F%2Fmyapps.microsoft.com%2F%3Ftenantid%3D%5Btenant%3C%2FSPAN%3E%3C%2FA%3E%26nbsp%3BA%5D%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20user%20(tenant%20B)%20opened%20the%20link%2C%20consented%20got%20redirected%20to%20the%20myapps%20page%20in%20tenant%20A.%3CBR%20%2F%3EThe%20user%20in%20Tenant%20B%20is%20now%20an%20active%20guest%20user%20in%20tenant%20A.%3CBR%20%2F%3EThe%20user%20in%20B%20can%20also%20see%20that%20the%20organisation%20on%20myaccount.microsoft.com.%3CBR%20%2F%3E%3CBR%20%2F%3EAfter%20sending%20a%20new%20invite%20to%20the%20team%20in%20teams%20the%20user%20is%20able%20to%20collaborate%20in%20the%20team.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20user%20in%20B%20decides%20to%20leave%20the%20organisation%20(tenant%20A)%20on%20myaccount.microsoft.com%20and%20then%20the%20user%20is%20hard-deleted%20(manually)%20from%20tenant%20A.%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20is%20where%20the%20problems%20start%3A%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20Teams%20the%20user%20(tenant%20B)%20still%20has%20the%20tenant%20A%20as%20a%20guest%20organisation%20in%20Teams.%3CBR%20%2F%3EWhen%20trying%20to%20open%20the%20guest%20organisation%20either%20through%20the%20web%20interface%20or%20the%20client%20the%20user%20receives%20the%20following%20error%3A%3CBR%20%2F%3E%22AADB2B_0027%20%3A%20Your%20invitation%20was%20revoked.%20Please%20ask%20your%20inviter%20to%20invite%20you%20again.%22%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202021-02-09%20at%2012.41.05.png%22%20style%3D%22width%3A%20376px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253574iE880ADEFC19BD704%2Fimage-dimensions%2F376x461%3Fv%3D1.0%22%20width%3D%22376%22%20height%3D%22461%22%20role%3D%22button%22%20title%3D%22Screenshot%202021-02-09%20at%2012.41.05.png%22%20alt%3D%22Screenshot%202021-02-09%20at%2012.41.05.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%3CBR%20%2F%3EAnyone%20got%20any%20clue%20on%20how%20to%20resolve%20this%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2118969%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGuest%20Access%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eteams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2119555%22%20slang%3D%22en-US%22%3ERe%3A%20Guest%20organisation%20not%20disappearing%20%2F%20pending%20invitation%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2119555%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F105764%22%20target%3D%22_blank%22%3E%40THK%3C%2FA%3E%26nbsp%3BHello%2C%20how%20long%20do%20you%20wait%20after%20doing%20hard%20delete%3F%20I%20know%20that%20it%20can%20be%20a%20mess%20sometimes%20if%20you%20don't%20wait%20the%2024%20hours%20before%20sending%20an%20invite%20again%20and%20so%20on.%20So%20you're%20sending%20the%20invitation%20from%20AAD%20and%20not%20Teams%2C%20correct%3F%20It%20could%20just%20be%20a%20case%20of%20cache%20%2F%20synchronization%20which%20can%20be%20quickened%20sometimes%20by%20signing%20out%20manually%20from%20Teams.%20At%20least%20this%20is%20what%20comes%20to%20mind.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2141769%22%20slang%3D%22en-US%22%3ERe%3A%20Guest%20organisation%20not%20disappearing%20%2F%20pending%20invitation%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2141769%22%20slang%3D%22en-US%22%3E%3CP%20data-unlink%3D%22true%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F551905%22%20target%3D%22_blank%22%3E%40ChristianBergstrom%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EThe%20problem%20is%20fixed%20now.%20Didn't%20do%20anything%20on%20my%20side%26nbsp%3Bso%20it%20is%20probably%20something%20to%20do%20with%20replication%20%2F%20cache%20or%20something%20like%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi,

We are experiencing some weird behaviour with guest organisations in Teams.
I have managed to recreate the problem between two environments that I have access to.

I have two tenants A and B.
I sent an invite through teams from tenant A to tenant B.
The user in tenant B did not accept the invitation and I sent the user (tenant B) a link to https://myapps.microsoft.com/?tenantid=[tenant A]

The user (tenant B) opened the link, consented got redirected to the myapps page in tenant A.
The user in Tenant B is now an active guest user in tenant A.
The user in B can also see that the organisation on myaccount.microsoft.com.

After sending a new invite to the team in teams the user is able to collaborate in the team.

The user in B decides to leave the organisation (tenant A) on myaccount.microsoft.com and then the user is hard-deleted (manually) from tenant A.

This is where the problems start:

In Teams the user (tenant B) still has the tenant A as a guest organisation in Teams.
When trying to open the guest organisation either through the web interface or the client the user receives the following error:
"AADB2B_0027 : Your invitation was revoked. Please ask your inviter to invite you again."
Screenshot 2021-02-09 at 12.41.05.png


Anyone got any clue on how to resolve this?




2 Replies

@THK Hello, how long do you wait after doing hard delete? I know that it can be a mess sometimes if you don't wait the 24 hours before sending an invite again and so on. So you're sending the invitation from AAD and not Teams, correct? It could just be a case of cache / synchronization which can be quickened sometimes by signing out manually from Teams. At least this is what comes to mind.

@ChristianBergstrom 
The problem is fixed now. Didn't do anything on my side so it is probably something to do with replication / cache or something like that.