Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AADConditionalAccessPolicy: Ehancement request - Add support for customAuthenticationFactors #2292

Closed
garretth9 opened this issue Sep 15, 2022 · 0 comments · Fixed by #2297 or #2309
Closed
Assignees
Labels
Enhancement New feature or request Entra ID

Comments

@garretth9
Copy link

Details of the scenario you tried and the problem that is occurring

We use a 3rd party MFA solution (symantec VIP) configured as a custom control. When using the module to export my config i noticed that my polices are being exported with no Grant controls, as it doesn't appear to support custom controls.

Verbose logs showing the problem

Suggested solution to the issue

While technically custom controls ARE still a preview feature, the config for them is included in both the beta and v1.0 graph api for conditional access policies https://graph.microsoft.com/v1.0/identity/conditionalAccess/policies and can be set/retrieved with the string collection attribute customAuthenticationFactors as shown in the conditionalAccessGrantControls resource type properties.

As this feature has been in preview for several years now, and microsoft's hinted-at replacement has yet to materialize after over 2 years, it would greatly enhance the usability of the module if we could set/retrieve this attribute as part of the AADConditionalAccessPolicy resource, even if the module doesn't support creation of the control resource itself since that is still preview.

A CustomAuthenticationFactors or CustomControls attribute could be added to the AADConditionalAccessPolicy resource that accepts a string array as input, which maps to the array of IDs returned by the customAuthenticationFactors attribute in the conditionalAccess/policies API.

The DSC configuration that is used to reproduce the issue (as detailed as possible)

Export-M365DSCConfiguration -Components @( "AADConditionalAccessPolicy") -Credential $Credential

The operating system the target node is running

n/a

Version of the DSC module that was used ('dev' if using current dev branch)

1.22.914.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Entra ID
Projects
None yet
3 participants