Guest Access and External Collaboration Cleanup
Guest users (B2B) are convenient, but many tenants accumulate guests who still have access to Teams, SharePoint, and apps long after the project ended.
Why clean it up
Stale guests expand the attack surface. A compromised partner account or an old invitation can still reach internal data if the guest was never removed or access-reviewed.
Practical cleanup
- Entra admin center → Entra ID → Users → filter by User type = Guest.
- Review last sign-in date and group memberships.
- Remove guests who haven’t signed in for a defined period (90–180 days is common) or who no longer need access.
- Turn on access reviews for guest groups if you have Entra ID P2, or schedule a quarterly manual review.
Prevent the problem going forward
- Limit who can invite guests (or require admin approval).
- Use expiration settings for guest invitations where available.
- Prefer groups with clear owners and regular access reviews over direct sharing to individuals.
- With Microsoft Entra ID Governance, guest lifecycle policies (opens in a new tab) can automatically disable or delete guests that no longer meet sponsorship, activity, or invitation rules, and can notify sponsors before enforcement. These policies need a Microsoft Entra ID Governance license and a connected Azure subscription for the guest add-on meter.
- Consider Conditional Access that requires MFA for guests.
Document the business reason for any long-lived guest accounts. It makes the next cleanup much faster.
Common guest sign-in problems
When a guest can’t get in, it’s usually one of these. Start with the failed sign-in in your tenant’s sign-in logs; the error code usually tells you which.
- Signed in with the wrong account (AADSTS50020, AADSTS16000, AADSTS90072). The account they picked, often a personal Microsoft account or another work account, isn’t the one you invited. Have them sign out, or use a private window, and sign in with the exact address the invitation went to. Microsoft Learn: troubleshoot B2B (opens in a new tab)
- The invitation was never redeemed. A guest stays at PendingAcceptance until they accept. Resend the invitation and ask them to allow Invites@microsoft.com through spam filters. If they need to switch to a different account, reset their redemption status instead of deleting them: that keeps their groups and app assignments. Redemption experience (opens in a new tab) · Reset redemption status (opens in a new tab)
- Blocked by cross-tenant access settings. “This invitation is blocked by cross-tenant access settings” means your settings, or the guest organization’s, don’t allow B2B collaboration with the other side. Admins on one or both sides have to allow it. Cross-tenant access overview (opens in a new tab)
- Asked to set up MFA again in your tenant. By default, guests register MFA in your tenant. To accept the MFA they already did at home, turn on inbound trust for MFA in your cross-tenant access settings (trust settings need Microsoft Entra ID P1 in your tenant). Authentication and Conditional Access for B2B (opens in a new tab)
- Blocked by Conditional Access (AADSTS53003, AADSTS53000). Guests can’t enroll their devices in your Intune, so a policy that requires a compliant device blocks them unless you trust their home tenant’s device claims or exclude guests from it. Microsoft also doesn’t recommend requiring app protection policies for guests. Microsoft Learn (opens in a new tab)
- “Your network administrator has restricted what organizations can be accessed.” That’s tenant restrictions on the guest’s own network. Their IT team has to allow your tenant; nothing in your tenant changes it. Microsoft Learn (opens in a new tab)
All guest-related codes: Guest and B2B errors. Section verified against Microsoft Learn: .
Is this still accurate?
Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.