Note: This documentation is for Moodle 2.7. For up-to-date documentation see MicrosoftServices.

MicrosoftServices

From MoodleDocs

Introduction

The Microsoft Services plugin provides Moodle integration with One Note to enhance the assignment/feedback experience for teachers and students.

Getting Started

Requirements

To configure the plugin you must have a Microsoft Account. If you do not have one, sign up for one before you install the plugin.

Install the plugins

The packages are available from:

Configuring OneNote

OneNote submissions

Allow OneNote Assignment Submissions

We recommend that you select Enabled by default.

OneNote submissions are enabled by default for all new assignments.

Set the Maximum submission size for OneNote pages.

OneNote feedback

Allow OneNote Assignment Feedback

We recommend that you select Enabled by default.

OneNote feedback is enabled by default for all new assignments.


Configuring the App in your Microsoft Account

  1. Sign in to your Microsoft account at https://login.live.com/ or create a new account.
  2. Navigate to the application management site https://account.live.com/developers/applications/create.
  3. Enter an appropriate Application name that will be used to identify your website in the Microsoft account user interface (click Create application if you already have an application registered and wish to add another one).
  4. Select the language of your application.
  5. Click I accept.

Enabling Application to use Microsoft accounts

  1. Switch to the API Settings tab.
  2.  Type the URL of your website's admin/oauth2callback.php system page into the Redirect URLs field. 
    •  Include the fully qualified domain name (including the virtual directory, if applicable).  
    • For example: http://contosotest.com/admin/oauth2callback.php Note: The Microsoft application redirect URL can only be the fully qualified domain name pointing to your Moodle instance. The default Moodle installation is configured with the IP address pointing to your instance. For your integration to function properly, you must ensure that the $CFG->wwwroot in your config.php file is set to the domain name and not the IP address pointing to your instance and that the redirect URL is set using that domain name.
  3. Click Save.
  4. Switch to the App Settings tab and note the Client ID and Client secret values.

Client ID and Secret 

Return to your Microsoft Account settings page.

Microsoft Account Settings

Set your Microsoft Account client

Enter the Microsoft Account client ID from the Live App management site

Set your Microsoft Account client secret

Enter the Microsoft Account client secret from the Live App management site

Set the Microsoft Account redirect URI

Redirect URI from the Live App management site