Created
January 8, 2018 21:48
-
-
Save tobiasviehweger/6e62162683f3e64af0540ba13362068f to your computer and use it in GitHub Desktop.
Undocumented EWS calls related to Outlook Groups (Creation, Validation, Retrieval)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> | |
<s:Header> | |
<RequestServerVersion Version="Exchange2015" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"/> | |
<MailboxCulture xmlns="http://schemas.microsoft.com/exchange/services/2006/types">en-US</MailboxCulture> | |
</s:Header> | |
<s:Body> | |
<ValidateUnifiedGroupAlias xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"> | |
<Alias>StrideTest4</Alias> | |
</ValidateUnifiedGroupAlias> | |
</s:Body> | |
</s:Envelope> | |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> | |
<s:Header> | |
<RequestServerVersion Version="Exchange2015" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"/> | |
<MailboxCulture xmlns="http://schemas.microsoft.com/exchange/services/2006/types">en-US</MailboxCulture> | |
</s:Header> | |
<s:Body> | |
<CreateUnifiedGroup xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"> | |
<Name>StrideTest4</Name> | |
<Alias>StrideTest4</Alias> | |
<AccessType xmlns="http://schemas.microsoft.com/exchange/services/2006/types">Public</AccessType> | |
<Description/> | |
<AutoSubscribeNewMembers>false</AutoSubscribeNewMembers> | |
<CultureName>en-US</CultureName> | |
</CreateUnifiedGroup> | |
</s:Body> | |
</s:Envelope> | |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> | |
<s:Header> | |
<RequestServerVersion Version="V2016_01_06" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"/> | |
<MailboxCulture xmlns="http://schemas.microsoft.com/exchange/services/2006/types">en-US</MailboxCulture> | |
</s:Header> | |
<s:Body> | |
<GetUnifiedGroupMembers xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"> | |
<GroupIdentity xmlns="http://schemas.microsoft.com/exchange/services/2006/types"> | |
<Type>SmtpAddress</Type> | |
<Value>[email protected]</Value> | |
</GroupIdentity> | |
<GroupMembersResponseShape xmlns="http://schemas.microsoft.com/exchange/services/2006/types">Members</GroupMembersResponseShape> | |
<MembersPaging a:type="IndexedPageFolderView" MaxEntriesReturned="500" Offset="0" BasePoint="Beginning" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:a="http://www.w3.org/2001/XMLSchema-instance"/> | |
<MembersSortOrder xmlns="http://schemas.microsoft.com/exchange/services/2006/types">OwnerAndDisplayName</MembersSortOrder> | |
</GetUnifiedGroupMembers> | |
</s:Body> | |
</s:Envelope> | |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> | |
<s:Header> | |
<RequestServerVersion Version="Exchange2015" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"/> | |
<MailboxCulture xmlns="http://schemas.microsoft.com/exchange/services/2006/types">en-US</MailboxCulture> | |
</s:Header> | |
<s:Body> | |
<a:GetUserUnifiedGroups xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:a="http://schemas.microsoft.com/exchange/services/2006/messages"> | |
<a:RequestedGroupsSets> | |
<RequestedUnifiedGroupsSet> | |
<FilterType>All</FilterType> | |
<SortType>DisplayName</SortType> | |
<SortDirection>Descending</SortDirection> | |
<GroupsLimit>1000</GroupsLimit> | |
</RequestedUnifiedGroupsSet> | |
</a:RequestedGroupsSets> | |
</a:GetUserUnifiedGroups> | |
</s:Body> | |
</s:Envelope> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment