Hello @Frances to my knowledge, there isn't currently a way to fetch users by checking whether the display name contains a certain letter. I also looked into using the $filter
query parameter with the contains
operator, but from the filter documentation this operator is currently not supported on graph resources.
From the $search operator documentation, searches on people occur on both the displayName
and emailAddress
properties of the person resource. The results here will try and match on the values passed to the query.
You could change your query to use the: people API which will try and give the best match.
Please let me know whether this helps,
Diana.