A Microsoft Teams guest invitation may fail because of an expired authentication token, an invalid sign-in session or a tenant authorization policy that prevents external access. The guest might be unable to accept the invitation, complete authentication or access the inviting organization's Teams resources even after successfully signing in.

To resolve the failure, identify the authentication error in Microsoft Entra sign-in logs, verify the invitation status and check the relevant B2B collaboration policies. If the error involves an expired authentication code, renew the code before changing administrative settings. If Microsoft reports an inbound or outbound tenant restriction, investigate the specific policy responsible for blocking access.

Microsoft Entra B2B invitations do not automatically expire. However, temporary authentication codes, sign-in sessions and organizational security restrictions can prevent a guest from completing the invitation process or accessing the intended Teams resources.

Identify the Authentication Error

Before resetting the guest account or changing tenant permissions, determine which part of the authentication process is failing. An expired authentication session requires a different correction from a tenant policy that explicitly blocks external collaboration.

Ask the affected guest to open the invitation in a private browser window and sign in using the account associated with the invitation. Record the complete error message, including any AADSTS code, timestamp and correlation ID. Use the following error information to identify the appropriate troubleshooting direction.

Error or symptomLikely causeFirst action
Email authentication code expiredOne-time passcode is no longer validRequest a new code
AADSTS70043Refresh token rejected due to sign-in-frequency checksStart a fresh sign-in and inspect session controls
AADSTS500212Home tenant blocks outbound accessReview outbound B2B collaboration settings
AADSTS500213Resource tenant blocks inbound accessReview inbound B2B collaboration settings
AADSTS50020Account or tenant authorization mismatchVerify the guest identity and tenant
AADSTS53003Conditional Access blocks token issuanceReview the applied Conditional Access policy
Invitation pendingGuest has not completed redemptionVerify the identity and resend the invitation

If the error indicates an expired authentication code, resolve that problem before changing tenant settings. Modifying cross-tenant policies will not renew an expired one-time passcode.

If the error identifies an inbound or outbound restriction, proceed directly to the relevant tenant policy. Resending invitations will not override an organizational access restriction that remains active.

Inspect Microsoft Entra Sign-In Logs

Microsoft Entra sign-in logs provide evidence about the failed authentication attempt. They help administrators determine whether the guest was blocked by a tenant policy, used an incorrect identity or failed to satisfy an authentication requirement.

An administrator with the Reports Reader role can inspect sign-in logs. However, viewing the specific Conditional Access policies applied to a sign-in requires additional permissions, with Security Reader being the least-privileged built-in role that provides access to both the logs and policy details.

Open the Microsoft Entra admin center at entra.microsoft.com and complete the following checks:

  • Navigate to Entra ID → Monitoring & health → Sign-in logs.

  • Set the time range to include the guest's failed authentication.

  • Filter by the affected user and unsuccessful sign-in attempts.

  • Open the event matching the reported timestamp or correlation ID.

  • Inspect Basic info for the error code and failure reason.

  • Review the application, resource tenant and sign-in identity.

  • Open Conditional Access when the failure involves an access policy.

If the Conditional Access tab does not display the applied policies, verify that the administrator has permission to read Conditional Access policy data. Security Reader, Security Administrator or another appropriately authorized role can provide the necessary visibility.

If the sign-in identifies a specific tenant restriction, record the error before making changes. Confirm which organization owns the blocking policy because the inviting tenant can not independently resolve an outbound restriction enforced by the guest's home tenant.

If no matching sign-in appears, confirm the selected tenant, username and time range. Ask the guest to repeat the failed authentication once and provide the new correlation ID so the responsible administrator can locate the event.

Verify the Guest Invitation

If the authentication error does not clearly identify a tenant-policy restriction, inspect the guest's account and invitation status. An invitation that remains pending requires a different recovery procedure from one that has already been redeemed.

Open Microsoft Entra admin center → Entra ID → Users, search for the guest's email address, and select the matching account. Review the invitation state in the user properties or the B2B collaboration information on the Overview page.

Pending Invitation

If the invitation state is Pending acceptance, the guest has not completed the required invitation redemption. Resending the invitation is appropriate when the guest still needs to finish the acceptance process.

The administrator should complete the following sequence:

  • Open the guest account in Microsoft Entra ID.

  • Locate the B2B collaboration tile on the Overview page.

  • Select Resend invitation.

  • Ask the guest to open the latest invitation email.

  • Complete authentication using the intended identity.

  • Return to the guest account and verify the invitation state.

