Cannot manage cases - "The expression "Id eq " is not valid."
On saving a Case you get:
Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred. The expression "Id eq " is not valid. Return to home page.
The error log has:
$Fatal Error Details = array:3 [
"message" => "The expression "Id eq " is not valid."
"code" => null
"exception" => Exception {#2829
#message: "The expression "Id eq " is not valid."
#code: 0
#file: "E:\drupal_test\vendor\civicrm\civicrm-core\ext\sharepoint\vendor\vgrem\php-spo\src\Runtime\OData\ODataRequest.php"
#line: 111
trace: {
E:\drupal_test\vendor\civicrm\civicrm-core\ext\sharepoint\vendor\vgrem\php-spo\src\Runtime\OData\ODataRequest.php:111 { …}
E:\drupal_test\vendor\civicrm\civicrm-core\ext\sharepoint\vendor\vgrem\php-spo\src\Runtime\OData\ODataRequest.php:90 { …}
E:\drupal_test\vendor\civicrm\civicrm-core\ext\sharepoint\vendor\vgrem\php-spo\src\Runtime\OData\ODataRequest.php:73 { …}
E:\drupal_test\vendor\civicrm\civicrm-core\ext\sharepoint\vendor\vgrem\php-spo\src\Runtime\ClientRuntimeContext.php:141 { …}
E:\drupal_test\vendor\civicrm\civicrm-core\ext\sharepoint\vendor\vgrem\php-spo\src\SharePoint\ClientContext.php:83 { …}
E:\drupal_test\vendor\civicrm\civicrm-core\ext\sharepoint\sharepoint.php:631 { …}
E:\drupal_test\vendor\civicrm\civicrm-core\ext\sharepoint\sharepoint.php:298 { …}
E:\drupal_test\vendor\civicrm\civicrm-core\ext\sharepoint\sharepoint.php:119 { …}
E:\drupal_test\vendor\civicrm\civicrm-core\CRM\Utils\Hook.php:271 { …}
E:\drupal_test\vendor\civicrm\civicrm-core\CRM\Utils\Hook\DrupalBase.php:73 { …}
E:\drupal_test\vendor\civicrm\civicrm-core\Civi\Core\CiviEventDispatcher.php:168 { …}
...
Disabling SharePoint causes the error to disappear.