Comments (4)
Hi ewouds! Thank you for opening this issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on the Azure Arc Jumpstart.
from azure_arc.
@ewouds When you are in the directory azure_jumpstart_hcibox
from a PowerShell session, could you run dir -Recurse -Include .env | Get-Content
and check if the output contains a line starting with SPN_PROVIDER_ID=
?
If not, did you notice any errors when running azd up
?
I just tested on my end, and could not repro - but there could be an issue retrieving the SPN provider id in your environment. Could you run the following to check if the output is similar to mine?
$(az ad sp list --display-name "Microsoft.AzureStackHCI" --output json) | ConvertFrom-Json
from azure_arc.
SPN_PROVIDER_ID is not provided in the .env file.
This is output
PS C:\Users\ewoudsmets\Desktop\Adaptive Cloud\azure_arc\azure_jumpstart_hcibox> dir -Recurse -Include .env | Get-Content
AZURE_ENV_NAME="ewshcibox"
AZURE_LOCATION="eastus"
AZURE_SUBSCRIPTION_ID="36xxxxxxxxxxxxxxxxxx4e"
JS_DEPLOY_BASTION="True"
JS_RDP_PORT=3389
JS_WINDOWS_ADMIN_USERNAME="arcdemo"
SPN_CLIENT_ID="3bxxxxxxxxxxxxxxxxxxc0"
SPN_CLIENT_SECRET="rAxxxxxxxxxxxxxxxxxxXk"
SPN_TENANT_ID="92xxxxxxxxxxxxxxxxxxb2"
I did receive the following ERROR:
Provisioning Azure resources (azd provision)
ERROR: Insufficient privileges to complete the operation.
Checking for existing stored Azure service principal...
Attempting to create new service principal with scope /subscriptions/36xxxxxxxxxxxxxxxxxxxxxxxx4e...
from azure_arc.
Thanks, it seems like the azd pre-provisioning script are currently continuing the deployment even if the command to retrieve the SPN_PROVIDER_ID is failing. We will make sure to resolve that, so the script will return a terminating error and not go on with a deployment which will fail due to the missing parameter value.
For your scenario, it seems like the user authenticated in Azure CLI does not have sufficient privileges to query service principals in the tenant.
I would suggest one of the following:
- Request access from a tenant administrator to get read-permissions to service principals
- Ask a tenant administrator to run the command
$(az ad sp list --display-name "Microsoft.AzureStackHCI" --output json) | ConvertFrom-Json
and send you the ID from the output. You can then manually add that value to the .env file:SPN_PROVIDER_ID="xxx"
. After doing so,azd up
should provision a working instance.
from azure_arc.
Related Issues (20)
- HCIBox-Client post deployment automation issues HOT 3
- admin name and password fail to logon HOT 3
- Azure Arc-enabled data services - Aug release HOT 1
- customLocationRPOID aio_manufacturing HOT 5
- Logon script error in AKS Edge Essentials single node deployment with Azure Arc using ARM Template HOT 2
- Bug with new version in Azure Iot Operations HOT 1
- Update AKS templates autoupgrade channels HOT 1
- Contoso Motors - reporting dashboard not working HOT 1
- Contoso Motors - InfluxDB login not working HOT 1
- Deprecate ESA Scenario HOT 2
- DeviceManagement Extension Installation Failed - HCI Jumpbox HOT 4
- Deprecate CAPI from Jumpstart Scenarios HOT 1
- HCIBox - Update HCI base vhdx to latest HOT 1
- HCIBox - Update Windows Server 2022 vhdx image to latest HOT 1
- Azure Arc-enabled data services - Sept release HOT 1
- Azure Stack HCI Cluster Deployment - HCI Network Connectivity Validation Failed - HCI Jumpstart HOT 3
- Syntax within the guide for HCI HOT 2
- Missing data when trying to validate the cluster for HCI HOT 2
- Update AKSEE schema version to 1.14 HOT 1
- ArcBox deployment fails due to WinGet bootstrapping issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure_arc.