Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred creating the service principal #2895

Open
ajgball opened this issue Jan 21, 2025 · 3 comments
Open

An error occurred creating the service principal #2895

ajgball opened this issue Jan 21, 2025 · 3 comments
Assignees
Labels
HCIBox Jumpstart HCIBox related
Milestone

Comments

@ajgball
Copy link

ajgball commented Jan 21, 2025

Note: For ease of issues and pull requests management and tracking, we kindly ask you to provide a meaningful and concise title to this issue and answer all questions to the best of your ability.

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?

Yes HCIBox

Describe the issue or the bug

running azd up and get an error when creating the service principal.
Attempting to create new service principal with scope /subscriptions/50a9a66f-8aad-4157-8f3f-fe33264100cd...
Exception: C:\Users\GREVATTEBA\azure_arc\azure_jumpstart_hcibox\hooks\preprovision.ps1:241
Line |
241 | Throw "An error occurred creating the service principal. …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| An error occurred creating the service principal. Error:Values of identifierUris property must use a verified
| domain of the organization or its subdomain: 'http://ajgball-jumpstart-spn-9921'

To Reproduce

  1. run azd up
  1. See error ---> above error

Expected behavior
expect environment to be deployed

Environment summary
Using HCI box with developer deployment

Have you looked at the Troubleshooting and Logs section?

Screenshots

Additional context

@ajgball ajgball added the triage issue or feature up for triage label Jan 21, 2025
@ajgball
Copy link
Author

ajgball commented Jan 21, 2025

Hi I got round this issue by manually updating the preprovision.ps1 file with the following :
$uniqueSpnName = "jumpstart2.xxxx.co.uk"

where xxxx is the domain name I have registered for AzureAD

@ldabas-msft ldabas-msft self-assigned this Jan 21, 2025
@ldabas-msft ldabas-msft added the HCIBox Jumpstart HCIBox related label Jan 21, 2025
@ldabas-msft ldabas-msft moved this to Triage needed in Azure Arc Jumpstart Jan 21, 2025
@ldabas-msft ldabas-msft added this to the January 2025 milestone Jan 21, 2025
@dkirby-ms
Copy link
Contributor

Hi @ajgball, I suggest using the Az CLI deployment option instead of AZD. We will evaluate the viability of AZD with HCIbox moving forward.

@ldabas-msft
Copy link
Contributor

ldabas-msft commented Jan 29, 2025

Documentation has been updated to remove azd support. Azure/arc_jumpstart_docs#470
Will also remove AZD from the codebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HCIBox Jumpstart HCIBox related
Projects
Status: Triage needed
Development

No branches or pull requests

4 participants