Skip to content

Commit 261b9a7

Browse files
Merge pull request #6408 from FabienTschanz/fix/fido2-auth-update
Fix update of Fido2 Authentication policy
2 parents 4e0a403 + e1c7da2 commit 261b9a7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
* AADApplication
66
* Fixed an issue where not all properties were exported.
7+
* AADAuthenticationMethodPolicyFido2
8+
* Fixed an issue where the policy was not updated properly.
9+
FIXES [#6391](https://github.com/microsoft/Microsoft365DSC/issues/6391)
710
* AADCrossTenantAccessPolicyConfigurationDefault
811
* Fixed an issue where the export returns an invalid value for `Targets`.
912
FIXES [#6397](https://github.com/microsoft/Microsoft365DSC/issues/6397)

Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyFido2/MSFT_AADAuthenticationMethodPolicyFido2.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ function Set-TargetResource
379379
}
380380
#region resource generator code
381381
Write-Verbose -Message "Parameters:`r`n$(ConvertTo-Json $UpdateParameters -Depth 10)"
382+
$UpdateParameters.Add('@odata.type', '#microsoft.graph.fido2AuthenticationMethodConfiguration')
382383
Update-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration `
383384
-AuthenticationMethodConfigurationId $currentInstance.Id `
384385
-BodyParameter $UpdateParameters

0 commit comments

Comments
 (0)