D2L Brightspace Integration
Introduction
Below you will find an example of our D2L integration guide that you can review.
AEFIS will supply you with a customized guide for your institution that you will be able to complete the integration with.
AEFIS-D2L Brightspace Setup Guide
(v6 – 12/17/2020)
This document covers requirements for AEFIS – D2L Brightspace (D2L) integration. A D2L Brightspace Administrator working with an AEFIS integration technician can complete requirements for the AEFIS Tool. There may be additional personnel required for unforeseen circumstances such as client network or server restrictions.
AEFIS Tool
The AEFIS Tool allows students and instructors the ability to view an AEFIS course syllabus within a related course and complete assessment forms.
Requirements:
- The domain name of the AEFIS installation that will be used
- LTI Consumer Key supplied by AEFIS for security
- LTI Shared Secret supplied by AEFIS for security
Data Feed Requirements:
- In the Course Section file of data feed set to AEFIS the following ID needs to be included in the ExternalLmsId field:
- Course Offering Code – This is the data is populated in the Course Offering Code field that your institution sends in the data feed to D2L.
- For example, it could be a concatenation of something like term code, subject code, course number, and section number i.e. 202010.ENG.101.1
- Course Context ID – This is the internal ID assigned to a Course by D2L once it is created.
- If your institution plans on sending this code the institution will need to pull those IDs from D2L and then insert them into the Course Section sent to AEFIS.
- Also, if your institution plans on using this code be sure to notify your AEFIS integration contact.
- Course Offering Code – This is the data is populated in the Course Offering Code field that your institution sends in the data feed to D2L.
LTI Configuration
The following will create the External Learning Tool (LTI) connection between D2L and AEFIS:
- Login to your D2L account as an administrator
- Click the Admin Tools gear icon
- Click External Learning Tools under Organization Related
- Click New Link
- Fill out the form with the following values:
- Title: AEFIS Tools
- URL: https://<Your Institution AEFIS_URL>/index.cfm/page/AefisFramework.login
- Description: AEFIS is a web-based assessment management solution that facilitates the collection and application of real-time assessment data.
- Visibility: Check Allow users to view this link
- Key/Secret:
- Check Sign messages with key/secret with
- Click Link key/secret
- Key: Paste the following: To be provided by AEFIS
- Secret: Paste the following: To be provided by AEFIS
- Custom Parameters:
- Click Add custom parameters
- Name: Paste the following AUTHENTICATORCODE
- Value: Paste the following LTI
- Security Settings:
- Click Use link security settings
- Check at minimum the required fields below under Use link security settings
- Required:
- Send tool consumer information to tool provider
- Send context information to tool provider
- Send user email to tool provider
- Optional:
- Send course information to tool provider
- Send LTI user ID and LTI role list to tool provider
- Send user name to tool provider
- Send system username to tool provider
- Send system Org Defined ID to tool provider
- Send system role to tool provider
- Send link title to tool provider
- Send link description to tool provider
- Required:
- Make the link available to: At this point share LTI connection to the org units you wish to make AEFIS available to.
- Click Save and Close
Add the LTI link to NavBar
The following will add the AEFIS Tools link directly to the NavBar and will be available to all users, if you wish to not share with all child org units or limit to certain user roles you may do that based on your institution’s policies. Also if you wish to add the link to an existing drop-down link please consult the D2L documentation.
- Hover over the NavBar and click the button to the right with the 3 dots
- Click Manage All Course NavBars
- Find then click on the NavBar you with to add the button to
- Under Links Click Add Links
- Click Create Custom Link
- Fill out the form with the following values:
- Name: AEFIS Tools
- URL:
- Click Insert Quick Link
- Scroll down and Click External Learning Tools
- Click AEFIS Tools
- Behavior: Choose Same Window
- Description: Launch the AEFIS Tools.
- Icon: If you use Icons in the NavBar please download the icon from the following link then upload it https://goo.gl/p312yp
- Availability: Check Share with child org units
- Click Add
- Move the new link the where you would like it located under Links
- Click Save and Close
AEFIS Oauth2 Configuration
A D2L Oath2 Key/Secret is a required part of the Oauth2 process where instructors can grant permission to import related data from D2L into AEFIS for assessment.
Create Oauth2 Configuration
- Login to your D2L account as an administrator
- Click the Admin Tools gear icon
- Click Manage Extensibility under Organization Related
- Click OAuth 2.0
- Click Register an app
- Enter the following information:
- Application Name: AEFIS D2L Integration
- Redirect URI field: https://<AEFIS_URL>/index.cfm/page/AefisLmsIntegration.authCallback
- Scope: Paste the following: core:*:* enrollments:enrollment:read grades:gradeobjects:read
- Access Token Lifetime: Paste the following: 72000
- Prompt for user consent: Check this box
- Enable refresh tokens: Check this box
- Select the I accept the Non-Commercial Developer Agreement check box
- Click Register
- Make a note of the values in the Client ID and Client secret fields
Before you proceed with the Service Acount step please be sure to supply your AEFIS Onboarding contact the following information. They will contact you and let you know when to proceed.
- The URL for your D2L instance i.e. https://d2l.institution.edu
- The Oauth2 Client ID and Client Key you created in the steps above.
- If you are going to use the optional D2L Course Context ID
Service Account
This section will walk you through creating a service account for the REST API calls AEFIS will use to gather information from your institution’s D2L environment to AEFIS for assessment purposes. A D2L Administrator and AEFIS Institutional Admin at your institution will need to complete the following.
Create the service account role in D2L:
The following should be completed by a D2L Administrator
First you will need to create a role in D2L for the service account.
- Login to your D2L account as an administrator
- Click the Admin Tools gear icon
- Click Roles and Permissions under Security
- Click Create/Copy
- Click Start Fresh
- Name: AEFIS Service Role or a name that follows your institution’s role naming convention
- Enable Cascading Role: Check this box
- Role Alias: AEFIS Service Role or a name that follows your institution’s role naming convention
- Tool Behavior Options: Leave all options unchecked
- Classlist Display Options: Leave all options unchecked
- Course Access Options:
- Access:
- Access inactive courses: Leave unchecked
- Access past courses: Optionally check this box, if you desire for AEFIS to be able access past courses for assessment purposes.
- Access future courses: Leave unchecked
- Sections:
- Choose None of the above
- Groups:
- Choose None of the above
- Access:
- Click Save
- Edit Role Interactions:
Role Interaction | Permission(s) |
---|---|
Search for ‘AEFIS Service Role’ | Allow at a minimum your Super Administrator and members of the role itself to be able to search for users of the service role in all org unit types. |
Impersonate ‘AEFIS Service Role’ | Allow at a minimum your Super Administrator and members of the role itself to be able to impersonate users of the service role in all org unit types. |
Enroll ‘AEFIS Service Role’ | Allow at a minimum your Super Administrator and members of the role itself to be able to enroll users of the service role in all org unit types. |
Role Switch ‘AEFIS Service Role’ | Allow at a minimum your Super Administrator and members of the role itself to be able to role switch the service role in all org unit types. |
See External Email Addresses for ‘AEFIS Service Role’ | Allow at a minimum your Super Administrator and members of the role itself to be able to view external email addresses for users of the service role in all org unit types. |
See Internal Email Addresses for ‘AEFIS Service Role’ | Allow at a minimum your Super Administrator and members of the role itself to be able to view internal email addresses for users of the service role in all org unit types. |
Make ePortfolio Content Available to ‘AEFIS Service Role’ | Allow at a minimum your Super Administrator and members of the role itself to be able to provide ePortfolio content to users of the service role in all org unit types. |
See Parent Child Relationships for ‘AEFIS Service Role’ | Allow at a minimum your Super Administrator and members of the role itself to be able to view parent child relationships for users of the service role in all org unit types. |
13. Click Save
14. Find the AEFIS Service Role on the Role List page
15. Click the chevron next to AEFIS Service Role
16. Click Edit permissions
a. You will need to grant certain permissions within a few tools to allow AEFIS to make the required REST API calls with this role.
b. Below are listed the tools and which permission(s) should be granted within each tool. Please complete the following by choosing the tool under Filter by Tool, clicking Apply Filter, selecting the proper permission(s), click Save, and repeat for all tools. Once completed click Save and Close.
Tool | Permission(s) | OrgUnit |
Assignments | See and Manage Assignment Submission Folders View Submitted Files View Feedback | Enable at Organization & Course Offering levels |
Classlist | Has Access to the Classlist See Classlist Report View Group Enrollments | Enable at Organization & Course Offering levels |
Content | View Course Content Search Content View Content that is Not Released | Enable at Organization & Course Offering levels |
Grades | See the Grades tool Export Grades See user grade values (API Only) | Enable at Course Offering levels |
Org Unit Editor | Can Create and Edit Org Units | Enable at Organization level |
User Information Privacy | See First Names See Last Names See Usernames See Org Defined IDs See Email Addresses | Enable at Organization & Course Offering levels |
Users | View User Enrollments Search for: At a minimum add the role the students are included in, this is typically the Learner role | Enable at Organization & Course Offering levels |
Create service account user in D2L
- Login to your D2L account as an administrator
- Click the Admin Tools gear icon
- Click Users under User Related
- Click New User
- Legal First Name: AEFIS
- Legal Last Name: Service Account
- Email: [email protected]
- This does not need to be a real email address, as long as you use the same email address when you create the account in AEFIS
- Username: Input desired username or allow the system to auto create it.
- Role: Choose the AEFIS Service Role or the name that follows your institution’s role naming convention
- Password: Choose Manually set password and create a password meeting your password requirements. This password will not be provided to AEFIS.
- Active: Check this box
- Notification Number: Choose No notification number
Create the service account in AEFIS:
The following should be completed by a AEFIS Institutional Admin
First, you will need to create the service account that was created in D2L on your AEFIS application.
Once you have logged on to AEFIS complete the following to add the service account:
- Click the hamburger menu on the top left of AEFIS
- Scroll down to the Admin Tools section of the menu
- Click User Accounts
- Click ADD USER towards the top right
- Choose University User
- Click Next
- Fill in the User Details with the service account information from D2L above
- Email Address
- First Name
- Last Name
- University ID
- If the Service account you created does not have SIS ID in D2L you can place the email address here.
- Username
- Password – If you chose a Local User please enter a password for the account
- Click Next
- From the drop down menu choose Institutional Admin
- Click Add Role

- Click Edit Parent Objects

- Click the your Institution under Available Institutions on the left
- Click the arrow pointing right to move it to Selected Institutions
- Click OK

- Click Save User
- Stay on the user’s page for the final step
Authorize the service account from AEFIS on D2L:
The following can be completed by a D2L Administrator or AEFIS Institution Administrator if the AEFIS Institution Administrator can impersonate the service account in AEFIS
The last step is to do the REST API authorization with D2L using the service accounts you created in D2L and AEFIS.
- Login to your D2L account as an administrator
- Click Users under User Related
- Search for the service account you created
- Click the chevron next to the user’s name
- Choose Impersonate user
- Choose Yes on the confirmation window
- Open a Course that also exists in AEFIS
- Click AEFIS Tools in the Course Menu to lunch the LTI tool
- Once the AEFIS opens in the i-frame click the launch icon pictured below to open AEFIS in a new tab

- You should see the image below, if not click the hazard icon towards the top right of the page
- Click GO TO AUTHORIZATION

- Click Accept to authorize the service account.
