Sets the state of a transport rule for a specific customer tenant.
The Set-CIPPTransportRule function is used to set the state of a transport rule for a specific customer tenant in the CIPP API.
The ID of the customer tenant for which the transport rule needs to be edited.
The state to set for the transport rule. Valid values are "Enable" and "Disable".
PS > Set-CIPPTransportRule -CustomerTenantID "contoso.onmicrosoft.com" -State "Enable" -Guid "abcdefg"
PS > Set-CIPPTransportRule -CustomerTenantID "contoso.onmicrosoft.com" -State "Disable" -Guid "hijklmn"