In 1917, Fabiani was named professor at the University of Vienna, and in 1919 one of his pupils, Ivan Vurnik, offered him a teaching position at the newly established University of Ljubljana, Fabiani however refused the offer, quit the teaching position in Vienna, and decided to settle in Gorizia, which had been annexed to the Kingdom of Italy, thus becoming an Italian citizen.