Team and project administrator are allowed to invite new users
AZDO.1007 is in Maester 3.0.0-preview and not in the stable 2.3.0 release yet. It will be in the next stable release. To use it now, install the preview:
Install-Module Maester -AllowPrerelease -ForceHow to get the preview, and go backUse the preview in GitHub Actions
Part of Maester · Azure DevOps · Users and access · All checks
Invoke-Maester -TestId AZDO.1007Overview
Section titled “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:
Section titled “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
Section titled “Related links”Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AZDO.1007 |
| Severity | Medium |
| Suite | Maester |
| Product | Azure DevOps |
| Feature | Users and access |
| Area | Access control |
| Resource type | Tenant |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1136.003 Cloud Account |
| PowerShell test | Test-MtCheckAZDO1007 |
| Services | AzureDevOps |
| Learn more | https://aka.ms/azure-devops-invitations-policy |
Source
Section titled “Source”About this check
- Severity
- Medium
- Effort to fix
- Low
- Impact on users
- Low
- Product
- Azure DevOps
- Feature
- Users and access
- Area
- Access control
- Suite
- Maester