Skip to content

Commit e33c8eb

Browse files
Merge pull request #3615 from kris6673/qrcode-support
Update authentication methods to use negated state values
2 parents adf719a + f358b54 commit e33c8eb

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

src/data/standards.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@
800800
"impact": "High Impact",
801801
"impactColour": "danger",
802802
"powershellEquivalent": "Update-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration",
803-
"recommendedBy": []
803+
"recommendedBy": ["CIPP"]
804804
},
805805
{
806806
"name": "standards.DisableVoice",
@@ -813,7 +813,7 @@
813813
"impact": "High Impact",
814814
"impactColour": "danger",
815815
"powershellEquivalent": "Update-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration",
816-
"recommendedBy": []
816+
"recommendedBy": ["CIPP"]
817817
},
818818
{
819819
"name": "standards.DisableEmail",
@@ -840,6 +840,19 @@
840840
"powershellEquivalent": "Update-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration",
841841
"recommendedBy": []
842842
},
843+
{
844+
"name": "standards.DisableQRCodePin",
845+
"cat": "Entra (AAD) Standards",
846+
"tag": ["highimpact"],
847+
"helpText": "This blocks users from using QR Code Pin as an MFA method. If a user only has QR Code Pin as a MFA method, they will be unable to log in.",
848+
"docsDescription": "Disables QR Code Pin as an MFA method for the tenant. If a user only has QR Code Pin as a MFA method, they will be unable to sign in.",
849+
"addedComponent": [],
850+
"label": "Disables QR Code Pin as an MFA method",
851+
"impact": "High Impact",
852+
"impactColour": "danger",
853+
"powershellEquivalent": "Update-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration",
854+
"recommendedBy": []
855+
},
843856
{
844857
"name": "standards.PerUserMFA",
845858
"cat": "Entra (AAD) Standards",

src/pages/tenant/administration/authentication-methods/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const Page = () => {
1515
type: "POST",
1616
icon: <Check />,
1717
url: "/api/SetAuthMethod",
18-
data: { state: "enabled", id: "id" },
18+
data: { state: "!enabled", id: "id" },
1919
confirmText: "Are you sure you want to enable this policy?",
2020
multiPost: false,
2121
},
@@ -24,7 +24,7 @@ const Page = () => {
2424
type: "POST",
2525
icon: <Block />,
2626
url: "/api/SetAuthMethod",
27-
data: { state: "disabled", id: "id" },
27+
data: { state: "!disabled", id: "id" },
2828
confirmText: "Are you sure you want to disable this policy?",
2929
multiPost: false,
3030
},

0 commit comments

Comments
 (0)