You can configure Dynamics 365 apps.
Select checkboxes from the left navigation to add pages to your PDF.
Pages that are descendants of your selections are automatically included in the PDF.
Configuration for Dynamics 365
Updated