Thanks all of you for your useful replies.
Yes. I have the AF MICRO NIKKOR 60 mmm 1:2.8 D lens and it may not have an internal focus motor. Since it worked with the D850 it means that this lens relied on the body focus motor to operate the autofocus, is that correct ?
Anyway, you are all right in saying that doing macro is better using manual focus than autofocus and I started lately to do this to better control which area should be in focus.
When using the Nikkor 24-70mm a version I bought may be more than 10 years ago, and a Nikkor 14-24 mm f2.8 (bought a year ago) the autofocus works well with the Z7 and would this mean that theselenses havean internal focus motor? (probably yes since they are quite heavy to carry)...