This message was deleted.
# general
s
This message was deleted.
a
After manually adding an Azure Function to the Azure cosmos db account through the portal and specifying lease collection, it worked. But how do I solve this in code, programatically without using the portal?