-
Notifications
You must be signed in to change notification settings - Fork 48
Can not deploy the App on my Subscription #124
Comments
So it looks there was a error in the deployment please ensure you remove all resources before trying to redeploy including removal of keys from Azure Key Vault see https://github.com/microsoft/Learn-LTI/blob/main/docs/TROUBLESHOOTING.md You can remove the services running this powershell script https://github.com/microsoft/Learn-LTI/blob/main/deployment/Cleanup.ps1 |
@leestott The subscription I used for deployment contained no resources related to LTI app at all. I have just tried to redeploy it on 2 another subscriptions, unfortunately with the same result (an the same error message): Exception.Message [ Encountered an Error while creating AAD App ] |
Hi @Ivan-Ada Thanks for confirming can you confirm you have these prerequisites To begin, you will need the following installed. Azure CLI You will need a valid a Azure subscription and Azure Active Directory setup. Can you confirm if your subscription has service Principal/Owner permissions of the Azure Subscription you are deploying too? |
Regarding the error.. |
@Ivan-Ada Excellent can you try this again? Please send me the error log if you receive an error. I believe this issue may of been simply that you didn't have an Azure Active Directory available to register the App within. |
I didn't have all the required libraries installed (at least Node.js was missing). I have installed everything ant run it again: now I have an error on the step 10: |
Are you sure you have installed all the prerequisites https://github.com/microsoft/Learn-LTI/blob/main/docs/DEPLOYMENT_GUIDE.md Please make sure you have installed everything this looks like a .Net Core SDK wasnt installed? DotNet Core SDK https://dotnet.microsoft.com/download?WT.mc_id=learnlti-github-cxa Make sure you install the .Net Core SDK Error Log: MSBUILD : error MSB1001: Unknown switch. For switch syntax, type "MSBuild /help" |
below are the versions of the required libraries/apps I have installed: Azure CLI: 2.23.0 the current version of DotNet Core available is 3.1, should I upgrade mine? |
@leestott |
So if you can share the error your now getting? Or is the implementation now deployed successfully? If the implementation failed you need to remove the resource group and all associated resources first before follow the troubleshooting guide https://github.com/microsoft/Learn-LTI/blob/main/docs/TROUBLESHOOTING.md If you simply try to reinstall before removal you will get errors. SO PLEASE REMOVE ALL INSTALLED SERVICES The root cause of the issues looks like you simply didn't have the prerequisites installed before doing the initial install. |
Hi did you manage to get the installation working? if so can we close this issue? |
yes it works, thank you so much! |
I am the owner of the subscription
It fails on the Step #4 Registering Azure AD App.
Have tried 2 times with 2 different regions
Log-07-05-2021-09-43-57.log
Log-07-05-2021-09-50-57.log
The text was updated successfully, but these errors were encountered: