When run deploy.ps1 get to line 746 and throws error that cannot find Resource Group. Resource Groups exists and am using a global admin.
Steps to reproduce
1.Run deploy.ps1
2.When prompted for Please provide string value for 'currentUserobjectId' (? for help):
Enter object id of global admin that is logged in
Get error message
Error message is part of svc account password plus currentuserobjectid
Please provide string value for 'currentUserobjectId' (? for help):xxxxxxxxxx
{"code": "ResourceGroupNotFound", "message": "Resource group 'xxxxxx' could not be found."}
'partofpassword currentUserobjectId=xxxxxx' is not recognized as an internal or external command,operable program or batch file.
Expected results
expect that would continue to run
Actual Results
Error message is part of svc account password plus currentuserobjectid
Please provide string value for 'currentUserobjectId' (? for help):xxxxxxxxxx
{"code": "ResourceGroupNotFound", "message": "Resource group 'xxxxxx' could not be found."}
'partofpassword currentUserobjectId=xxxxxx' is not recognized as an internal or external command,operable program or batch file.
Solution component
Deployment Script
Operating system (environment)
Windows
Additional Info
have removed everything and tried clean install - always errors on same place
Have tried to debug and errors on line 40 of the bicep script after entering objectid.
{"code": "InvalidTemplate", "message": "Deployment template validation failed: 'The template resource '' of type 'Microsoft.KeyVault/vaults' at line '49' and column '5' is not valid. The name property cannot be null or empty. Please see https://aka.ms/arm-syntax-resources for usage details.'.", "additionalInfo": [{"type": "TemplateViolation", "info": {"lineNumber": 49, "linePosition": 5, "path": "properties.template.resources[0]"}}]}
Description
When run deploy.ps1 get to line 746 and throws error that cannot find Resource Group. Resource Groups exists and am using a global admin.
Steps to reproduce
1.Run deploy.ps1 2.When prompted for Please provide string value for 'currentUserobjectId' (? for help):
Please provide string value for 'currentUserobjectId' (? for help):xxxxxxxxxx {"code": "ResourceGroupNotFound", "message": "Resource group 'xxxxxx' could not be found."} 'partofpassword currentUserobjectId=xxxxxx' is not recognized as an internal or external command,operable program or batch file.
Expected results
expect that would continue to run
Actual Results
Error message is part of svc account password plus currentuserobjectid
Please provide string value for 'currentUserobjectId' (? for help):xxxxxxxxxx {"code": "ResourceGroupNotFound", "message": "Resource group 'xxxxxx' could not be found."} 'partofpassword currentUserobjectId=xxxxxx' is not recognized as an internal or external command,operable program or batch file.
Solution component
Deployment Script
Operating system (environment)
Windows
Additional Info
have removed everything and tried clean install - always errors on same place Have tried to debug and errors on line 40 of the bicep script after entering objectid. {"code": "InvalidTemplate", "message": "Deployment template validation failed: 'The template resource '' of type 'Microsoft.KeyVault/vaults' at line '49' and column '5' is not valid. The name property cannot be null or empty. Please see https://aka.ms/arm-syntax-resources for usage details.'.", "additionalInfo": [{"type": "TemplateViolation", "info": {"lineNumber": 49, "linePosition": 5, "path": "properties.template.resources[0]"}}]}