Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hybrid Free Busy Configuration Checker #1934

Closed
wants to merge 30 commits into from

Conversation

MarcoLFrancisco
Copy link
Contributor

Issue:
Collect Exchange Hybrid Free Configuration Information in Exchange deployments is often time consuming and a big effort

Reason:
This script is aimed to assist in collecting Hybrid Free busy configuration information, both for OAuth and DAuth and both from On Premise and Exchange online side. It provides also information for what would be expected for each component reviewed and can assist our customer and our support engineers.

Fix:
Script collects relevant information as described in Microsoft Internal Documentation. Script does not produce changes on customer side other than generating txt and html Output

Validation:
Utilized on several occasions both on lab environments and with active support cases. It has proven to be useful.

@MarcoLFrancisco MarcoLFrancisco requested a review from a team as a code owner January 9, 2024 15:40
Copy link
Member

@dpaulson45 dpaulson45 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Started to review the script. there are a few changes that need to be made before we can merge and release this script. Please address the current comments, then will do another review.

Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
@lusassl-msft
Copy link
Contributor

@MarcoLFrancisco do you still work on this PR? Please re-request a review once this is ready to be reviewed. Thanks.

Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
@dpaulson45
Copy link
Member

@MarcoLFrancisco do you still want to work on this PR? Otherwise, we will close this out.

@dpaulson45
Copy link
Member

Closing out as no updates since March.

@dpaulson45 dpaulson45 closed this Aug 8, 2024
@MarcoLFrancisco
Copy link
Contributor Author

Good morning, my appologies but I missed last comments. Can the pull request be reactivated?

@lusassl-msft
Copy link
Contributor

Reopened as requested by @MarcoLFrancisco

@lusassl-msft lusassl-msft reopened this Aug 9, 2024
@MarcoLFrancisco
Copy link
Contributor Author

Good morning,

I will start to address the last recomendations this weekend. I believe i can probably finish them during the weekend, if not they should all be addressed no latter than the following weekend.

@MarcoLFrancisco
Copy link
Contributor Author

MarcoLFrancisco commented Aug 19, 2024

All changes are now implemented. I need a few more days for testing to confirm all functions are working and html output is correctly formated

image

@dpaulson45
Copy link
Member

Please comment on here once you are ready for us to review the script again.

Diagnostics/FreeBusyChecker/Functions/CommonFunctions.ps1 Outdated Show resolved Hide resolved
$LogFileName = [System.IO.Path]::GetFileNameWithoutExtension($LogFile) + "_" + $Script:startingDate + ([System.IO.Path]::GetExtension($Script:LogFile))
Write-Host " `n`n "
Write-Host " `n`n "
Start-Transcript -Path $LogFileName -Append
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you only appear to have Write-Host in the script this works. However, it makes the end user text file rather wordy. A better option is to only display the needed information, and then for diagnostic purposes, like script troubleshooting, have that information in Write-Verbose which is not captured in Start-Transcript unless they provide -Verbose.

We do have logging functions already created in the share, but this isn't required at this time.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed both Write-Host " nn "

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was in regard to using Start-Transcript

docs/Diagnostics/FreeBusyChecker/FreeBusyChecker.md Outdated Show resolved Hide resolved
Diagnostics/FreeBusyChecker/FreeBusyChecker.ps1 Outdated Show resolved Hide resolved
@dpaulson45
Copy link
Member

Due to a code formatting rule change, you will need to run that locally and address the issues seen there.

@dpaulson45
Copy link
Member

@MarcoLFrancisco please review the PR and make the required adjustments.

@MarcoLFrancisco
Copy link
Contributor Author

Good evening. Due to the recent security changes regarding Hybrid Test Envoyronments I am rebuilding my lab setup. This is delaying development and testing. I should be able to finish my lab setup at the end of this week and resolve the above mentioned issues. Appologies for the delay.

@MarcoLFrancisco
Copy link
Contributor Author

Good evening,

Pushed version with requested changes. Code Fromater and Spell Checker reports no errors.

@dpaulson45
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@dpaulson45 dpaulson45 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's address the build pipeline issues, squash done to a commit and let's get this released.

@MarcoLFrancisco
Copy link
Contributor Author

I believe issue is now fixed.

@dpaulson45
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

mkdocs.yml Outdated
@@ -75,7 +75,7 @@ nav:
- TransportRetryConfigCheck: Diagnostics/HealthChecker/TransportRetryConfigCheck.md
- ManagedAvailabilityTroubleshooter: Diagnostics/ManagedAvailabilityTroubleshooter.md
- Test-ExchAVExclusions: Diagnostics/Test-ExchAVExclusions.md
- FreeBusyChecker: Diagnostics/FreeBusyChecker/FreeBusyChecker.md
- FreeBusyChecker: Diagnostics/FreeBusyChecker.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This broke it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, my mistake. Updated and pushed.

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

waiting on the push still.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its pushed, but I'm unsure if I should use this sintax:

image

@dpaulson45
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@MarcoLFrancisco
Copy link
Contributor Author

Correcting this formating issues

image

@MarcoLFrancisco
Copy link
Contributor Author

Changes corrected and pushed

@dpaulson45
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dpaulson45
Copy link
Member

Okay, so this passed now we need to squash this down to a single commit and then we should be able to merge and release this.

@MarcoLFrancisco MarcoLFrancisco closed this by deleting the head repository Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants