I'm currently working for as a tech lead and responsible for a whole team while doing hands-on work as well. In my organization, people are first selected and interviewed by their level, profile, and background and then put into the appropriate department/project. I'm actively seeking new opportunities right now and facing the same problem with multiple companies I'm in process with where the structure is obviously different:
Company A - I was contacted by an external recruiter who told me about multiple opportunities in the same company. Job is again a tech lead - what I am currently doing but there are 2 roles - one for an existing team and one that is for a team that was built from scratch. My preference of course would be to be able to build my own team and be a decision-maker in the hiring process if I go to work for this company. External recruiter, in the beginning, assured me I'll be considered for both roles and they'll pick which one I'm more suitable for based on my profile. But at the same time they assigned me to a hiring manager in the department where they have an existing team already and I'll be only interviewed by people in this department, on my interview he talked only about this particular opportunity, etc. It's like the other job listing does not exist at all, although I can see it still open on the company website. I said nothing during the call with the hiring manager, maybe I should've but I didn't.
Company B - I get approached directly by a hiring manager and he tells me about a senior dev role in their team. I share that I am currently a tech lead and this is actually a little lower position for me although I do fit their requirements and trying to politely decline to go on an interview at all. He asks for a quick phone call just to give me some kind of clarification and trying to be polite and not to close my doors for the future, I agree to this one phone call without sending my CV or anything. While preparing for the call I see that the same company does have leading roles for other projects. At the said phone call he told me how I'll be a senior but I'll still be mentoring more junior colleagues so "it's basically the same thing" and will have some responsibilities and the most important thing is that I'll be able to grow to a higher role later in my career within the company. I mentioned the other role that seems like a better fit for me and he says that he's not responsible for it and basically we should ignore it in general and continues to insist I should be sending him my CV and go on in the process for the senior role. He never suggested contacting me with HR or another hiring manager to explore all options in their company and now I feel that even if I apply through the job listing for the other role, this will have a bad impact on my interviewing process. I told him that I'll just think about it and eventually send my resume if I decide to apply.
Now, I don't think that this has anything to do with my skills, resume, background, or whatever because I have enough experience for the "better" roles in both scenarios but I'm starting to see a pattern that I would like to avoid in the future. I think what's going on is that in general people are trying to just fill in less desired but more urgent roles within their organization faster. At the same time, the interviewing process in most companies includes 3-4 interviews that are lengthy and I don't want to potentially waste my own or any company's time applying to roles I'm not really interested in.
What is the best way of getting out of this situation when I'm already in process for "less desired role" (in a situation like the one for company A)
Is there a way to avoid this happening from the very beginning?
Should I consider this as a red flag for the organization in the company in general? (more appropriate for the scenario with company B)