Microsoft Education – Setup

Microsoft Education uses OAuth 2.0. Please sign up for an application on Microsoft first and get an OAuth client ID, client secret.

Azure Active Directory OAuth Application

See here for the official documentation for creating an Azure Active Directory application.

To Summarize the above documentation:

  1. Either log into your existing Azure account or register for a free Azure account.
  2. In your Microsoft Azure portal go to -> Azure Active Directory -> App Registrations -> New application registration.
    Below are the details you should provide:
    • Name: Your Application Name
    • Reply URLs: set this as your Cyclr Partner Console’s Callback URL.
      Multi-tenanted: Yes
  3. Set the appropriate permissions as described below.

Permissions

You will need to set different permissions in Azure Active Directory depending on which auth flow you would like to utilize.

From the Application view (after the creation of the Application in step 3), navigate to “API Permissions” under “Manage” on the left side of the page. Add the following permissions:

Method CategoryTypePermission Name
EduDelegatedEduAssignments.ReadWriteBasic
DelegatedEduAssignments.ReadWrite
DelegatedEduAssignments.ReadBasic
DelegatedEduAssignments.Read
DelegatedEduAssignments.ReadBasic
ApplicationEduAssignments.ReadWrite
ApplicationEduAssignments.ReadBasic
ApplicationEduAssignments.Read
ApplicationEduAssignments.ReadBasic

More information: https://docs.microsoft.com/en-us/graph/permissions-reference

Connector Setup

Go to your Cyclr Console > Connectors > Application Connector Library > Microsoft Office 365 > Setup.

Client ID: This is the Application ID displayed in the portal

Client Secret: Create a Password under Microsoft Azure portal > Azure Active Directory > App Registrations > Your Application > API Access > Keys. Copy and paste the password as the client secret.

The Microsoft Office 365 Connector is now set up! You can test it by installing the Conneector and calling some Methods.