1
我需要找到具有以特定字符串结尾的proxyAddress的用户和组,例如, @acme.com
。使用Microsoft Graph API在proxyAddresses上进行筛选,结束于或包含字符串
我可以做startsWith:
$filter=proxyAddresses/any(x:startswith(x,'smtp:johndoe'))
或者等于:
$filter=proxyAddresses/any(x:x eq 'smtp:[email protected]')
不过的endsWith,包含像似乎不工作:
$filter=proxyAddresses/any(x:contains(x,'*@acme.com'))
在
和结果错误的请求。
谢谢马克!你知道有没有计划支持endsWith或contains?为了强大的搜索功能,目前它似乎非常有限 –
我还没有听到有关'endsWith'的任何信息,但我知道有很多开发人员对支持'contains'感兴趣。然而,这不是微不足道的,所以我不想在ETA上猜测它。 –
Michael,请提出申请,请求UserVoice上的endsWith或contains:https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/category/101632-microsoft-graph-o365-rest-apis –