| description |
Automatically generated file. DO NOT MODIFY |
mgc policies authentication-methods-policy authentication-method-configurations patch --authentication-method-configuration-id {authenticationMethodConfiguration-id} --body '{
\
"@odata.type": "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration",
\
"id": "X509Certificate",
\
"state": "enabled",
\
"certificateUserBindings": [
\
{
\
"x509CertificateField": "PrincipalName",
\
"userProperty": "onPremisesUserPrincipalName",
\
"priority": 1
\
}
\
],
\
"authenticationModeConfiguration": {
\
"x509CertificateAuthenticationDefaultMode": "x509CertificateMultiFactor",
\
"rules": [
\
{
\
"x509CertificateRuleType": "issuerSubject",
\
"identifier": "CN=ContosoCA,DC=Contoso,DC=org ",
\
"x509CertificateAuthenticationMode": "x509CertificateMultiFactor"
\
},
\
{
\
"x509CertificateRuleType": "policyOID",
\
"identifier": "1.2.3.4",
\
"x509CertificateAuthenticationMode": "x509CertificateMultiFactor"
\
}
\
]
\
},
\
"crlValidationConfiguration": {
\
"state": "disabled",
\
"exemptedCertificateAuthoritiesSubjectKeyIdentifiers": []
\
},
\
"includeTargets": [
\
{
\
"targetType": "group",
\
"id": "all_users",
\
"isRegistrationRequired": false
\
}
\
]
\
}
\
'