Git Product home page Git Product logo

microsoft / learn-lti Goto Github PK

View Code? Open in Web Editor NEW
118.0 16.0 48.0 19.71 MB

Access the Microsoft Learn http://docs.microsoft.com/learn Catalog of Learning Paths and Modules directly from your Learning Management Systems using the Microsoft Learn LTI application

Home Page: https://microsoft.github.io/Learn-LTI/

License: MIT License

C# 32.32% HTML 0.36% TypeScript 57.60% JavaScript 0.40% CSS 0.43% PowerShell 8.67% Batchfile 0.21%
lti-tool lti-application lms educators microsoft azure microsoftlearn

learn-lti's Introduction

GitHub license GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

GitHub watchers GitHub forks GitHub stars

Microsoft Learn LTI Application

⚠️ attention
In May 2023, this repository will be archived. This will make it read-only for all users and indicate that it's no longer actively maintained. Please email [email protected] with any feedback. Thank you.

Learn LTI Application

About

Microsoft Learn is a free, online training platform that provides interactive learning resources for Microsoft products and cutting edge technologies. Our goal is to empower students and educators to learn about technology through fun, guided, hands-on content aimed at specific learning goals.

To bring Microsoft Learn's content into the classroom, we've made a Learning Tools Interoperability (LTI) application that enables you to seamlessly blend self-paced learning content from the Microsoft Learn catalog with your curriculum and Learning Management System (LMS).

Educators and Institutions can leverage the LTI application to integrate Microsoft Learn Modules and Learning Paths into their curricula while providing hands-on experiences with Azure and other Microsoft technologies. Learners will be routed from their LMS to Microsoft Learn, where they can accrue experience points and achievements as well as track progress on learning activities.

The Microsoft Learn LTI Application adheres to v1.1 and v1.3 standards. For more specifics on the application itself, check out the Architecture Overview.

Key Features:

  • Single Sign-On (SSO) - users only have to sign into their institution once to access the Learn LTI application
  • LMS Pairing - instructors can create, edit, and publish Learn-based assignments for their courses and populate their insitution's LMS with them easily
  • LTI v1.1 and v1.3 Compliant - student data is not gathered and their data cannot be accessed; all user data is protected.

What do I need to get started?

Typically, there will be four roles involved in deploying, configuring, and using the Microsoft Learn LTI application with Institution’s LMS.

  1. Central IT / IT Admin – The user deploying the Microsoft Learn LTI application to Azure. They need to be an owner of an Azure subscription and have the privileges to create Azure resources. This person will also be the one configuring the Microsoft Learn LTI application to work with the LMS.
  2. LMS Admin – The user configuring the LMS to work with the deployed Microsoft Learn LTI application. Once configured, the Microsoft Learn LTI application will appear as an LTI tool (external tool) to be used by all Educators on the LMS.
  3. Educators – The user(s) of the LMS who is set up as a “Teacher” in a course and will facilitate the learning. This person will create activities or resources based on the configured LTI tool on the LMS.
  4. Students – The users of the LMS who will consume the learning provisioned to them by the Educators.

The following visual illustrates the workflow in full: Readme.1.png

To deploy the Microsoft Learn LTI application, the Central IT / IT Admin will need:

  • LMS System that supports LTI v1.1 or v1.3
  • You need to be the owner of an Azure subscription if your an educator please contact your Institutional IT Department.
  • IT administrator privileges to create an Azure resource
  • Getting Started Overview
  • Microsoft Learn LTI application Setup presentation

Table of Contents

Deployment Guides

User Guides

Overview Guides

Troubleshooting

Reporting on Learn usage

Security and Privacy

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

learn-lti's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learn-lti's Issues

XHR request to /me returns 204 no content using LTI 1.1

Bug

Using Moodle 3.5.10+, which only supports LTI 1.0/1.1

As a Moodle administrator, follow the CONFIGURATION_GUIDE.md.

As a Moodle "Teacher" in a course, follow instructions in the USER_GUIDE.md

I get to step 7 and expect to see something similar to the screenshot. Instead I see a message saying "Loading assignment"

Developer Tools reveals the XHR request to https://users-xxxxxxxxx.azurewebsites.net/api/assignments/XXXXXX==_XXXXXX=/me returns 204 No Content

The Moodle "Teacher" account has an email address matching both the "mail" and "User Principal Name" values in Azure Active Directory

Desktop:

  • OS: Ubuntu 20.04.1 LTS
  • Browsers: Chromium Version 85.0.4183.83 and Firefox 80.0.1

Using Azure B2C for multiple Domain based users

Hi

I am having issues trying to progress learner into the lti assignment. I have set up the course and added modules from MS learn without issue.

As a learner when i go to complete the work by clicking in the link

image

I then receive the following error

image

The user is signed in via Azure AD B2C Connect. The user is in a different tenant than our moodle.

If I use oidc OpenID Connect I receive an error
AADSTS50020

Sorry, but we’re having trouble signing you in.

