microsoft / azure_arc

Automated Azure Arc, Edge, and Platform environments
https://aka.ms/ArcJumpstart
Creative Commons Attribution 4.0 International
743 stars 550 forks source link

Logon scripts on ARCBoxClient machine fail! #2845

Open DanieleM69 opened 1 week ago

DanieleM69 commented 1 week ago

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? The problem is related to ArcBox for IT Pro scenario.

Describe the issue or the bug The Logon scripts unable to complete because the environment parameters (Tenant, resource group etc.) non correctly passed to the PowerShell scripts!

To Reproduce The deployment was executed using the ARM Template across multiple regions ("East US, France Central") and produced same results. It was also tested on different subscriptions: Microsoft on Internal and External Tenant.

The PowerShell Logon scripts unable to complete the expected scenario:

Expected behavior

Environment summary

Have you looked at the Troubleshooting and Logs section? No relevant Troubleshooting I can find

Screenshots

Additional context

dkirby-ms commented 1 week ago

Can you share your parameters please, without including any secrets?

DanieleM69 commented 6 days ago

sure...

I used the default parameters the tenant is "CONTOSO" ..... see the Subscription

[cid:cd045e55-6e55-449d-ab43-61845f962c5b] [cid:e6ada8e9-944c-4e5f-a05c-2e8e8178359a] [cid:3218812e-2949-491c-b02e-395d6e96c25b]

let me know if you have any questions or concerns

Daniele


Da: Dale Kirby @.> Inviato: venerdì 15 novembre 2024 02:34 A: microsoft/azure_arc @.> Cc: DanieleM69 @.>; Author @.> Oggetto: Re: [microsoft/azure_arc] Logon scripts on ARCBoxClient machine fail! (Issue #2845)

Can you share your parameters please, without including any secrets?

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/azure_arc/issues/2845#issuecomment-2477772801, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BMDPIXNO7R74JESFKBBSR432AVFRZAVCNFSM6AAAAABRUMB2XWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZXG43TEOBQGE. You are receiving this because you authored the thread.

yveskerwyn commented 3 days ago

Same here.

As a workaround I manually renamed the ArcBox-SQL to contoso-SQL in the folder F:\Virtual Machines, and rebooted.

This was only necessary for ArcBox-SQL.

ArcServersLogonScript.ps1 needs a fix.