AZDO.1007 - Team and project administrator are allowed to invite new users.
Overviewโ
Access to Azure DevOps should be a controlled process managed by the IAM team or the appropriate Azure DevOps administrator roles.
Rationale: By default, all administrators can invite new users to their Azure DevOps organization. Disabling this policy prevents Team and Project Administrators from inviting new users. Project Collection Administrators (PCAs) can still add new users to the organization regardless of the policy status. Additionally, if a user is already a member of the organization, Project and Team Administrators can add that user to specific projects.
Remediation action:โ
Disable the policy to stop these invitations.
- Sign in to your organization.
- Choose Organization settings.
- Select Policies, locate the Allow team and project administrators to invite new users policy and toggle it to off.
- Now, only Project Collection Administrators can invite new users to Azure DevOps.
Project and Team Administrators can directly add users to their projects through the permissions blade. However, if they attempt to add users through the Add Users button located in the Organization settings > Users section, it's not visible to them. Adding a user directly through Project settings > Permissions doesn't result in the user appearing automatically in the Organization settings > Users list. For the user to be reflected in the Users list, they must sign in to the system.
Related linksโ
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AZDO.1007 |
| Severity | High |
| Suite | Maester |
| Category | Azure DevOps |
| PowerShell test | Test-MtCheckAZDO1007 |
| Services | AzureDevOps |
| Learn more | https://aka.ms/azure-devops-invitations-policy |
| Tags | AZDO, AZDO.1007 |
Sourceโ
- Test:
tests/Maester/AzureDevOps/Test.AZDO.1007.ps1 - Documentation:
tests/Maester/AzureDevOps/Test.AZDO.1007.md
