To be honest, Pakistanis don't know much about Azerbaijan. Most Pakistanis wont even know about the government's stand on the issue they have with Armenia. We haven't had a well established connection to the central Asian countries near Europe, historically speaking.
With Turkey its whole other story. There has been a well established relation with the ottomans, historically. The mughal empire had decent relations with them. There isnt a Pakistani that doesn't know about Turkey, its actually regarded as a brother nation. Which is unique, we throw around that phrase regarding relations with alot of countries, but we dont mean it. With Turkey its ture though.
Fun fact. people is kpk call Turkey by Istanbul.