Skip to content

Commit

Permalink
BPA: Added Outlook Storage Provider check
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Buechi committed Aug 29, 2024
1 parent a7a3bcf commit 5cf22ff
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions Config/AXE-TENANT.BPATemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,17 +218,17 @@
]
},
{
"name": "UserAllowedToCreateUnifiedGroups",
"name": "UserNotAllowedToCreateUnifiedGroups",
"API": "Graph",
"URL": "https://graph.microsoft.com/v1.0/groupSettings?$select=values",
"where": "$_.values | Where-Object { $_.name -eq 'EnableGroupCreation' -and $_.value -eq $true }",
"URL": "https://graph.microsoft.com/v1.0/groupSettings?$select=values,displayName",
"where": "$_.displayName -eq 'Group.Unified' -and ($_.values | Where-Object { $_.name -eq 'EnableGroupCreation' -and $_.value -eq $false }).Count -gt 0",
"StoreAs": "bool",
"FrontendFields": [
{
"name": "Unified group creation disabled",
"desc": "Check if users are allowed to create Unified groups",
"value": "UserAllowedToCreateUnifiedGroups",
"formatter": "reverseBool"
"desc": "Check if users are allowed to create unified groups (M365 groups) (Currently not working)",
"value": "UserNotAllowedToCreateUnifiedGroups",
"formatter": "bool"
}
]
},
Expand Down Expand Up @@ -267,6 +267,23 @@
}
]
},
{
"name": "OutlookAdditionalStorageProvidersAvailable",
"API": "Exchange",
"Command": "Get-OwaMailboxPolicy",
"ExtractFields": [
"AdditionalStorageProvidersAvailable"
],
"StoreAs": "bool",
"FrontendFields": [
{
"name": "Outlook additional storage providers disabled",
"desc": "Check if additional storage providers are disabled for Outlook",
"value": "OutlookAdditionalStorageProvidersAvailable",
"formatter": "reverseBool"
}
]
},
{
"name": "SharepointSiteCreationEnabled",
"API": "Graph",
Expand Down

0 comments on commit 5cf22ff

Please sign in to comment.