Integrate with Office 365 Calendar

04-Oct-2022 · Wing Au Yeung
其他語言版本 English

To create events to the Office 365 Calendar correspondingly when creating leave entries or approved leave applications in Backstage.


An Azure admin user account is needed.

How to get the authentication token for accessing the Office 365 user account?

Please refer to the following sections of the Microsoft support site for the purpose:

  1. Register your application;
  2. Configure for app-only authentication

How to configurate Backstage

  1. Open the file appSettings.config in the Backstage web root folder;
  2. Add the following keys between
    • <add key="AsureAppId" value="Application (client) ID" />
    • <add key="AsureClientSecret" value="Secret Value" />
    • <add key="AsureTenantId" value="Directory (tenant) ID" />
  3. Login Backstage and go to the System Setting page;
    image info
  4. Fill the following fields:
  5. Save the settings

p.s. For the Application (client) ID, Secret Value and Directory (tenant) ID, they are generated during the procedure of the above sections of the Microsoft support site.