microsoftarchive / Learn-LTI

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
https://microsoft.github.io/Learn-LTI/
MIT License
126 stars 50 forks source link

Deployment Failed #216

Closed jajjaf closed 1 year ago

jajjaf commented 1 year ago

I execute the script execute the file run.bat. , I select the subscription and the region. I have this error :

ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"NotFound","message":"{\r\n \"error\": {\r\n \"code\": \"ParentResourceNotFound\",\r\n \"message\": \"Can not perform requested operation on nested resource. Parent resource 'kv-oiwluipgt' not found.\"\r\n }\r\n}"},{"code":"BadRequest","message":"{\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"Invalid value found at accessPolicies[0].ObjectId: \"\r\n }\r\n}"}]}}

leestott commented 1 year ago

@jajjaf

Please ensure you have the following installed specifically the version of CLI

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

Additionally please ensure you run the deploy.ps1 with an administrator account in Powershell

If you have further issues or error, please check the closed issues as the error you have is typically related to incorrect CLI versions.

leestott commented 1 year ago

To uninstall a failed deployment please follow the https://github.com/microsoft/Learn-LTI/blob/main/deployment/cleanup.bat