First, we need to register a new app in Azure AD, using the Microsoft Azure Management Portal.
Visit the Microsoft Azure Management Portal at portal.azure.com, using the credential of your Microsoft tenant that has the subscription to Office 365 you wish to use.
Go to "Azure Activity Directory".
In the menu, click "App registrations".
Click "New registration".
Enter the Name of the application (e.g. MyTimetable-prod).
Select 'Accounts in this organizational directory only' as we currently only support single tenant apps.
Enter
https://<your-mytimetable-site>/schedule?zoneview=0&ec_type=o365
as Redirect URI, replacing<your-mytimetable-site>
with the appropriate value.Click "Register".
Copy the Application (client) ID of the registered app. You will need to provide this to Eveoh or will require it yourself when setting up the application in an on-premises scenario.
In order to enable service-to-service calls, a X.509 certificate needs to be configured and uploaded to Azure. Back in the Azure Management Portal, click "Certificates & secrets".
Choose "Upload certificate".
Upload the "cert.pem" file you got from Eveoh (SaaS) or generated using the steps outlined on On-premises: creating a certificate (on-premises).
Click "Add"
The key should now be visible under "Public Keys".
Continue with the next step appropriate for your authorization scenario, as outlined on Configuring Microsoft Graph REST API access.