What does it mean that I “may” be granted a D-visa before I get a residence permit in Norway?


Not everyone is granted an entry visa (D-visa) before obtaining a residence permit. In order to be issued such a visa, there must be no doubt that your application for a residence permit will be granted.
This means, among other things, that you must fulfil all the requirements set for the residence permit you are applying for.