REST api 使用方法 getbyemail 为组中的用户调用 returns 错误 "Cannot find resource for the request getbytitle"
REST api call using method getbyemail for user in a group returns error "Cannot find resource for the request getbytitle"
共享点组中存在用户:
如果我在浏览器中执行简单的 GET 请求:
https://mycompany.sharepoint.com/sites/testsite2/_api/web/sitegroups/getbytitle('TestGroup')/users/getbyemail('john.theuser@mycompany.com')
Returns 错误:"Cannot find resource for the request getbytitle."
使用 getbyName 获取特定站点组:
/_api/web/sitegroups/getbyName('GroupName')/users/getbyemail('john.theuser@mycompany.com')
共享点组中存在用户:
如果我在浏览器中执行简单的 GET 请求: https://mycompany.sharepoint.com/sites/testsite2/_api/web/sitegroups/getbytitle('TestGroup')/users/getbyemail('john.theuser@mycompany.com')
Returns 错误:"Cannot find resource for the request getbytitle."
使用 getbyName 获取特定站点组:
/_api/web/sitegroups/getbyName('GroupName')/users/getbyemail('john.theuser@mycompany.com')