-
Notifications
You must be signed in to change notification settings - Fork 51
Error while creating Resources in Azure (step 6) #215
Comments
Hi @sqo365, I believe I've found the reason for this. At https://learn.microsoft.com/nb-no/cli/azure/microsoft-graph-migration you can see the following line:
So the |
Dear Viktor Thank you for your contribution, the issue is now resolved you are a hero! Much appreciated |
So the objectId was replaced by id. Depreicated Graph update script $userObjectId = az ad signed-in-user show --query objectId to $userObjectId = az ad signed-in-user show --query id as per #215
Thanks deployment script has been updated to reflect this change. |
I just got the same error and had to revert it back to "$userObjectId = az ad signed-in-user show --query objectId" to get my keyvault to move to step 7 |
Dear Support
Im facing this issue while creating Resources in Azure , please take alook
=============================================================
STEP #6 - Creating Resources in Azure
WARNING: This command or command group has been migrated to Microsoft Graph API. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration
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":"BadRequest","message":"{\r\n "error": {\r\n "code": "BadRequest",\r\n "message": "Invalid value found at accessPolicies[0].ObjectId: "\r\n }\r\n}"}]}}
Transcript stopped, output file is C:\Learn-Lti\Learn-LTI\deployment\Log\Transcript-24-10-2022-17-26-11.log
Press any Key to Exit: d
The text was updated successfully, but these errors were encountered: