Complete the code to specify the condition to require MFA for all users.
policy = {
"conditions": {
"users": {
"include": [[1]]
}
}
}To apply the policy to all users, use "AllUsers" in the include list.
Complete the code to set the grant control to require multi-factor authentication.
policy = {
"grantControls": {
"operator": "OR",
"builtInControls": [[1]]
}
}The "mfa" control requires users to perform multi-factor authentication.
Fix the error in the condition to include only users in the 'Sales' group.
policy = {
"conditions": {
"users": {
"includeGroups": [[1]]
}
}
}To target the Sales group, use its group ID, here represented as "SalesGroupId".
Fill both blanks to require MFA only when users sign in from outside trusted locations.
policy = {
"conditions": {
"locations": {
"include": ["AllLocations"],
"exclude": [[1]]
}
},
"grantControls": {
"builtInControls": [[2]]
}
}Exclude trusted locations and require MFA for all other locations.
Fill all three blanks to create a policy that applies to all users, requires MFA, and excludes trusted locations.
policy = {
"conditions": {
"users": {
"include": [[1]]
},
"locations": {
"exclude": [[2]]
}
},
"grantControls": {
"builtInControls": [[3]]
}
}This policy targets all users, excludes trusted locations, and requires MFA.