1. Resources
  2. Detection rules
  3. External Guest User Invited

External Guest User Invited detection rules

An attacker with a compromised account invites an external identity they control as a guest. The guest account stays in the tenant after the compromised account is cleaned up and can be given access like any other user.

Platform
Microsoft Entra ID
Severity
Low
Log source
Microsoft Entra ID audit logs
Last updated
Rule formats
Sigmaand queries for: SplunkMicrosoft SentinelIBM QRadar
What an attacker needs
A compromised account that may invite guests, which by default is any member or guest of the tenant, and an external identity the attacker controls.
Impact
A guest account under the attacker's control that outlives the clean-up of the inviting account and gains access with every group or role it is added to.
Response
Block and remove the guest account and everything it was added to, and treat the account that sent the invitation as compromised.
Mitigation
Restrict who may invite guests to administrators and the Guest Inviter role, and limit invitations to the domains of known partners.
Audit activities
Invite external userInvite external user with reset invitation status
Threat groups
APT29LAPSUS$

How the attack works

Microsoft Entra B2B collaboration lets people invite external users into the tenant. An invitation creates a user object of type Guest, and once the invited person has redeemed it they sign in with their own identity from another organization or provider. Who may invite is a tenant setting. Its default lets everyone in the organization invite, including guests.

For an attacker this is a cheap way to keep a door open. From one compromised account they invite an external identity they own. The guest is an account of its own, so resetting the password of the compromised user or revoking its sessions does not touch it. A guest starts with limited permissions, but anyone who manages a group, a team or an application can add it there, and an attacker with an administrator role can give it a directory role.

The Invited users service writes every invitation to the audit log as Invite external user, with the inviter in InitiatedBy and the new guest in TargetResources. Microsoft recommends alerting when someone who is not an approved inviter sends one. Microsoft lists a second activity, Invite external user with reset invitation status. A reset of the redemption status keeps the guest's object ID, group memberships and application assignments but lets a different email address redeem the account, so it can hand the access of an existing guest to someone else.

What an attacker needs

  • A compromised account that is allowed to invite guests. With the default setting that is any member or guest. With a restricted setting it is a holder of the Guest Inviter, User Administrator or Global Administrator role, or an application with User.Invite.All.
  • An external identity under the attacker's control that receives and redeems the invitation.
  • For a reset of the redemption status: the Helpdesk Administrator or User Administrator role.

Impact

A guest account in the tenant that the attacker controls. On its own it reads what guests may read and reaches what is shared with it. Its value grows with every group, team, site or role it is added to, and it outlives the clean-up of the account that sent the invitation.

Detection rules

External User Invited as a Guest

Detects an invitation of an external user to the tenant, the audit activity "Invite external user" of the Invited users service. The invitation creates a guest account that the invited identity can redeem. Microsoft recommends alerting when the inviter is not one of the approved inviters, because an attacker with a compromised account invites an identity of their own to keep access. Most tenants invite guests every day, so this rule is a low severity signal. Add a filter for the approved inviters, or correlate the event with a risky sign-in of the inviter.

LevelLowStatusExperimentalLog sourceMicrosoft Entra ID audit logs
title: External User Invited as a Guest
id: 1d431463-1eb5-4e02-8413-55eeda4d8135
status: experimental
description: >-
  Detects an invitation of an external user to the tenant, the audit activity
  "Invite external user" of the Invited users service. The invitation creates
  a guest account that the invited identity can redeem. Microsoft recommends
  alerting when the inviter is not one of the approved inviters, because an
  attacker with a compromised account invites an identity of their own to
  keep access. Most tenants invite guests every day, so this rule is a low
  severity signal. Add a filter for the approved inviters, or correlate the
  event with a risky sign-in of the inviter.
references:
  - https://learn.microsoft.com/en-us/entra/architecture/security-operations-user-accounts
  - https://learn.microsoft.com/en-us/entra/identity/monitoring-health/reference-audit-activities
  - https://learn.microsoft.com/en-us/entra/external-id/external-collaboration-settings-configure
  - https://attack.mitre.org/techniques/T1136/003/
author: Forestall
date: 2026-11-16
tags:
  - attack.persistence
  - attack.t1136.003
logsource:
  product: azure
  service: auditlogs
detection:
  selection:
    OperationName: Invite external user
  filter_failed:
    Result: failure
  condition: selection and not filter_failed
falsepositives:
  - Ordinary collaboration. Employees invite customers, suppliers and contractors. Expect many events a day in a tenant that works with partners.
  - Onboarding applications and governance workflows that invite guests through Microsoft Graph. Exclude them in a filter on InitiatedBy once they are documented.
level: low

False positives

  • Ordinary collaboration. Employees invite customers, suppliers and contractors. Expect many events a day in a tenant that works with partners.
  • Onboarding applications and governance workflows that invite guests through Microsoft Graph. Exclude them in a filter on InitiatedBy once they are documented.

