D365 F&O On Premise Dev License

Hi,

When deploying D365 F&O On premise, when purchasing a D365 Server License and the necessary users, please could someone advise on whether the server license covers additional DEV and UAT environments or do we need to purchase additional server licenses? Any links to Microsoft docs gratefully received.

Cheers