Skip to content

Commit

Permalink
Merge pull request #5038 from FabienTschanz/fix/issue-5034
Browse files Browse the repository at this point in the history
Add missing AccessTokens parameter to export
  • Loading branch information
NikCharlebois committed Sep 11, 2024
2 parents 84f09b7 + 5431df5 commit 08ab060
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
* IntuneAntivirusPolicyWindows10SettingCatalog
* Fixes an issue with invalid parameter definition.
FIXES [#5015](https://github.com/microsoft/Microsoft365DSC/issues/5015)
* IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10
* Add missing `AccessTokens` parameter to `Export-TargetResource`
FIXES [#5034](https://github.com/microsoft/Microsoft365DSC/issues/5034)
* SCRoleGroup
* Fixes an issue with creation without specifying Displayname
* Fixes an issue with Drifts because of returned Role format
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,11 @@ function Export-TargetResource

[Parameter()]
[Switch]
$ManagedIdentity
$ManagedIdentity,

[Parameter()]
[System.String[]]
$AccessTokens
)

$ConnectionMode = New-M365DSCConnection -Workload 'MicrosoftGraph' `
Expand Down Expand Up @@ -836,6 +840,7 @@ function Export-TargetResource
ApplicationSecret = $ApplicationSecret
CertificateThumbprint = $CertificateThumbprint
Managedidentity = $ManagedIdentity.IsPresent
AccessTokens = $AccessTokens
}

$Results = Get-TargetResource @Params
Expand Down

0 comments on commit 08ab060

Please sign in to comment.