First you'll need an Office 365 instance so you can provide a tenant domain (<companyname>.onmicrosoft.com) to the component.
The component requires a Client ID and a Client Secret from Azure to authenticate. To get this information you first need to register a new application on your Windows Azure AD instance and then ask for both values. Here's a step by step tutorial on how to register the application and obtain them:
How to configure
The following tutorial is a guide to configure this component as a service on your Aspire Distribution.
Information on the component's input, configuration and results can be found here: