次の SOAP 要求を使用して、Office 365 メール アドインの連絡先フォルダーのアイテムを取得しています。
'<?xml version="1.0" encoding="UTF-8"?>'+
' <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"' +
' xmlns:xsd="http://www.w3.org/2001/XMLSchema"' +
' xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"'+
' xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">'+
' <soap:Header>'+
' <t:RequestServerVersion Version="Exchange2013" />' +
' </soap:Header>'+
' <soap:Body >'+
' <m:FindPeople>'+
' <m:IndexedPageItemView BasePoint="Beginning" MaxEntriesReturned="100" Offset="0"/>'+
' <m:ParentFolderId>'+
' <t:DistinguishedFolderId Id="contacts"/>'+
' </m:ParentFolderId>'+
' </m:FindPeople>'+
' </soap:Body>'+
' </soap:Envelope>';
しかし、次のエラーが表示されます。
カレンダーフォルダーに FindItem 、 GetFolder メソッドを使用しましたが、それらは機能しています。
名前を検索値として使用して、人のメールアドレスを探す方法はありますか。