> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-guest-user-invite-not-restricted-to-users-with-specific-admin-role.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Guest User Invite not restricted to users with specific admin role

### Synopsis

| Field               | Value                                                                    |
| ------------------- | ------------------------------------------------------------------------ |
| Rule Type           | Detection                                                                |
| Finding Type        | Azure Guest User Invite not restricted to users with specific admin role |
| Finding ID          | 60000986                                                                 |
| Generates a Finding | This detection rule also generates a finding                             |
| Severity            | Medium                                                                   |
| Category            | CONFIGURATION                                                            |
| Cloud Providers     | AZURE                                                                    |
| Platform Module     | CSPM                                                                     |
| Asset Types         | AZURE\_ACTIVE\_DIRECTORY\_AUTHORIZATION\_POLICY                          |
| ATT\&CK Tactic      | TA0004 (TA0004)                                                          |
| ATT\&CK Technique   | T1078.004 (T1078.004)                                                    |

### Description

Unrestricted guest user invitations in Azure Active Directory allow any user to invite external guests, bypassing access controls and increasing the risk of unauthorized access. This misconfiguration exposes the organization to potential data breaches and compromises.

Azure Active Directory's guest user invitation feature allows organizations to collaborate with external users. However, failing to restrict invitations to specific administrative roles creates a significant security risk. Untrusted users could invite malicious actors, granting them access to sensitive data and resources. This lack of control could lead to lateral movement within the organization's environment, resulting in a full-blown security breach.

The impact of this misconfiguration could range from data exfiltration to complete account takeover. Restricting invitations to specific admin roles ensures only authorized personnel can invite guests, thereby minimizing the attack surface and maintaining control over access. This best practice enhances the security posture and reduces the risk of unauthorized access.

To mitigate this, configure Azure Active Directory to restrict guest user invitations to users with specific administrative roles, such as 'Global Administrator' or 'User Administrator'. Regularly review and update the list of authorized users. Implement robust monitoring and alerting to detect suspicious guest user invitations.

### Remediation

**Manual steps:**

Azure Active Directory Authorization Policy - Manual remediation steps:

1. Log in to Azure Portal and search for 'Microsoft Entra ID'
2. Select 'Microsoft Entra ID'
3. Under 'Manage' select 'External Identities'
4. Select 'External collaboration settings'
5. Under 'Guest invite settings' section, select "Only users assigned to specific admin roles can invite guest users"
6. Select 'Save'


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-guest-user-invite-not-restricted-to-users-with-specific-admin-role.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
