Work on this feature is currently under way. Will update as this moves towards general availability.
Thank you for your suggestion and votes.alex commented
I second this.
It seems like when paging through all of the results, Cosmos DB sorts the results but grouped by partition.
However, if you then ask for a specific page that crosses partition boundaries, Cosmos DB refuses to cross boundaries. Instead, it just goes to the partition holding the first result and gives you the correct number of results but all from that partition. This results in duplicates and omissions when paging.
Given that a Azure AD B2C tenant should only be used for configuring Azure AD B2C, would having programmatic API’s to configure all of the Azure AD B2C settings be useful or is there more that you are looking to achieve using ARM templates?