Skip to content

Commit

Permalink
Merge pull request #3409 from NikCharlebois/Fix-#3292
Browse files Browse the repository at this point in the history
FIXES #3292
  • Loading branch information
NikCharlebois authored Jun 22, 2023
2 parents 7757234 + 96d1f18 commit 5164afc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* MISC
* Fixes the display of arrays as property values for Excel based reports from New-M365DSCReportFromConfiguration.
FIXES [#3173](https://github.com/microsoft/Microsoft365DSC/issues/3173)
* Added the Organization.Read.All permission by default in the Get-M365DSCCompiledPermisisonList cmdlet return values.
FIXES [#3292](https://github.com/microsoft/Microsoft365DSC/issues/3292)
* DEPENDENCIES
* Updated MicrosoftTeams to version 5.3.0.
* Updated MSCloudLoginAssistant to version 1.0.114.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
"application": {
"read": [
{
"name": "NotSupported"
"name": "Policy.Read.All"
}
],
"update": [
{
"name": "NotSupported"
"name": "Policy.ReadWrite.ConditionalAccess"
}
]
}
Expand Down
18 changes: 16 additions & 2 deletions Modules/Microsoft365DSC/Modules/M365DSCPermissions.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,22 @@ function Get-M365DSCCompiledPermissionList
}

$results = @{
Read = @()
Update = @()
Read = @(
@{
Permission = @{
Name = "Organization.Read.All"
Type = "Application"
}
}
)
Update = @(
@{
Permission = @{
Name = "Organization.Read.All"
Type = "Application"
}
}
)
RequiredRoles = @()
RequiredRoleGroups = @()
}
Expand Down

0 comments on commit 5164afc

Please sign in to comment.