Hi, @Assaf L Thanks for posting your question in the Microsoft Q&A forum.
If I understand correctly you want to know when unique keys will be available for mongo db API
We are very close to introducing a feature that removes the limitation requiring unique indexes to be created on empty collections. however, we do not have any ETA to share currently.
Programmatically It's available now where you can refer Here
Hope this will help. Please let us know if any further queries.
Regards
Geetha
Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer.