CriticalSolutionsNetwork / M365FoundationsCISReport

Automated assessment of 51 CIS 365 Foundations v3.0.0 benchmark safeguards.
https://criticalsolutionsnetwork.github.io/M365FoundationsCISReport/
Other
6 stars 1 forks source link

Rec: 7.2.9 - Validate Test-GuestAccessExpiration.ps1, ELevel: E3, ProfileLevel: L1, IG1: FALSE, IG2: FALSE, IG3: FALSE, Connection: SPO #64

Closed DrIOSX closed 3 months ago

DrIOSX commented 5 months ago

Validation for Test-GuestAccessExpiration.ps1

Recommendation Details

Test-GuestAccessExpiration.ps1

Tasks

Validate recommendation details

Validate test for a pass

Validate test for a fail

Add notes and observations

If needed, the helpers folder in .\source\helpers contains a CSV to assist with locating the test definition.

DrIOSX commented 5 months ago

Base PowerShell Audit:

Get-SPOTenant | fl ExternalUserExpirationRequired,ExternalUserExpireInDays