If the invitation remains pending, ask the guest to repeat redemption in a private browser window. Check whether authentication fails before the invitation can be accepted and record any new error message.

Do not repeatedly resend invitations when Microsoft reports an organizational authorization error. Investigate the current error code to determine whether tenant settings are preventing redemption.

Accepted Invitation

If the invitation state is Accepted, the guest previously completed redemption. The remaining failure may involve the account used for authentication, a security requirement or authorization to access the requested resource.

Ask the guest to confirm that the sign-in account matches the invited identity. If the original home account was deleted and recreated, the existing guest account may need its redemption status reset.

Before performing a reset, verify that the account is enabled and that the current failure is not caused by an inbound, outbound or Conditional Access restriction. This prevents unnecessary changes to an otherwise valid guest identity.

Renew an Expired Authentication Code

Some external guests authenticate through Microsoft Entra email one-time passcodes. These temporary codes are sent to the guest's email address when the account uses email-based authentication.

Microsoft specifies that email one-time passcodes remain valid for 30 minutes. After that period, the guest must request another code rather than continue using the previous one. The authentication process can be completed using the following sequence:

  • Return to the Microsoft sign-in page.

  • Select the option to send a new authentication code.

  • Open the newest email containing the passcode.

  • Enter the latest code in the active authentication window.

  • Complete any remaining authentication requirements.

  • Attempt to access the invited Teams resource.

Microsoft also specifies that email one-time passcode sessions expire after 24 hours. When that session expires, the guest must authenticate again with a new passcode.

If the replacement code also fails, verify the email address, authentication method and active sign-in session. Do not reset the guest account unless there is evidence that the existing redemption identity is incorrect.

For AADSTS70043, ask the guest to complete a fresh interactive sign-in. If the error returns, have the administrator review the applicable Conditional Access session controls, particularly sign-in frequency, rather than repeatedly resending the invitation.

Correct Tenant Authorization Policies

When Microsoft Entra reports a cross-tenant authorization restriction, inspect the B2B collaboration settings controlling external access. These settings determine whether users from another Microsoft Entra organization can access resources in the inviting organization.

For ordinary Teams guest membership, the relevant policies are Microsoft Entra B2B collaboration settings. Teams external-access federation settings govern different collaboration scenarios, so resetting federation policies is not the appropriate default response to a guest invitation failure.

Microsoft specifies at least the Security Administrator role or an appropriately authorized custom role, for configuring cross-tenant access settings through the Microsoft Entra admin center. Some granular configurations involving particular users, groups, applications or trust settings also require Microsoft Entra ID P1 licensing.

Correct Inbound Access

An AADSTS500213 error indicates that the resource organization's inbound cross-tenant policy does not permit the attempted access. The administrator of the inviting organization must inspect the inbound configuration through Entra ID → External Identities → Cross-tenant access settings and complete these checks:

  • Select Organizational settings.

  • Locate the guest's home organization.

  • If the organization is listed, open its Inbound access settings.

  • If no organization-specific settings exist, review Default settings.

  • Open the B2B collaboration configuration.

  • Inspect External users and groups for restrictions affecting the guest.

  • Review Applications for restrictions affecting the requested resources.

If the partner organization is missing, the administrator can search for it using its verified domain or tenant ID and create an organization-specific configuration when necessary. Before doing so, review the existing default settings to determine whether a separate configuration is actually required.

An organization-specific policy can override the applicable default configuration. Therefore, default settings that permit collaboration do not guarantee that every external organization is allowed.

If the affected guest or required application is blocked, the Security Administrator should determine whether an approved exception is appropriate. Prefer the minimum necessary user, group and application scope rather than opening external access broadly across the tenant.

After saving an approved correction, ask the guest to start a fresh authentication attempt. If AADSTS500213 continues, inspect the newest sign-in record and verify that the updated inbound policy applies to the affected identity and application.

Correct Outbound Access

An AADSTS500212 error indicates that the guest's home organization has an outbound cross-tenant policy preventing access to the inviting organization. This restriction must be investigated by the home tenant administrator because changing inbound permissions in the inviting organization will not override an outbound block enforced by another tenant.

The home tenant administrator should navigate to Entra ID → External Identities → Cross-tenant access settings → Organizational settings. After locating the inviting organization, open its Outbound access → B2B collaboration configuration and review the following:

  • Whether outbound B2B collaboration is permitted for the resource organization.

  • Whether the affected user or group is included in the allowed scope.

  • Whether the required application is permitted by the policy.

  • Whether an organization-specific rule overrides the default configuration.

If the restriction is intentional, the responsible administrator must approve an exception before modifying the policy. After an approved correction is saved, the guest should complete a fresh authentication attempt.

If the original outbound error disappears but another authentication error appears, investigate the new error separately. An outbound policy correction does not automatically satisfy every other security requirement applied during sign-in.

Check External Collaboration Restrictions

Cross-tenant access policies are not the only controls that can prevent guest invitations. Microsoft Entra also provides external collaboration settings that determine who may invite guests and which external email domains are permitted. These settings are particularly relevant when an invitation can not be created or Microsoft reports that an external domain is restricted.

In the Microsoft Entra admin center, navigate to Entra ID → External Identities → External collaboration settings and inspect the controls below. Focus on restrictions that directly affect the invitation rather than unrelated guest account permissions.

  • Guest invite permissions: Confirm that the person issuing the invitation has permission to invite external users.

  • Domain allowlist: Check whether the guest's domain is included when the tenant uses an invitation allowlist.

  • Domain blocklist: Verify that the guest's email domain is not explicitly blocked.

If the guest's domain is blocked, the administrator must review the organization's collaboration requirements before approving an exception. An invitation domain restriction and a cross-tenant access restriction are separate controls, and correcting one does not automatically override the other.

Resolve Conditional Access Blocks

If the sign-in error is AADSTS53003, Microsoft Entra has blocked token issuance through Conditional Access. The administrator must inspect the policy responsible for the failure rather than assume the invitation itself is invalid.

Open the affected sign-in event under Entra ID → Monitoring & health → Sign-in logs, then select Conditional Access. Inspect the policies applied to the failed authentication and identify the requirements responsible for denying access. The restrictions may involve one or more of the following conditions:

  • Multifactor authentication requirements the guest has not satisfied.

  • Authentication strength requirements.

  • Device compliance or device-join requirements.

  • Policies explicitly blocking external users.

  • Conditions requiring additional authentication.

If the administrator can view the sign-in logs but can not see the specific applied policies, check the assigned permissions. Microsoft identifies Security Reader as the least-privileged built-in role that grants access to both sign-in logs and Conditional Access policy details.

For example, if a policy requires a compliant device, resending the invitation will not satisfy that requirement. The administrator must determine whether the guest can meet the condition or whether an appropriately scoped policy adjustment is justified.

If the organization uses cross-tenant MFA trust, review the relevant inbound trust settings and the authentication claims accepted from the guest's home tenant. Avoid disabling Conditional Access across the organization simply to restore access for one external user.

Reset the Guest Redemption Status

When the invitation was redeemed using an identity that is no longer appropriate, resetting redemption status may resolve the mismatch without deleting the existing guest account. This can be useful when the guest's original organizational account was deleted and recreated or when the user needs to authenticate with a different permitted identity.

Microsoft Entra supports resetting redemption while preserving the existing guest object's identifier, group memberships and application assignments. This avoids unnecessary loss of the guest's existing resource associations. An authorized User Administrator can perform the redemption reset using the following procedure:

  • Open Microsoft Entra admin center → Entra ID → Users.

  • Select the affected guest account.

  • Verify the intended replacement identity and email address.

  • Update the relevant email properties if the identity must change.

  • Open the B2B collaboration tile on the Overview page.

  • Select Reset redemption status.

  • Confirm the reset.

  • Ask the guest to redeem the new invitation.

After redemption succeeds, verify that the guest can authenticate using the intended account and access the resources assigned to the existing guest object.

Resetting redemption status does not remove tenant authorization restrictions. If authentication continues to fail with AADSTS500212, AADSTS500213, or AADSTS53003, investigate the applicable policy rather than repeating the redemption reset.

Verify Teams Guest Permissions

If Microsoft Entra authentication succeeds but the guest cannot access the intended team, inspect the Teams guest-access configuration and the user's membership. A successful sign-in does not automatically establish permission to enter every Teams workspace.

