Git Product home page Git Product logo

Comments (3)

leestott avatar leestott commented on May 27, 2024

Can I suggest you unistall the solution ensure your running the versions below - Ensure your running the command from the specific version of the Azure CLI see https://github.com/microsoft/Learn-LTI/blob/main/docs/TROUBLESHOOTING.md

To begin, you will need:

Azure CLI readme about Azure CLI
We currently recommend using Microsoft Azure CLI version 2.27.0
To download the MSI installer for specific version, change the version segment in URL https://azcliprod.blob.core.windows.net/msi/**version**.msi and download it. Available versions can be found at Azure CLI release notes.
DotNet Core SDK .NET Core 3.1
Node.js
Powershell
Git
An Azure subscription

from learn-lti.

leestott avatar leestott commented on May 27, 2024

Please follow
https://github.com/microsoft/Learn-LTI/blob/main/docs/DEPLOYMENT_GUIDE.md - Deployment Guide
https://github.com/microsoft/Learn-LTI/blob/main/docs/CONFIGURATION_GUIDE.md - Configuration Guide

from learn-lti.

leestott avatar leestott commented on May 27, 2024

@brockettc

This should unblock you: MS Learn LTI Missing Permissions

In Azure Portal https://portal.azure.com/

Go to Home/ Lab Directory Apa registration then the name of your MS Learn LTI Tool

image

You need to follow these 4 more steps to ensure the permissions are not a problem

1 We have seen in some case the Batch file only has added the default permission of User.Read.

But we also need to additional permissions please follow the following steps to add the missing permissions.

Please check the following under the Manage Navigation menu of your Application Registration.
"Owners" and ensure the email matches the login account - you need to be using this account to login to first setup the config page

image

2 We need to add under "Authentication" the Reply URL with no selection of authorization endpoints. THE URL Should be the URL of your Azure Function App for the Learn LTI

image

3 Needs to add user_impersonation scope under “Expose an API”.

image

4 Need to modify the "Manifest" and update the “optionalClaims” with the following json.

{

    "idToken": [], 

    "accessToken": [ 

        { 

            "name": "email", 

            "source": null, 

            "essential": false, 

            "additionalProperties": [] 

        }, 

        { 

            "name": "family_name", 

            "source": null, 

            "essential": false, 

            "additionalProperties": [] 

        }, 

        { 

            "name": "given_name", 

            "source": null, 

            "essential": false, 

            "additionalProperties": [] 

        } 

    ], 

    "saml2Token": [] 

} 

You can add these steps directly by modifying the Deploy.ps1 script but you can manually to make it work by simply undertaking the edits above.

from learn-lti.

Related Issues (20)

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.