Connecting to Exchange Online
❌ Failed to connect.
Tests requiring Exchange Online will be skipped.
Error details: Access to the path 'C:\Program Files\WindowsApps\Microsoft.PowerShell_7.6.4.0_x64__8wekyb3d8bbwe\Scripts' is denied.
Connecting to Microsoft Security & Compliance PowerShell
❌ Failed to connect.
Tests requiring Security & Compliance will be skipped.
Error details:
Unable to determine a UserPrincipalName for Security & Compliance. Please supply -UserPrincipalName or connect to Exchange Online first.
As that folder does not exist, the script exits at this point. No Assessment possible...
Connecting to Exchange Online
❌ Failed to connect.
Tests requiring Exchange Online will be skipped.
Error details: Access to the path 'C:\Program Files\WindowsApps\Microsoft.PowerShell_7.6.4.0_x64__8wekyb3d8bbwe\Scripts' is denied.
Connecting to Microsoft Security & Compliance PowerShell
❌ Failed to connect.
Tests requiring Security & Compliance will be skipped.
Error details:
Unable to determine a UserPrincipalName for Security & Compliance. Please supply -UserPrincipalName or connect to Exchange Online first.
As that folder does not exist, the script exits at this point. No Assessment possible...