Guest Invited Again With a Reset of the Redemption Status

Detects the audit activity "Invite external user with reset invitation status" of the Invited users service. Microsoft lists the activity without describing it. By its name it is written when an existing guest is invited again with the redemption status reset, an operation that keeps the guest's object ID, group memberships and application assignments while a different email address can redeem the account. It is meant for guests who changed their address or employer and needs the Helpdesk Administrator or User Administrator role. Used by an attacker, it hands the access of an existing guest to another person.

LevelMediumStatusExperimentalLog sourceMicrosoft Entra ID audit logs
title: Guest Invited Again With a Reset of the Redemption Status
id: 5b301637-5773-443c-a780-f5236729c542
status: experimental
description: >-
  Detects the audit activity "Invite external user with reset invitation
  status" of the Invited users service. Microsoft lists the activity without
  describing it. By its name it is written when an existing guest is invited
  again with the redemption status reset, an operation that keeps the guest's
  object ID, group memberships and application assignments while a different
  email address can redeem the account. It is meant for guests who changed
  their address or employer and needs the Helpdesk Administrator or User
  Administrator role. Used by an attacker, it hands the access of an existing
  guest to another person.
references:
  - https://learn.microsoft.com/en-us/entra/identity/monitoring-health/reference-audit-activities
  - https://learn.microsoft.com/en-us/entra/external-id/reset-redemption-status
  - https://attack.mitre.org/techniques/T1136/003/
author: Forestall
date: 2026-11-16
tags:
  - attack.persistence
  - attack.t1136.003
logsource:
  product: azure
  service: auditlogs
detection:
  selection:
    OperationName: Invite external user with reset invitation status
  filter_failed:
    Result: failure
  condition: selection and not filter_failed
falsepositives:
  - Help desk staff who reset the redemption status for a guest who changed email address, moved to another company or lost the original identity. Match each event to a request from the guest's sponsor.
level: medium

False positives

  • Help desk staff who reset the redemption status for a guest who changed email address, moved to another company or lost the original identity. Match each event to a request from the guest's sponsor.

Triage

  • Identify the inviter (InitiatedBy) and the invited address (TargetResources). Is the domain a known partner, a consumer mail provider or unknown?
  • Check whether the inviter normally invites guests, and ask them whether they sent this invitation.
  • Look at the inviter's sign-ins before the invitation for unfamiliar IP addresses or risk. An invitation right after a risky sign-in is the pattern to look for.
  • Follow the guest afterwards. Did it redeem the invitation, and was it added to groups, teams, applications or roles?
  • For a reset of the redemption status, compare the old and the new email address of the guest and find the request behind the change.

Response

Once the attack is confirmed:

  1. Block sign-in for the guest account and revoke its sessions. Delete it once you have recorded what it was given.
  2. Remove the guest from every group, team, application and role it was added to, and review what it accessed in the meantime.
  3. Treat the account that sent the invitation as compromised. Revoke its sessions, reset its password and review its authentication methods.
  4. Search the audit log for other invitations by the same inviter, from the same IP address or to the same external domain.
  5. Where the redemption status of an existing guest was reset without a request, block the account until its rightful owner has been confirmed.

Mitigation

  • Restrict the guest invite settings so that only administrators and users in the Guest Inviter role can invite, which is what Microsoft recommends for a controlled collaboration process.
  • Use the collaboration restrictions to allow invitations only to the domains of known partners, or to deny the domains you never work with.
  • Keep guest user access at the limited or the most restrictive level, not at the same access as members.
  • Review guests regularly with access reviews, and remove guests that never redeemed their invitation or no longer sign in.
  • Apply Conditional Access to guests, so that a guest account needs MFA like any other account.

Frequently asked questions

Why is the invitation rule rated low?

Inviting guests is everyday work in most tenants, for projects, suppliers and customers, and one invitation proves nothing. The rule earns its place as a record to search, as input for correlation with risky sign-ins of the inviter, and as an alert once you have filtered the people and applications that are approved to invite.

Who can invite guests in a default tenant?

Everyone. Microsoft documents that by default all users in the organization, including B2B collaboration guests, can invite external users. A single compromised user account, or a compromised guest, is therefore enough to bring another external identity into the tenant.

What is a reset of the redemption status, and why does it have its own rule?

It lets an existing guest redeem a new invitation with a different email address while the account keeps its object ID, group memberships and application assignments. It is meant for a guest who changed company or address. In the wrong hands it gives the access of an existing guest to another person. Microsoft lists the audit activity without describing it, so the rule relies on the activity name.

How does this differ from the page Guest Account Promoted to Member?

That page covers the change of an existing account's user type from Guest to Member, which removes the limits placed on guests. This page covers the step before it, the creation of the guest account by invitation.

References

We respect your privacy

We use cookies to keep this site secure and working properly. With your permission, we also use optional cookies to understand usage and improve the experience. Cookie Policy

You can change your choice at any time.