I have 2 7040s on my bench with the same config for hard drives. They will be staged tomorrow so I can’t say for sure if it works or not.
But I have to ask is this the first system you are trying to deploy with a m.2 disk? If so and this is win7 did you apply the two hot fixes to your reference image that allow win7 to address m.2 drives?