2 questions:
Thanks, Raymond,
1) Graph API is a standard endpoint regardless your subscription plan you are in. It is your integration point to build app and it exposes all o365 functionality.
2) You need to register any office 365 app into Azure AD (AAD) regardless if a user is trial or not you should implement your licensing model for this.
Let me know if you have more questions.