PageSourceSearch

https://maester.dev/assets/js/e44aa9fb.a5320782.js

js maester.dev collected 2026-10-03 23:20:23 UTC 5,930 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkmaester=globalThis.webpackChunkmaester||[]).push([[5331],{53477(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>m,frontMatter:()=>r,metadata:()=>t,toc:()=>c});const t=JSON.parse('{"id":"commands/Test-MtCaMfaForRiskySignIn","title":"Test-MtCaMfaForRiskySignIn","description":"Checks if the tenant has at least one conditional access policy requiring multifactor authentication for risky sign-ins.","source":"@site/versioned_docs/version-2.2.0/commands/Test-MtCaMfaForRiskySignIn.mdx","sourceDirName":"commands","slug":"/commands/Test-MtCaMfaForRiskySignIn","permalink":"/docs/commands/Test-MtCaMfaForRiskySignIn","draft":false,"unlisted":false,"editUrl":"https://github.com/maester365/maester/blob/main/powershell/public/maester/entra/Test-MtCaMfaForRiskySignIn.ps1","tags":[],"version":"2.2.0","frontMatter":{"sidebar_class_name":"hidden","description":"Checks if the tenant has at least one conditional access policy requiring multifactor authentication for risky sign-ins.","id":"Test-MtCaMfaForRiskySignIn","title":"Test-MtCaMfaForRiskySignIn","hide_title":false,"hide_table_of_contents":false,"custom_edit_url":"https://github.com/maester365/maester/blob/main/powershell/public/maester/entra/Test-MtCaMfaForRiskySignIn.ps1"},"sidebar":"commandsSidebar","previous":{"title":"Test-MtCaMfaForGuest","permalink":"/docs/commands/Test-MtCaMfaForGuest"},"next":{"title":"Test-MtCaMisconfiguredIDProtection","permalink":"/docs/commands/Test-MtCaMisconfiguredIDProtection"}}');var i=s(74848),a=s(28453);const r={sidebar_class_name:"hidden",description:"Checks if the tenant has at least one conditional access policy requiring multifactor authentication for risky sign-ins.",id:"Test-MtCaMfaForRiskySignIn",title:"Test-MtCaMfaForRiskySignIn",hide_title:!1,hide_table_of_contents:!1,custom_edit_url:"https://github.com/maester365/maester/blob/main/powershell/public/maester/entra/Test-MtCaMfaForRiskySignIn.ps1"},o=void 0,l={},c=[{value:"SYNOPSIS",id:"synopsis",level:2},{value:"SYNTAX",id:"syntax",level:2},{value:"DESCRIPTION",id:"description",level:2},{value:"EXAMPLES",id:"examples",level:2},{value:"EXAMPLE 1",id:"example-1",level:3},{value:"PARAMETERS",id:"parameters",level:2},{value:"-ProgressAction",id:"-progressaction",level:3},{value:"CommonParameters",id:"commonparameters",level:3},{value:"INPUTS",id:"inputs",level:2},{value:"OUTPUTS",id:"outputs",level:2},{value:"System.Boolean",id:"systemboolean",level:3},{value:"NOTES",id:"notes",level:2},{value:"RELATED LINKS",id:"related-links",level:2}];function d(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h2,{id:"synopsis",children:"SYNOPSIS"}),"\n",(0,i.jsx)(n.p,{children:"Checks if the tenant has at least one conditional access policy requiring multifactor authentication for risky sign-ins."}),"\n",(0,i.jsx)(n.h2,{id:"syntax",children:"SYNTAX"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-powershell",children:"Test-MtCaMfaForRiskySignIn [-ProgressAction <ActionPreference>] [<CommonParameters>]\n"})}),"\n",(0,i.jsx)(n.h2,{id:"description",children:"DESCRIPTION"}),"\n",(0,i.jsx)(n.p,{children:"MFA for risky sign-ins conditional access policy can be used to require MFA for all users in the tenant."}),"\n",(0,i.jsxs)(n.p,{children:["Learn more:\n",(0,i.jsx)(n.a,{href:"https://learn.microsoft.com/entra/identity/conditional-access/howto-conditional-access-policy-risk",children:"https://learn.microsoft.com/entra/identity/conditional-access/howto-conditional-access-policy-risk"})]}),"\n",(0,i.jsx)(n.h2,{id:"examples",children:"EXAMPLES"}),"\n",(0,i.jsx)(n.h3,{id:"example-1",children:"EXAMPLE 1"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-powershell",children:"Test-MtCaMfaForRiskySignIn\n"})}),"\n",(0,i.jsx)(n.h2,{id:"parameters",children:"PARAMETERS"}),"\n",(0,i.jsx)(n.h3,{id:"-progressaction",children:"-ProgressAction"}),"\n",(0,i.jsx)(n.p,{children:"Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"Type: ActionPreference\nParameter Sets: (All)\nAliases: proga\n\nRequired: False\nPosition: Named\nDefault value: None\nAccept pipeline input: False\nAccept wildcard characters: False\n"})}),"\n",(0,i.jsx)(n.h3,{id:"commonparameters",children:"CommonParameters"}),"\n",(0,i.jsxs)(n.p,{children:["This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see ",(0,i.jsx)(n.a,{href:"http://go.microsoft.com/fwlink/?LinkID=113216",children:"about_CommonParameters"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"inputs",children:"INPUTS"}),"\n",(0,i.jsx)(n.h2,{id:"outputs",children:"OUTPUTS"}),"\n",(0,i.jsx)(n.h3,{id:"systemboolean",children:"System.Boolean"}),"\n",(0,i.jsx)(n.h2,{id:"notes",children:"NOTES"}),"\n",(0,i.jsx)(n.h2,{id:"related-links",children:"RELATED LINKS"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://maester.dev/docs/commands/Test-MtCaMfaForRiskySignIn",children:"https://maester.dev/docs/commands/Test-MtCaMfaForRiskySignIn"})})]})}function m(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},28453(e,n,s){s.d(n,{R:()=>r,x:()=>o});var t=s(96540);const i={},a=t.createContext(i);function r(e){const n=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.