Shortly after the Italian invasion of Albania in April 1939, Krasniqi was arrested and interned for a short time in the "Porto Palermo" camp due to his nationalistic views. With his return to Albania, he was sent to Kosovo (at that time part of the Albanian Kingdom) and appointed principal of the first (newly established) Albanian language school in Prishtina. There he became close to Xhafer Deva and Rexhep Mitrovica. Krasniqi became part of the leadership of the Second League of Prizren. He proceeded further in politics, becoming a member of the Albanian Parliament in 1943. He was appointed later as Minister of Education in the cabinet of Fiqri Dine, also serving as deputy-chairman of the Parliament.