Code from my blog series on using the #MSDYN365 adminapi and extending it to include the Customer Engagement data API
Part 1 - Creating a solution and scaffolding
Part 2 - Registering an Azure AD App and creating an authentication helper
Part 3 - Quering the admin API and extending to enable use of the data API