You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To prevent users from requesting access to your organization or projects, you can disable the 'Request Access' policy. When enabled, this policy allows users to request access, triggering email notifications to administrators for review and approval. Disabling the policy stops these requests and notifications.
19
+
This article explains how to disable the 'Request Access' policy in Azure DevOps to prevent users from requesting access to your organization or projects. When this policy is enabled, users can request access, and administrators receive email notifications for review and approval. Disabling the policy stops these requests and notifications, helping you control access more tightly.
20
20
21
21
## Prerequisites
22
22
@@ -27,24 +27,23 @@ To prevent users from requesting access to your organization or projects, you ca
27
27
28
28
## Disable Request Access policy
29
29
30
-
1. Sign in to your organization (```https://dev.azure.com/{yourorganization}```).
30
+
1. Sign in to your organization (```https://dev.azure.com/{Your_Organization}```).

35
35
36
-
3. Select **Policies**, locate the *Request Access policy* and toggle it to *off*.
37
-
36
+
3. Select **Policies**, find the 'Request Access' policy, and switch it to **Off**.
37
+
38
38

39
39
40
-
4. Provide the URL to your internal process for gaining access. Users see this URL in the error report when they try to access the organization or a project within the organization that they don't have permission to access.
40
+
4. Provide the URL to your internal process for gaining access.
41
41
42
42

43
43
44
-
**Results:**
44
+
**Result:**
45
45
46
-
-**Users already part of the organization:** If they lack permission to access a specific project, they get a 404 error. To maintain confidentiality, the 404 error doesn’t reveal whether the project exists and so doesn't provide a link to request access.
47
-
-**Users not part of the organization:** If they attempt to access a resource, they get a 401 error, which includes a link to the configured custom URL for requesting access.
46
+
When users try to access a project without the required permissions, the error message includes the **request access URL**. This link is shown on the error page to maintain confidentiality, regardless of whether the project exists.
0 commit comments