You can't use TenantAllowBlockList when connected to Security and Compliance

Hi All,

Recently i was stumbling across a weird behaviour regarding Exchange Online Protection (EOP) with TenantAllowBlockListItems.

Get-TenantAllowBlockListItems

Connect-ExchangeOnline
Get-TenantAllowBlockListItems -ListType Url -Block
Get-TenantAllowBlockListItems -ListType Url -ListSubType AdvancedDelivery



Represented with the following Command
Get-TenantAllowBlockListItems -ListType Url -Block


Advanced Delivery - Represented with the following Command
Get-TenantAllowBlockListItems -ListType Url -ListSubType AdvancedDelivery


Then i connected to Security and Compliance

Connect-IPPSSession
Get-TenantAllowBlockListItems -ListType Url

Error:
Das Format des in den Parameter objectId eingegebenen Werts ist ungültig. Prüfen Sie den Wert, und versuchen Sie es erneut.
Parameter name: objectId
    + CategoryInfo          : NotSpecified: (:) [Get-TenantAllowBlockListItems], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.Exchange.Management.SystemConfigurationTasks.TenantAllowBlock
   List.GetTenantAllowBlockListItems
    + PSComputerName        : che01b.ps.compliance.protection.outlook.com


Get-TenantAllowBlockListItems -ListType Url -ListSubType AdvancedDelivery

Error:
A parameter cannot be found that matches parameter name 'ListSubType'.
    + CategoryInfo          : InvalidArgument: (:) [Get-TenantAllowBlockListItems], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Get-TenantAllowBlockListItems
    + PSComputerName        : che01b.ps.compliance.protection.outlook.com



As soon as you're connected to  https://ps.compliance.protection.outlook.com you will get the above error Messages

Get-PSSession
Get-PSSession | fl



Regards
Andres Bohren