AADSTS50020: User account '[email protected]' from identity provider 'https://sts.windows.net/00000-8edb-4464-8adc-4611b76ffab1/' does not exist in tenant 'xxx' and cannot access the application 'xxxx-4ed0-4534-b51d-8850917a2dc2'(AAD Moodle) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

The App registration is set up as multitenant

image

Short of adding every user as a guest account I dont know how to get past this issue.

Thanks

Can open MS Learn Portal with specify user profile?

Question:

  • If user has more than 1 MS Learn Profile, the MS Learn portal may not use the desired user account as same as Moodle/Learn-LTI.
    -- Have any setting can align the user profile on MS Learn portal? (Or let user know the user profile is not match)

Below is our reference case:

  1. The Moodle and Learn-LTI Application can do the SSO and display correct user.
    image

  2. Click the link on the assignments to open MS Learn Portal. But the login profile is not match the LMS and Learn-LTI.
    image

  3. Click sign-out button. And click sign-in to pickup another account.
    image

context_memberships_url requirement

Hi Microsoft LTI Tool Team

This is about the LTI launch and HTTP 500 returned by the tool in the absence of the https://purl.imsglobal.org/spec/lti-nrps/claim/namesroleservice claim and its context_memberships_url attribute. The response body is empty, making it cumbersome to track down what's going on. I had to look at Azure Insight, then analyze the code (System.NullReferenceException at LtiAdvantageApi.cs:140)

I understand this is part of the troubleshooting guide, but can you please consider returning a descriptive error message?

Also, is there a way to launch a course without it? This is not part of the Core Spec. and therefore our platform doesn't support it. Does the tool require any other non-core services?

Thank you!

Error during Step 10 - Installing the backend

I received the following error during the Deploy.ps1 install:

