Skip to content

Commit 588d530

Browse files
Harald S. FianbakkenHarald S. Fianbakken
authored andcommitted
Added the SPN login again as that is now fixed with M2
1 parent b07ebc2 commit 588d530

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

azure-local/manage/disconnected-operations-deploy.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -615,11 +615,11 @@ To initialize each node, follow these steps. Modify where necessary to match you
615615
```powershell
616616
Write-Host "az login to Disconnected operations cloud"
617617
az cloud set -n $applianceCloudName --only-show-errors
618-
Write-host "There's a known issue in this preview release where using the service principal doesn't work"
619-
# Following is commented out due to this issue
620-
# az login --service-principal --username $appId --password $clientSecret --tenant 98b8267d-e97f-426e-8b3f-7956511fd63f
621-
Write-Host "Using device code login - complete the login from your browser: "
622-
az login --use-device-code
618+
Write-Host "Login using service principal"
619+
az login --service-principal --username $appId --password $clientSecret --tenant 98b8267d-e97f-426e-8b3f-7956511fd63f
620+
# If you prefer interactive login..
621+
# Write-Host "Using device code login - complete the login from your browser: "
622+
# az login --use-device-code
623623
624624
Write-Host "Connected to Disconnected operations Cloud through az cli"
625625
```

azure-local/manage/disconnected-operations-known-issues.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ $managedIds|foreach-object {
7474
Write-Verbose "Wait 30 min before running cloud deployment from portal"
7575
```
7676

77-
### Arc-initialization (node) fails with error code 42
78-
79-
When attempting to initialize an Arc-enabled node, you may encounter error code 42.
80-
81-
**Cause**: Signing in with a service principal name (SPN) causes arc initialization to fail.
82-
83-
**Mitigation**: Until the underlying issue is fixed, sign in to each Azure Local node by running `az login –use-device-code` instead of using an SPN.
84-
8577
### Azure Local VMs (Arc VMs)
8678

8779
#### Azure Resource Graph add or edit tags error

0 commit comments

Comments
 (0)