You are connecting to the wrong place. Connect-IPPSSession is for the Security and Compliance Center cmdlets, not Exchange Online. Use Connect-ExchangeOnline instead: https://learn.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps
Audit log is turned on
Marc
631
Reputation points
To verify that audit log search is turned on, I have to run the following command in Exchange Online PowerShell:
Get-AdminAuditLogConfig | FL UnifiedAuditLogIngestionEnabled
To connect to the Module ExchangeOnlineManagement I have run the command below:
Install-Module -Name ExchangeOnlineManagement
set-executionpolicy remotesigned -Scope CurrentUser -force
Connect-IPPSSession -ConnectionUri https://ps.protection.outlook.com/powershell-liveid/
Once connected I have tried with:
Get-AdminAuditLogConfig | FL UnifiedAuditLogIngestionEnabled
but I am receiving the error :
Exchange Exchange Server Management
7,920 questions
Accepted answer
-
Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
2021-12-16T12:10:59.557+00:00