Following that, it's either Azeri, Ottoman or Russian control until 1919 - the end of WW1. Even the Armenian vilayets of the Ottomans don't include Karabakh: https://www.armenian-history.com/images/maps/Eastern_provinc...
That said, I'm not well informed about this topic and I'm just going off the maps I find. Although the source also has maps of Armenian genocide, so I don't expect them to have an anti-Armenian bias.
Also by force, I'm referencing the previous Karabakh war of 1993. You can't deny the existence of force there.
First, there were no "Armenain vilayets" in the Ottoman Empire. It was a term people in Europe and USA used to define the six vilayets where there were the most Armenians. It was not an official designation.
Second, Nagorno-Karabakh was not one of the "Armenian vilayets" because it wasn't part of the Ottoman Empire. It was part of the Russian Empire.
Finally, Armenians predate Azeris (and Turks) in all the areas we are speaking about and were the majority in many of them up until the Armenian Genocide. In a few, they are still the majority to this day. Nagorno-Karabakh is one of those.
A discussion on whether being a majority ethnicity gives Armenia the right for occupation would be quite complicated and unsuitable one for a tech forum.
Legally the place does belong to Azerbaijan, because URSS gave it to them to appease Turkey, but de-facto it was never Azeri land.
Note: I am talking about Nagorno-Nakbath proper, not the lands around it.