[midPoint] Entra Connector Issue

Rhian Resnick rresnick at fau.edu
Thu Jun 25 14:53:19 CEST 2026


Yes we did have similar problems on an attribute. I had to clone and patch the connector to support the data type.

If I remember correctly it was how a Boolean is sent with or without quotes.

The issue was graph being retentive about quotes when it should not be.

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: midPoint <midpoint-bounces at lists.evolveum.com> on behalf of Stone, Robin via midPoint <midpoint at lists.evolveum.com>
Sent: Thursday, 25 June 2026 08:39:12
To: midPoint General Discussion <midpoint at lists.evolveum.com>
Cc: Stone, Robin <stonerd at longwood.edu>
Subject: [midPoint] Entra Connector Issue

                EXTERNAL EMAIL : Exercise caution when responding, opening links, or opening attachments.

Has anyone had an issue with trying to pass Boolean values to Entra via the latest connector? I have written a delineation filter:

<q:filter xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<q:and>
<q:equal>
<q:path>attributes/ri:mailEnabled</q:path>
<q:value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:boolean">false</q:value>
</q:equal>
<q:equal>
<q:path>attributes/ri:securityEnabled</q:path>
<q:value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:boolean">true</q:value>
</q:equal>
</q:and>
</q:filter>
it gives me this error when running an import task... HTTP error 400 Bad Request : {"error":{"code":"BadRequest","message":"Invalid filter clause: A binary operator with incompatible types was detected. Found operand types 'Edm.Boolean' and 'Edm.String' for operator kind 'Equal'.","innerError":{"date":"2026-06-18T16:19:14","request-id":"0bc248ca-b2b4-407f-86b4-bdb2626a76eb","client-request-id":"0bc248ca-b2b4-407f-86b4-bdb2626a76eb"}}}
Subsequent traces show that it is indeed putting single quotes around the values.

I've pulled the connector code and think I have found the issue...

In the filter handler class there is a method that wraps any value in a single quote. I didn't find any code the delneated string vs boolean values.

If anyone has made a fix for this can you please share.



Robin Stone
Senior Engineer
Computer Engineering Services

[cid:f21a1eeb-9471-4c07-a7d8-d5636c803aa5]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20260625/73340975/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-tbopvult.png
Type: image/png
Size: 10220 bytes
Desc: Outlook-tbopvult.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20260625/73340975/attachment-0001.png>


More information about the midPoint mailing list