Symptoms

Provisioning "Subscription" for APS application Office 365 task fails:

"code": 500,
"message": "Unsupported expression node type 'Equal' for Where expression.",

Error in the sitelog:

ERROR flow        : Error: Unsupported expression node type 'Equal' for Where expression.
{"odata.error":{"code":"Request_UnsupportedQuery","message":{"lang":"en","value":"Unsupported expression node type 'Equal' for Where expression."}}}

Cause

Global administrator user password has been changed on the Microsoft side during the subscription provisioning, while AdminPassword O365 Endpoint database field contains old info.

Resolution

Remove old content from AdminPassword field in the Customer table.

Internal content

Link on internal Article