Determining projects to restore...
C:\Users\atousey\Downloads\Learn-LTI\backend\Utils\Edna.Utils.Linq\Edna.Utils.Linq\Edna.Utils.Linq.csproj : error NU1100: Unable to resolve 'NETStandard.Library (>= 2.0.3)' for '.NETStandard,Version=v2.0'. [C:\Users\atousey\Downloads\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
Failed to restore C:\Users\atousey\Downloads\Learn-LTI\backend\Utils\Edna.Utils.Linq\Edna.Utils.Linq\Edna.Utils.Linq.csproj (in 143 ms).
Restored C:\Users\atousey\Downloads\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj (in 8.21 sec).
Restored C:\Users\atousey\Downloads\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj (in 8.21 sec).
Restored C:\Users\atousey\Downloads\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj (in 8.21 sec).
[ 5/24/2021 5:00:31 PM ] - [ERROR] - Exception.Message [ Errors while building Function App [ AssignmentLearnContent ] ]
[ 5/24/2021 5:00:31 PM ] - [ERROR] - Exception.Type [ System.Management.Automation.RuntimeException ]
[ 5/24/2021 5:00:31 PM ] - [ERROR] - Error occurred while executing the Script. Please report the bug on Github (along with Error Message & Logs)

I am not sure what to do.

failed to open Login after delpyment

I have successfully deployed the solution and opened the registration tool, however, I am not able to access the login URL (the configuration process). What am I missing here?

lms

Canvas: {Message}:{"Could not validate request."}?

LTI Application does not load error: {"Message":"Could not validate request"}

Describe the issue
I'm in the process of connection our self hosted canvas. We get {Message}:{"Could not validate request."}.

Following the: LTI Application does not load error: {"Message":"Could not validate request"} dit not resolve the issue.

In LtiAdvantageLaunch I found this exception:

Could not validate request. Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException: IDX10205: Issuer validation failed. Issuer: 'System.String'. Did not match: validationParameters.ValidIssuer: 'System.String' or validationParameters.ValidIssuers: 'System.String'. at Microsoft.IdentityModel.Tokens.Validators.ValidateIssuer(String issuer, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateIssuer(String issuer, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Edna.Bindings.LtiAdvantage.Utils.LtiAdvantageExtensions.GetValidatedLtiLaunchClaims(HttpRequest request, String jwkSetUrl, String clientId, String issuer) in C:\Users\lti-user\Documents\LTI-tool\Learn-LTI\backend\Bindings\Edna.Bindings.LtiAdvantage\Utils\LtiAdvantageExtensions.cs:line 46 at Edna.Bindings.LtiAdvantage.Services.LtiResourceLinkRequestClient.GetLtiResourceLinkRequest(String jwkSetUrl, String clientId, String issuer) in C:\Users\lti-user\Documents\LTI-tool\Learn-LTI\backend\Bindings\Edna.Bindings.LtiAdvantage\Services\LtiResourceLinkRequestClient.cs:line 25 at Edna.Connect.LtiAdvantageApi.LtiAdvantageLaunch(HttpRequest req, ILtiResourceLinkRequestClient ltiRequestClient, INrpsClient nrpsClient, Platform platform, IAsyncCollector`1 assignmentsCollector, IDurableEntityClient entityClient, String platformId) in C:\Users\lti-user\Documents\LTI-tool\Learn-LTI\backend\Functions\Edna.Connect\LtiAdvantageApi.cs:line 86

I use https://canvas.instructure.com as Issuer?

'No sufficient permissions to view this page' when accessing Platform Registration Page

I just solved my problem with accessing the Platform Registration Page which cost me a lot of time, so I think this would be a great information for the troubleshooting section.

Problem:
Installed the Learn LTI application by execution of the run.bat file. Installation succeeded. Try to access the created Platform Registration Page results in 'No sufficient permissions to view this page'.

Solution:
Go to the 'platforms' azure function inside of the resource group which was just created.
Go to 'Configuration' at the left side
Have a look into the 'AllowedUsers' environment variable.
Verify the email address of the user you are logged in with is included in the environment variable (!THIS IS CASE SENSITIVE!)
If it does not match or exist, update the environment variable and save the change.
Wait a minute to let change take effect and retry!

(In my case the email address was added there with capital first letters while the email address of my login user had lowercase)

Feature Request - Canvas membership API max page size =50

Is your feature request related to a problem? Please describe.
At present there may be a issue if a Canvas course has over 50 registered students. based on the Canvas Membership API which has a default limit of 50

module Lti::Ims::Providers
class MembershipsProvider
include Api::V1::User

MAX_PAGE_SIZE = 50

See https://github.com/instructure/canvas-lms/blob/master/app/controllers/lti/ims/providers/memberships_provider.rb & https://github.com/instructure/canvas-lms/wiki/Settings-%28customization%29

Describe the solution you'd like
Update the Learn LTI application to retrieve the full class membership
Code https://github.com/microsoft/Learn-LTI/blob/main/backend/ThirdParty/LtiAdvantage/LtiAdvantage/NamesRoleProvisioningService/GetMembershipRequest.cs

Describe alternatives you've considered
For self hosted solution the Canvas source code at See https://github.com/instructure/canvas-lms/blob/master/app/controllers/lti/ims/providers/memberships_provider.rb & https://github.com/instructure/canvas-lms/wiki/Settings-%28customization%29 can be modified to return more than the default 50 members of the course.

Additional context
This issue seems to be only effecting Canvas SaaS based solutions hosted by Canvas Infrastructure

Microsoft Learn LTI in D2L Brightspace returning Error - currently unable to handle this request

Dear Team,

We integrated Microsoft Learn LTI in our D2L Brighspace MLS. We have ran into some issues with the Integration. When we lunch the application from LMS, we received the following error on LMS side.

0

At Azure side, we are getting the below error when trying to launch the application form our LMS it is hitting the “'LtiAdvantageLaunch’” Function and getting the below error.

2021-08-05T06:54:24.213 [Information] Executing 'LtiAdvantageLaunch' (Reason='This function was programmatically called via the host APIs.', Id=0a53b2e7-fefa-4f8b-9509-98a88ea8cf12)

2021-08-05T06:54:24.369 [Error] Executed 'LtiAdvantageLaunch' (Failed, Id=0a53b2e7-fefa-4f8b-9509-98a88ea8cf12, Duration=325ms)Object reference not set to an instance of an object.

It would be greatly appreciated if you could point us in the right direction.
Thank you.

Adding LTI Activity Moodle

Hi

When trying to configure a newly added LTI activity in Moodle, I receive the error :
You are not enrolled in this course.

I am following the steps https://github.com/microsoft/Learn-LTI/blob/main/docs/USER_GUIDE.md#Create-an-assignment-in-Moodle-leveraging-Microsoft-Learn-LTI-application

and I am at step 7.

I am expecting to see a page similar to : https://github.com/microsoft/Learn-LTI/blob/main/docs/USER_GUIDE.md#Customize-Review-and-Publish-the-assignment

I believe everything is configured correctly.
image

Thanks

After an Activity/Resource is Added in Moodle, unable to proceed to Customize, Review and Publish the Assignment

Hi.

I followed all the steps to setup the Microsoft Learn LTI via Moodle. Everything was successful up to this step:

https://github.com/microsoft/Learn-LTI/blob/main/docs/USER_GUIDE.md#customize-review-and-publish-the-assignment

I am unable to customize, review and publish the assignment. The page just keeps loading. I've tried multiple browsers, restarted the Azure VMs, cleared cache/cookies, etc but the page has been "loading assignment" for hours and hours.

Please advise what could be the issue? Video attached/below.

Microsoft.Learn.LTI.-.Assignment.Loading.mp4

Integration with Moodle

I have created a new environment in Azure and follow Deployment Guide <-- All Ok
When I try to configure Moodle (LTI 1.1) I can't see the following option in Step 7
image
image

I have completed all the configuration steps (without step 7) and then I create a new activity following the instructions. When Azure window opens I get this error screen
image
and I can see this using Developer Tools
image

What can I do to solve this issue?

Feature Request - Support the creation and duplication of course templates

Is your feature request related to a problem? Please describe.
Institutions would like to create master course templates for courses so that online courses use the same content for every section/session/year of study.

The institution would typically wish to create a course shell in their LMS such as Canvas that uses MS Learn LTI integrated content. They would develop the full course scaffold and include appropriate MS Learn content via the Learn LTI.

Expected behavior
That the course scaffolded contnet including Learn LTI content would be available in the Canvas shell and be exported/copied to another course

Describe the solution you'd like
I expect to create an assignment using the LMS and the Learn LTI, add the required modules, and then be able to use the same assignment in another course. The only difference between the Course Template/shells is that the master shell has different participants than the copied shell.

Additional context
This feature allows educators to quickly scaffold and repeat courses/redeploy course which use the same content and resources each semester

Course completion tracking of Moodle Integration

Some problem/questions about the course completion of Moodle Integration.

Moodle Version: 3.8
MS Learn LTI Application: Should be latest (clone and re-deploy on 9 Sept, 2020)

Describe the issue

  1. Launch Container
    If set to open in New Window, the learner's activity never auto change to completed.
    image

if set to Embed, the the learner's activity can auto change to completed. After the learner open the embed ms learn application page either he/she not click the ms learn modules or not.

  1. Completion Tracking
    In above reason, we try to enabled the course completion tracking.
    image
  • Require Guide: Enabled

But the completion status still cannot change to completed.

Expected behavior
Expect the completion tracking should receive the grade from MS Learn LTI Application, Moodle Course according the grade to update learner's activity status of the course.
image

Error after deploy.ps1 step #10

Running into problems when deploy.ps1 reaches step #10. See the error output on the end.

Following is present on the system.
Microsoft .NET Core SDK 3.1.413 (x64)
Microsoft .NET SDK 5.0.302 )x64)
Node.js 14.17.6
Powershell 5.1.22000.1
Git 2.33

Error:

STEP #10 - Installing the backend

PS C:\Code> TerminatingError(): "Errors while building Function App [ AssignmentLearnContent ]"
PS C:\Code> TerminatingError(): "Errors while building Function App [ AssignmentLearnContent ]"

I then tried to run publish.ps1. See all output from publish.ps1.

PS C:\Learn-lti\Learn-LTI\deployment> C:\Learn-lti\Learn-LTI\deployment\Publish.ps1
cmdlet Publish.ps1 at command pipeline position 1
Supply values for the following parameters:
ResourceGroupName: MSLearnLTI
AppName: MS-Learn-Lti-Tool-App

=============================================================
Gathering Deployment Info

[ 23-9-2021 14:06:18 ] - [INFO] - Validating App Registration
[ 23-9-2021 14:06:18 ] - [INFO] - Validating Resource Group
[ 23-9-2021 14:06:19 ] - [INFO] - Getting Function Apps Info
[ 23-9-2021 14:06:20 ] - [INFO] - Getting Static Website Info

=============================================================
Deployment Info Gathered

=============================================================
Installing the backend

[ 23-9-2021 14:06:21 ] - [INFO] - Switching to [../backend] as working directory
[ 23-9-2021 14:06:21 ] - [INFO] - Installing FunctionApp -- AssignmentLearnContent
[ 23-9-2021 14:06:21 ] - [INFO] - Publishing Project [ Edna.AssignmentLearnContent.csproj ] as FunctionApp
[ 23-9-2021 14:06:21 ] - [INFO] - Building [ C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent ] --> [ Artifacts\AssignmentLearnContent ]
[ 23-9-2021 14:06:22 ] - [INFO] - Determining projects to restore...
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Linq\Edna.Utils.Linq\Edna.Utils.Linq.csproj : error NU1102: Unable to find package NETStandard.Library with version (>= 2.0.3) [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.Assignme
ntLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Linq\Edna.Utils.Linq\Edna.Utils.Linq.csproj : error NU1102: - Found 1 version(s) in Microsoft Visual Studio Offline Packages [ Nearest version: 1.6.0 ] [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.Assignmen
tLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package AutoMapper.Extensions.Microsoft.DependencyInjection. No packages exist with this id in
source(s): Microsoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Extensions. No packages exist with this id in source(s): Micr
osoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1102: Unable to find package NETStandard.Library with version (>= 2.0.3) [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.Assignme
ntLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1102: - Found 1 version(s) in Microsoft Visual Studio Offline Packages [ Nearest version: 1.6.0 ] [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.Assignmen
tLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1102: Unable to find package NETStandard.Library with version (>= 2.0.3) [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearn
Content\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1102: - Found 1 version(s) in Microsoft Visual Studio Offline Packages [ Nearest version: 1.6.0 ] [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnC
ontent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Azure.WebJobs.Extensions.Storage. No packages exist with this id in source(s)
: Microsoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.Http.Features. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\L
earn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.Azure.WebJobs.Extensions.Http. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Lea
rn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Extensions.Http. No packages exist with this id in source(s): Microsoft Visua
l Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package Microsoft.Azure.Services.AppAuthentication. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packag
es [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.Extensions.Http. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Learn-lti\Learn-L
TI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.NET.Sdk.Functions. No packages exist with this id in source(s): Microsoft Vis
ual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package Microsoft.Extensions.DependencyInjection. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages
[C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.Http.Features. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Learn-lt
i\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Azure.WebJobs.Extensions.Http. No packages exist with this id in source(s): M
icrosoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package Microsoft.Extensions.Http. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Learn-lti
Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.Http.Features. No packages exist with this id in source(s): Micros
oft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.Azure.Services.AppAuthentication. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:
Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package Microsoft.Extensions.Logging.Abstractions. No packages exist with this id in source(s): Microsoft Visual Studio Offline Package
s [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Azure.Services.AppAuthentication. No packages exist with this id in source(s)
: Microsoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.Extensions.DependencyInjection. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Le
arn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package System.IdentityModel.Tokens.Jwt. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Lear
n-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Extensions.DependencyInjection. No packages exist with this id in source(s):
Microsoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.Extensions.Logging.Abstractions. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\L
earn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Extensions.Logging.Abstractions. No packages exist with this id in source(s):
Microsoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package System.IdentityModel.Tokens.Jwt. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Learn-lti\L
earn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package System.IdentityModel.Tokens.Jwt. No packages exist with this id in source(s): Microsoft
Visual Studio Offline Packages
Failed to restore C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj (in 94 ms).
Failed to restore C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj (in 94 ms).
Failed to restore C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj (in 94 ms).
Failed to restore C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Linq\Edna.Utils.Linq\Edna.Utils.Linq.csproj (in 94 ms).
Errors while building Function App [ AssignmentLearnContent ]
At C:\Learn-lti\Learn-LTI\deployment\Install-Backend.ps1:61 char:9

  •     throw "Errors while building Function App [ $FunctionName ]"
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Errors while bu...tLearnContent ]:String) [], RuntimeException
    • FullyQualifiedErrorId : Errors while building Function App [ AssignmentLearnContent ]

PS C:\Learn-lti\Learn-LTI\deployment>

Microsoft LTI Integration with Moodle- Error

I have integrated the Microsoft Learn LTI with Moodle 3.9. After following all steps given in the below documents

While trying to access the Microsoft Learn LTI on Moodle Platform, I am getting the below error:

{"Message": "Could not validate request."}

Rechecked the configuration, Cleared history. But the issue still persists.

Kindly suggest some solution

Learn-Lti - [ Failed to deploy Function App [ AssignmentLearnContent ] ]

when deploying reached step 10 and got an error

=============================================================
STEP #10 - Installing the backend

ERROR: The command failed with an unexpected error. Here is the traceback:
ERROR: 'str' object has no attribute 'value'
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 657, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 720, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 691, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 328, in call
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 403, in enable_zip_deploy_functionapp
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 536, in remove_remote_build_app_settings
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 1019, in validate_app_settings_in_scm
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/utils.py", line 81, in call
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/utils.py", line 77, in call
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 1038, in _get_app_settings_from_scm
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 1948, in _get_scm_url
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 607, in show_webapp
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 736, in _show_app
AttributeError: 'str' object has no attribute 'value'
To open an issue, please run: 'az feedback'
Transcript stopped, output file is C:\Learn-Lti\Learn-LTI\deployment\Log\Transcript-14-10-2021-12-04-34.log
Press any Key to Exit:

MSBUILD : error MSB1001: Unknown switch

Failing at step 10 of the deployment and receiving this error:

ASP.NET Core

Successfully installed the ASP.NET Core HTTPS Development Certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only). For establishing trust on other platforms refer to the platform specific documentation.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
Microsoft (R) Build Engine version 16.2.37902+b5aaefc9f for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1001: Unknown switch.
Switch: --nologo

For switch syntax, type "MSBuild -help"
[ 6/23/2021 11:29:30 AM ] - [ERROR] - Exception.Message [ Errors while building Function App [ AssignmentLearnContent ] ]
[ 6/23/2021 11:29:30 AM ] - [ERROR] - Exception.Type [ System.Management.Automation.RuntimeException ]
[ 6/23/2021 11:29:30 AM ] - [ERROR] - Error occurred while executing the Script. Please report the bug on Github (along with Error Message & Logs)

Deployment fails with ParentResourceNotFound

Bug

Running the /deployment/run.bat script fails in step 6 with:

ERROR: Deployment failed. Correlation ID: 2094720e-1250-484e-b799-ca43c30d2da7. {
"error": {
"code": "ParentResourceNotFound",
"message": "Can not perform requested operation on nested resource. Parent resource 'kv-ry2xvef66' not found."
}
}

To Reproduce
See the attached transcript and log file.
commandprompt.txt
Log-11-02-2021-17-23-22.log
Transcript-11-02-2021-17-23-22.log

Expected behavior
It works!

Desktop (please complete the following information):

  • OS: W10
  • Browser n/a

Brightspace

Is there any deployment Guide to use within Brightspace as yet?

Unable to copy Learn Modules between Canvas courses

If this is about an issue in the guides

Describe the issue
My college uses master course shells for our courses so that online courses use the same content for every section. I have created a shell in Canvas that uses MS Learn LTI integrated content. When creating an assignment with the required modules in the Learn LTI I expect that the content would be made available in the Canvas shell is exported/copied to another course, but this is not happening. I worked briefly with Lee Stott via Teams and tried what was suggested, but this did not work.

Expected behavior
I expect to create an assignment using the Learn LTI, add the required modules, and then be able to use the same assignment in another course. I did not "publish" the assignment at the suggestion of Lee, but this did not help. The only difference between the Canvas shells is that the master shell has several participants and the copied shell only has me as instructor/developer.

Screenshot of the assignment in the master course:
master_course_assignment

Screenshot of the assignment in the copied course:
copied_course_assignment

Integration with ANewSpring LMS

If this is about an issue in the guides

Describe the issue
We are trying to configure ANewSpring (ANS) LMS - it supports LTI 1.1 - to work with the tool. The ANS guide explains we need to have Link, Key, Secret and Custom Parameters in order to make the connection work >> https://support.anewspring.com/en/articles/45857-play-content-from-another-system-in-anewspring-using-lti-consumer

Expected behavior
Could you please clarify how to configure ANewSpring? Basically, how to get these Link, Key, and Secret values.

Sync bulk Moodle Accounts with Azure AD

Dear Team,

We have local accounts (approx. 9000 students and staff) created directly on Moodle and do not have any Active Directory server.
The MS Learn-LTI integration part worked fine, but now we need the users currently in Moodle to be synced with Azure AD so that students/staff can use the same credentials on Microsoft Learn portal too.

We need a guide / use case where we can push the Moodle users to Azure AD.

Thank you

Do we have to have AD Connect to provide a success deployment of LTI?

Thank you so much for so useful and detailed guide! It's very cool.
I have some trouble with a deployment process, please help me as you can )

At the first Guide "Deployment Guide" https://github.com/microsoft/Learn-LTI/blob/main/docs/DEPLOYMENT_GUIDE.md at the requirements section I see only this prerequisites: Prerequisites
To begin, you will need:

Azure CLI
DotNet Core SDK
Node.js
Powershell
Git
An Azure subscription

There is no one words about AD Connect

When I started to execute third step "Educator Guide" https://github.com/microsoft/Learn-LTI/blob/main/docs/USER_GUIDE.md#Customize-Review-and-Publish-the-assignment I couldn't to execute Microsoft Learn LTI application. I have the same error like in this section LTI Application Login error: You are not enrolled in this course https://github.com/microsoft/Learn-LTI/blob/main/docs/TROUBLESHOOTING.md
I look at the follow comment:

User not registered on the LMS or logged into Web Browser with the incorrect account

-Ensure you are using an Azure AD connected account and logged into their web browser with the same account they used to sign into the LMS.
-Please ensure that AAD sign for your LMS is enabled and you are signing into your LMS with a AAD account.
-The emails of the users in the LMS and AAD should match.
-Ensure the users are active on the course.

It's a problem for because I have no AD Domain to setup AD Connect and synchronize the users. Is it possible to use this scenario "Microsoft Learn LTI Application" without AD Connect.
What can I change (Maybe some thing of Microsoft Identity, App Registration or something else) in my deployment without AD Connect?

Thank you!
The best regards,
Anastasia V

Moodle with LTI 1.1

I am trying to integrate Learn LTI with my corporate Moodle. I have deployed correctly all the elements in Azure but I cannot continue because I am using LTI 1.1 in Moodle and I don't know where I can find Customer Secret and Shared Secret after finish the deployment. I have all the information for configure with LTI 1.3 but no with LTI 1.1

image

Cannot find external tool in Canvas

If this is about an issue in the guides

Cannot find external tool in Canvas

Describe the issue
In the educator guide when adding an assignment in Canvas I am not able to find any tool.

Select Load This Tool In A New Tab.
Click Find.
Select the name of the tool you configured during deployment and configuration and click Select.
Fill the rest of the assignment details as per your requirement.

Expected behavior
I should expect the tool I configured. Not sure if I have to add the launch url manually.

Wrong link for Architecture Overview doc

If this is about an issue in the guides

Describe the issue
The link of Architecture Overview is wrong.
On this page: https://docs.microsoft.com/en-us/learn/support/lti-application, the link of Architecture Overview is https://aka.ms/LearnLTI-Repo-Docs5. If I click the link, it navigates to https://github.com/microsoft/Learn-LTI/blob/main/docs/ARCHITECTURE_OVERVIEW.md), not https://github.com/microsoft/Learn-LTI/blob/main/docs/ARCHITECTURE_OVERVIEW.md.

Because it uses Microsoft short url so I cannot create the PR to fix it. Please remove the useless ")". Thanks.

Expected behavior
The link of Architecture Overview should navigate to the correct document.

Not able deploy using the run.bat

I ran the run.bat script. I was able to successfully login my azure account and later it asked me for my subscription name. I provided the same but there was an error of Invalid subscription name (screenshot attached). After this, it asked for the region and I mentioned eastus2. Later there is an error saying Insufficient Privilege (screenshot attached).
image
image

User emails - Case Sensitivity

Bug

The bug is related to the user emails case sensitivity at present the users email within the LMS and Azure Active Directory has to match case.

Error from Debugging
Unauthorized error
Get user details failed
image

To Reproduce validate the issue
Steps to check if this behavior is due to the email of the user being different in the LMS and Azure Active Directory:

  1. Go to your LMS and check user account email address (example Moodle https://docs.moodle.org/310/en/Add_a_new_user#Email_address)
  2. Go to Azure Active Directory and check user account email address
  3. Check case of user email in both systems
  4. Update one system to reflect the case of the user email to ensure both system have the same case LOWER/Upper/Sentance

Expected behavior
Once the email is corrected the user can login and no errors are presented
If the email are not the same the user is presented with a error

see issues

Openedx LTI

Hi, we currently have a ficus deployment of openedx and tried using this tool.
We were able to deploy it on Azure and it seems like the ficus version of openedx is still using LTI 1.1 so we decided to use key and secret for LTI 1.1 as stated in the configuration guide.
However when we click the LTI link, we see this error below.

image

We are using the same account that deployed the tool to Azure. The account is also set as staff in our openedx deployment.
Any idea why this happens and how it could be fixed?

Logging in to Azure: Exception.Message

Hi,

When I follow the very first step, once I clone the repo using Git it throws me the following error:

[ 4/21/2021 8:36:20 AM ] - [INFO] - Logging in to Azure
[ 4/21/2021 8:36:20 AM ] - [ERROR] - Exception.Message [ The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. ]
[ 4/21/2021 8:36:20 AM ] - [ERROR] - Exception.Type [ System.Management.Automation.CommandNotFoundException ]
[ 4/21/2021 8:36:20 AM ] - [ERROR] - Error occurred while executing the Script. Please report the bug on Github (along with Error Message & Logs)

Then it throws me an error:

image

Unable to register for Organization Reporting from B2C tenant

I have an Azure B2C tenant setup which is serving Moodle and the LTI application. I have those working fine but I now need to be able to fetch the learner progress data which appears to be only available via a data share invitation.

What I have tried so far

I have used Azure Lighthouse to provide access to a resource group housing the data share in our main tenant as I could not create it in the B2C tenant. I access the organization reporting setup page with a user that is local to the B2C tenant and is part of a security group which has permissions to access the resource group. This allows the values to be populated on the form so that the Accept button becomes available.

However, when I click accept I get the error "Failed to create Share Subscription 'learningdata' : This operation is not allowed outside your home tenant unless you register your email."
I have been to https://docs.microsoft.com/en-us/rest/api/datashare/2019-11-01/email-registrations/register-email which shows the activation request as pending though it shows the email as onmicrosoft.com even if I set an email for the user.

I have tried again with a user which has already validated their email for the B2C tenant (with a gmail account so it didn't get tied to another azure tenant) using https://docs.microsoft.com/en-us/rest/api/datashare/2019-11-01/email-registrations/activate-email but this just gives
org reporting for user with gmail account

Expected behavior
I should be able to accept the invitation and then proceed to setup the data share to receive the progress data.

LMS:

  • Platform: Moodle
  • Version 3.11
  • Installation: Bitnami Moodle on Azure VM

Classera.com - MultiTennant Domain Support for Learn LTI Application

When we tried to integrate using LTI v1.3 the page returns 500 and looking at the log this is the error we are getting:
2021-05-27T13:18:29.223 [Error] Executed 'LtiAdvantageLaunch' (Failed, Id=74ebc0dc-b2c6-412a-8008-3851238137ae, Duration=1862ms)Object reference not set to an instance of an object.
image
image

and when we tried to integrate using LTI v1.0 it looks like the tool will need us to provide an AD account for all of the academies users since we are receiving the "You are not enrolled in this course" error:
image
Could you guys just confirm that if its true please.

This page isn’t working right now HTTP ERROR 500

Hi

I am following https://github.com/microsoft/Learn-LTI/blob/main/docs/USER_GUIDE.md

And when I attempt to configure the external tool I receive

"This page isn’t working right now"

image

When I check the logs in Azure for the OidcLogin function I see

2021-07-21T06:57:11.570 [Information] Executing 'OidcLogin' (Reason='This function was programmatically called via the host APIs.', Id=4881c8dc-3751-4c93-a5a9-b2e0b8dbcb15)
2021-07-21T06:57:12.748 [Information] Executed 'OidcLogin' (Succeeded, Id=4881c8dc-3751-4c93-a5a9-b2e0b8dbcb15, Duration=2252ms)
2021-07-21T06:57:13.321 [Information] Executing 'OidcLogin' (Reason='This function was programmatically called via the host APIs.', Id=2b37235b-e6c7-48dd-9a1d-e09ff7e27c67)
2021-07-21T06:57:13.443 [Error] Executed 'OidcLogin' (Failed, Id=2b37235b-e6c7-48dd-9a1d-e09ff7e27c67, Duration=528ms)Response status code does not indicate success: 500 (Internal Server Error).
2021-07-21T06:57:54.152 [Information] Executing 'OidcLogin' (Reason='This function was programmatically called via the host APIs.', Id=0af52edb-b2ab-4461-96ca-006ded4c7b98)
2021-07-21T06:57:55.196 [Information] Executed 'OidcLogin' (Succeeded, Id=0af52edb-b2ab-4461-96ca-006ded4c7b98, Duration=1584ms)
2021-07-21T06:57:55.410 [Information] Executing 'OidcLogin' (Reason='This function was programmatically called via the host APIs.', Id=b9140efd-0bbb-426d-8c5e-2c41da582332)
2021-07-21T06:57:55.432 [Error] Executed 'OidcLogin' (Failed, Id=b9140efd-0bbb-426d-8c5e-2c41da582332, Duration=173ms)Response status code does not indicate success: 500 (Internal Server Error).

Any ideas on what I may have done wrong ? I have checked the config a few times and according to the documentation it all looks correct.

Thanks

LTI Integration with Mconnect not working

Dear team,

We integrated MS Learn LTI with our e-learning platform (Moodle) 2 months back. We faced some issues, but with your help it got resolved. It was working on Browser as well on Ms-Teams integrated with M-connect. But from last one day I am again finding the the issue. The Application is working fine on the Browser, but not on the Application function for M-connect. Getting below error {"Message":"Could not validate request."}

Kindly guide.

There was a problem installing LTI

Hello
I got an error when installing LTI. I have reinstalled it several times. Every time I installed it to the 10th step, there would be a problem. It seems to be a bug. How can I solve it?

First stage
LTI
Log-30-11-2021-09-55-08.log
Transcript-30-11-2021-09-55-08.log

second stage
I deleted all resource groups and all resources on Azure, and after redeploying LTI, the following problems occurred in the sixth step of deployment:

LTI_2
Log-30-11-2021-10-41-49.log
Transcript-30-11-2021-10-41-49.log

Parent Resource Not Found

Bug

Parent Resource Not Found
Deployment failing in Step 8 - Creating Resources in Azure within PowerShell.

To Reproduce
Steps to reproduce the behavior:

  1. run.bat in PowerShell
  2. Deployment failed. Correlation ID: c7ac44aa-eb0a-4867-8e91-0d073dc2e668. {
    "error": {
    "code": "ParentResourceNotFound",
    "message": "Can not perform requested operation on nested resource. Parent resource 'kv-73i32pmz3' not found."
    }
    }

Additional context
This occurred after pulling Main to fix the HTTPSConnectionPool which was corrected in the azuredeploy.json

"Too many 500 error responses" when creating resources (Step 8)

Hi, all.

When running the deployment script, I'm getting the following error message in STEP 8 - Creating Resources in Azure:

ValidationError: Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/.../resourcegroups/MSLearnLTI/providers/Microsoft.Resources/deployments/Deployment-24-09-2020-12-36-57/validate?api-version=2020-06-01 (Caused by ResponseError('too many 500 error responses',))
Transcript stopped, output file is C:\Users\Owner\Git\Learn-LTI\deployment\Log\Transcript-24-09-2020-12-36-57.log
Press any Key to Exit:
Encountered an Error while deploying to Azure
At C:\Users\Owner\Git\Learn-LTI\deployment\Deploy.ps1:218 char:9
+         throw "Encountered an Error while deploying to Azure"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Encountered an ...loying to Azure:String) [], RuntimeException
    + FullyQualifiedErrorId : Encountered an Error while deploying to Azure

I deleted the MSLearnLTI resource group that was created and then tried running the script a second time, resulting in the same error.

Unable to install Lit system normally

I tried to install LTI several times and still failed

error.pptx
Desktop.zip

  1. The version of my moodle system is 3.11.4+
  2. I use Azure AD and created multiple user accounts
  3. I use Admin in Moodle to create a course first, then use another browser, log in with a teacher account, and use the teacher account to link to LTI courses

The attachment is a screenshot of the related fault message, which I put in the PPT
And F12 to view the trace and stack LOG file. Please refer to it

thank you

Doesnt appear the Tool Registration URL

Hi, the CMD doesn't show the tool registration URL at the end of the step
image

Can someone help me to get the tool registration URL so I can proceed to the next step.

Dependency Issues

Hi,

After setting this up and configuring with an LMS, it returns the oops something is wrong error message when trying to launch.

Looking in the connect insights, this is a dependency issue

image

Have you seen this before?

Thanks,
SK

Link between Moodle and Microsoft learn is not working Moodle 3.8 (Legacy)

We managed to deploy Microsoft Learn LTI on Azure and configured the LTI 1.1 and LTI 1.3 on our Moodle LMS.

After that, we followed the instruction in the educator guide, and we managed to create Microsoft Learn course on Moodle but unfortunately the migration /link between Moodle and Microsoft learn is not working.
pressing the link navigates to an error message as follows;

"Could not validate request"

I hope you can support us to troubleshoot the issue
Best

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.