I have code using EWS (direct XML, not the managed API) that creates a contact folder in M365. This has been working fine, but recently I discovered that such created folders are not visible in the M365 client unless the option "New Contacts" is turned off (this is labeled "turn off to view contact folders in the previous version of contacts"). Below is the XML that I am supplying to the CreateFolder API. Can anybody tell me what I need to do differently to create a "New" contact folder that is visible by default?
<ParentFolderId>
<t:DistinguishedFolderId Id="msgfolderroot"></t:DistinguishedFolderId>
</ParentFolderId>
<Folders>
<t:Folder>
<t:FolderClass>IPF.Contact</t:FolderClass>
<t:DisplayName>JeffTest1</t:DisplayName>
</t:Folder>
</Folders>