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
Copy file name to clipboardExpand all lines: Config/standards.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1587,8 +1587,8 @@
1587
1587
"ZTNA21807",
1588
1588
"ZTNA21810"
1589
1589
],
1590
-
"helpText": "Disables users from being able to consent to applications, except for those specified in the field below",
1591
-
"docsDescription": "Requires users to get administrator consent before sharing data with applications. You can preapprove specific applications.",
1590
+
"helpText": "Disables users from being able to consent to applications, except for those specified in the field below. This standard conflicts with the \"Allow users to consent to applications with low security risk\" standard; only one of the two should be assigned per tenant.",
1591
+
"docsDescription": "Requires users to get administrator consent before sharing data with applications. You can preapprove specific applications. This standard conflicts with the \"Allow users to consent to applications with low security risk\" (OauthConsentLowSec) standard. Enabling both on the same tenant causes a remediation conflict, so only assign one.",
1592
1592
"executiveText": "Requires administrative approval before employees can grant applications access to company data, preventing unauthorized data sharing and potential security breaches. This protects against malicious applications while allowing approved business tools to function normally.",
1593
1593
"addedComponent": [
1594
1594
{
@@ -1609,8 +1609,8 @@
1609
1609
"name": "standards.OauthConsentLowSec",
1610
1610
"cat": "Entra (AAD) Standards",
1611
1611
"tag": ["IntegratedApps"],
1612
-
"helpText": "Sets the default oauth consent level so users can consent to applications that have low risks.",
1613
-
"docsDescription": "Allows users to consent to applications with low assigned risk.",
1612
+
"helpText": "Sets the default oauth consent level so users can consent to applications that have low risks. This standard conflicts with the \"Require admin consent for applications\" standard; only one of the two should be assigned per tenant.",
1613
+
"docsDescription": "Allows users to consent to applications with low assigned risk. This standard conflicts with the \"Require admin consent for applications (Prevent OAuth phishing)\" (OauthConsent) standard. Enabling both on the same tenant causes a remediation conflict, so only assign one.",
1614
1614
"executiveText": "Allows employees to approve low-risk applications without administrative intervention, balancing security with productivity. This provides a middle ground between complete restriction and open access, enabling business agility while maintaining protection against high-risk applications.",
1615
1615
"label": "Allow users to consent to applications with low security risk (Prevent OAuth phishing. Lower impact, less secure)",
Copy file name to clipboardExpand all lines: Modules/CIPPStandards/Public/Standards/Invoke-CIPPStandardOauthConsent.ps1
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ function Invoke-CIPPStandardOauthConsent {
7
7
.SYNOPSIS
8
8
(Label) Require admin consent for applications (Prevent OAuth phishing)
9
9
.DESCRIPTION
10
-
(Helptext) Disables users from being able to consent to applications, except for those specified in the field below
11
-
(DocsDescription) Requires users to get administrator consent before sharing data with applications. You can preapprove specific applications.
10
+
(Helptext) Disables users from being able to consent to applications, except for those specified in the field below. This standard conflicts with the "Allow users to consent to applications with low security risk" standard; only one of the two should be assigned per tenant.
11
+
(DocsDescription) Requires users to get administrator consent before sharing data with applications. You can preapprove specific applications. This standard conflicts with the "Allow users to consent to applications with low security risk" (OauthConsentLowSec) standard. Enabling both on the same tenant causes a remediation conflict, so only assign one.
12
12
.NOTES
13
13
CAT
14
14
Entra (AAD) Standards
@@ -66,7 +66,13 @@ function Invoke-CIPPStandardOauthConsent {
$ConflictingStandard=$Standards|Where-Object-Property Standard -EQ'OauthConsentLowSec'
71
+
72
+
if ($Settings.remediate-eq$true-and$ConflictingStandard-and$State.permissionGrantPolicyIdsAssignedToDefaultUserRole-contains'ManagePermissionGrantsForSelf.microsoft-user-default-low') {
73
+
# A conflicting low security OAuth consent standard is enabled and currently applied. Skip remediation so we don't fight the other standard, but still fall through to alert/report.
74
+
Write-LogMessage-API 'Standards'-tenant $tenant-message 'There is a conflicting OAuth Consent policy standard enabled for this tenant. Remove the Allow users to consent to applications with low security risk (Prevent OAuth phishing. Lower impact, less secure) standard from this tenant to apply the require admin consent standard.'-sev Error
75
+
} elseif ($Settings.remediate-eq$true) {
70
76
$DidRemediationChange=$false
71
77
try {
72
78
if (-not$CompareIncludesFetched) {
@@ -222,6 +228,14 @@ function Invoke-CIPPStandardOauthConsent {
Copy file name to clipboardExpand all lines: Modules/CIPPStandards/Public/Standards/Invoke-CIPPStandardOauthConsentLowSec.ps1
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ function Invoke-CIPPStandardOauthConsentLowSec {
7
7
.SYNOPSIS
8
8
(Label) Allow users to consent to applications with low security risk (Prevent OAuth phishing. Lower impact, less secure)
9
9
.DESCRIPTION
10
-
(Helptext) Sets the default oauth consent level so users can consent to applications that have low risks.
11
-
(DocsDescription) Allows users to consent to applications with low assigned risk.
10
+
(Helptext) Sets the default oauth consent level so users can consent to applications that have low risks. This standard conflicts with the "Require admin consent for applications" standard; only one of the two should be assigned per tenant.
11
+
(DocsDescription) Allows users to consent to applications with low assigned risk. This standard conflicts with the "Require admin consent for applications (Prevent OAuth phishing)" (OauthConsent) standard. Enabling both on the same tenant causes a remediation conflict, so only assign one.
0 commit comments