Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Nov 18, 2022
1 parent 467c9b1 commit c7dd755
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# UNRELEASED

* O365AdminAuditLogConfig
* Updated settings.json to include permissions.
FIXES [#2517](https://github.com/microsoft/Microsoft365DSC/issues/2517)
* O365OrgCustomizationSetting
* Updated settings.json to include permissions.
FIXES [#2517](https://github.com/microsoft/Microsoft365DSC/issues/2517)
* SCRetentionCompliancePolicy
* Fixes issue with the TeamsChannelLocation and TeamsChatsLocation parameters that were improperly returned by the Get- function.
FIXES [#2472](https://github.com/microsoft/Microsoft365DSC/issues/2472)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"read": [],
"update": []
}
},
"exchange": {
"requiredroles": [
"Audit Logs"
],
"requiredrolegroups": []
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"read": [],
"update": []
}
},
"exchange": {
"requiredroles": [
"Organization Configuration"
],
"requiredrolegroups": []
}
}
}
6 changes: 5 additions & 1 deletion Modules/Microsoft365DSC/Modules/M365DSCUtil.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -3243,10 +3243,14 @@ function Get-M365DSCWorkloadsListFromResourceNames
}
'O3'
{
if (-not $workloads.Contains('MicrosoftGraph'))
if (-not $workloads.Contains('MicrosoftGraph') -and $resource -eq 'O365Group')
{
$workloads += 'MicrosoftGraph'
}
elseif(-not $workloads.Contains('ExchangeOnline'))
{
$workloads += 'ExchangeOnline'
}
}
'OD'
{
Expand Down

0 comments on commit c7dd755

Please sign in to comment.