Open Microsoft Teams admin center → Users → Guest access and verify that Guest access is enabled. If it is disabled, the Teams administrator must determine whether enabling it is permitted under the organization's security requirements and save any approved change.

Allow time for the updated configuration to take effect before testing again. If the guest still cannot access Teams, continue checking Microsoft 365 Groups settings and the affected team's membership.

Check Microsoft 365 Groups Settings

Microsoft Teams uses Microsoft 365 Groups to manage team membership. Consequently, the organization's Microsoft 365 Groups guest settings must permit the necessary external membership and access to group content.

An administrator with the appropriate Microsoft 365 permissions should open the Microsoft 365 admin center → Show all → Settings → Org settings. On the Services tab, select Microsoft 365 Groups and review the organization's guest-access controls.

Depending on the admin center interface, the exact setting labels may vary. Identify the controls by their purpose:

  • Allow group owners to add external guests: This controls whether group owners can add people outside the organization to Microsoft 365 Groups. Verify that it permits guest invitations when team owners need to add external members.

  • Allow guests to access group resources: This controls whether existing guest members can access content associated with Microsoft 365 Groups. Verify that the setting allows the intended external collaboration.

If either setting prevents the required access, determine whether the restriction is intentional. An authorized administrator can approve the necessary change, save the configuration and ask the guest to test access again.

The setting that allows owners to invite guests is especially relevant when a team owner cannot add an external user. If the guest is already a member but cannot access group resources, prioritize the guest content-access setting and any restrictions applied to the specific group.

If both organization-wide settings permit guest access, continue by checking the affected team's membership and any group-specific restrictions. Avoid changing unrelated organization-wide permissions when the problem is limited to one team.

Confirm Team Membership

When Teams guest access and Microsoft 365 Groups settings are correctly configured, check whether the affected account belongs to the intended team. A guest can authenticate successfully without having membership in the specific workspace they are trying to access. The team owner should complete these checks:

  • Open the affected team in Microsoft Teams.

  • Select More options → Manage team.

  • Open the Members section.

  • Search for the guest account.

  • Confirm that the correct external identity is listed.

  • Add the guest through the approved membership process if the account is missing.

The guest should also confirm that Teams is displaying the inviting organization rather than their home organization. If several organizations are available, switching to the intended organization may be necessary before the invited team becomes visible.

If the guest can authenticate and enter the correct organization but cannot open the team, continue investigating membership and guest permissions. Do not return to token troubleshooting unless a new authentication failure appears.

If the Error Still Appears

If the guest continues receiving an authentication or authorization error, repeat the failed sign-in once and inspect the newest Microsoft Entra record. Determine whether the original restriction remains active or whether authentication now fails at a different stage. Use the remaining symptom to select the appropriate recovery action.

Remaining problemWhat to check next
AADSTS70043 continuesReview sign-in frequency and complete fresh interactive authentication
AADSTS500212 continuesConfirm the home tenant's outbound policy includes the affected user and resource
AADSTS500213 continuesVerify the inviting tenant's inbound policy and applicable application scope
AADSTS53003 continuesInspect Conditional Access policies and unmet authentication requirements
Invitation remains pendingConfirm the intended identity and complete redemption
Authentication succeeds, but Teams is unavailableCheck Teams guest access, Microsoft 365 Groups settings and team membership
Error changes after a correctionInvestigate the new failure rather than repeating the previous fix

If the administrator can not identify the remaining restriction, use Microsoft Entra sign-in diagnostics or escalate through the organization's Microsoft support process. Provide the error code, correlation ID, timestamp, resource tenant, guest's home organization, invitation state and policy checks already completed.

These details help support personnel locate the failed authentication event and distinguish an unresolved tenant restriction from a new authentication problem. They also reduce unnecessary invitation resets and broad policy changes.

Confirm the Resolution

After applying the appropriate correction, ask the guest to complete a fresh sign-in using the intended identity. Verify that authentication succeeds, the inviting organization appears in Teams and the guest can open the specific team or resource they were authorized to access.

If authentication succeeds but the team remains unavailable, continue checking Teams guest permissions, Microsoft 365 Groups settings and team membership. A resolved authentication error does not automatically mean that every resource-access requirement has been satisfied.

The troubleshooting is complete when the guest can authenticate and access the intended Teams resource without the original authorization error. Expired authentication credentials require renewal, incorrect identities may require redemption correction and tenant restrictions require an approved change to the specific policy responsible for denying access.