Skip to content

Commit

Permalink
Merge pull request #1787 from Shanefe/main
Browse files Browse the repository at this point in the history
RBA Script - Add Teams Warning
  • Loading branch information
dpaulson45 committed Aug 4, 2023
2 parents f9ea461 + 112acac commit 9f48e13
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Calendar/Get-RBASummary.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ function RBADelegateSettings {
Write-Host "`t ForwardRequestsToDelegates: "$RbaSettings.ForwardRequestsToDelegates
Write-Host

# Check for known configuration issues to warn about:
if ($RbaSettings.ResourceDelegates.Count -gt 0) {
if ($RbaSettings.AddNewRequestsTentatively -eq $true) {
Write-Host "In-policy meetings will be marked tentative and the meeting request will be sent to the Resource Delegates to be accepted or rejected. Default"
Expand Down Expand Up @@ -361,6 +362,11 @@ function RBAPostProcessing {
`t EnableAutoRelease: $($RbaSettings.EnableAutoRelease)
`t AddAdditionalResponse: $($RbaSettings.AddAdditionalResponse)
"@

# Warning about the DeleteComments setting and Teams:
if ($RbaSettings.DeleteComments -eq $true) {
Write-Host -ForegroundColor Yellow "Warning: DeleteComments is set to true. This will remove the Teams information which is in the meeting body."
}
}

# RBA Verbose PostProcessing Steps
Expand Down

0 comments on commit 9f48e13

Please sign in to comment.