Can I survey my users to ask which tools they have and use?

One of the first rules in the UX field is to not ask users what they want nor what they prefer, but is there a reason to not ask which tools they have and if they use them?

I have to redesign a software, one of the main problem is that it does not interact well with some other tools/programs that some users currently use: that is something I know from my contextual inquiries. I would like to know if this is common among most of my users, but I cannot afford more contextual inquiries. This is why I am considering a survey with specific questions on which programs are installed and if the users know them well enough. I will base the new design based on these information.