Skip to content

Commit

Permalink
Merge pull request #5603 from NikCharlebois/AADAuthenticationRequirem…
Browse files Browse the repository at this point in the history
…ent---Export-all

AADAuthenticationRequirement - Fixes logic to Extract All User Instances
  • Loading branch information
NikCharlebois authored Dec 31, 2024
2 parents 63e1303 + 68752ec commit e951219
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# UNRELEASED

* AADAuthenticationRequirement
* Changed Export logic to extract instances from all users.
* AADOrganizationCertificateBasedAuthConfiguration
* Fixed the primary key of the resource.
FIXES [#5523](https://github.com/microsoft/Microsoft365DSC/issues/5523)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function Export-TargetResource

try
{
[array]$getValue = Get-MgUser -ErrorAction Stop | Where-Object -FilterScript { $null -ne $_.Id }
[array]$getValue = Get-MgUser -ErrorAction Stop -All | Where-Object -FilterScript { $null -ne $_.Id }

$i = 1
$dscContent = ''
Expand Down

0 comments on commit e951219

Please sign in to comment.