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

Bad Request -- Microsoft.KeyVault/vaults #201

Closed PedroLozano33 closed 2 years ago

PedroLozano33 commented 2 years ago

Error deploying Learn-LTI tool from Azure AD

when I run the Learn-LTI tool implementation guide it generates an error with the Key Vault, I already tried in different tenants and different subscription and is the same error:

{ "status": "Failed", "mistake": { "code": "BadRequest", "message": "Invalid value found at accessPolicies[0].ObjectId: " }

LMS (please complete the following information):

error kv14 error kv12 error kv13

leestott commented 2 years ago

Please simply downgrade your Azure CLI to v2.27.0

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.

See https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli

This is a known issue which is documented in the troubleshooting guide. https://github.com/microsoft/Learn-LTI/issues/189