Azure AD 'User Name' mapping with onPremisesSamAccountName

glpi-ios
Contributor II

Hello,

I would like to know if any of you have configured Azure AD 'User Name' mapping (Cloud Identity Providers) with the onPremisesSamAccountName attribute (instead of userPrincipalName).

Because it was working fine and since we are in Jamf 10.33 it doesn't seem to work anymore.
When we try to search for a user, we get the following error in the logs:

com.microsoft.graph.http.GraphServiceException: Error code: Request_UnsupportedQuery
Error message: Unsupported or invalid query filter clause specified for property 'onPremisesSamAccountName' of resource 'User'.

GET https://graph.microsoft.com/v1.0/users?%24filter=startswith%28onPremisesSamAccountName%2C%27username%27%29&%24select=id%2ConPremisesSamAccountName%2CdisplayName%2Cmail%2Cdepartmentle%2CmobileTop=999

Thank you

0 REPLIES 0