Fix TypeScript compilation errors in frontend components
- Remove unused variables in ApplicationInfo, ArchitectureDebugPage - Fix type errors in Dashboard, GovernanceAnalysis, GovernanceModelHelper (PageHeader description prop) - Add null checks and explicit types in DataValidationDashboard - Fix ObjectDetailModal type errors for _jiraCreatedAt and Date constructor - Remove unused imports and variables in SchemaConfigurationSettings - Update PageHeader to accept string | ReactNode for description prop
This commit is contained in:
@@ -1,5 +1,60 @@
|
||||
# Azure DevOps Service Connection - Troubleshooting
|
||||
|
||||
## 🔴 Probleem: "Could not fetch access token for Managed Service Principal" (MSI Error)
|
||||
|
||||
**Error Message:**
|
||||
```
|
||||
Could not fetch access token for Managed Service Principal.
|
||||
Please configure Managed Service Identity (MSI) for virtual machine
|
||||
```
|
||||
|
||||
**Oorzaak:**
|
||||
De service connection is geconfigureerd om Managed Service Identity (MSI) te gebruiken, maar dit werkt **niet** met Azure DevOps Services (cloud). MSI werkt alleen met Azure DevOps Server (on-premises) met Managed Identity geconfigureerd.
|
||||
|
||||
**✅ Oplossing: Herconfigureer Service Connection met Service Principal**
|
||||
|
||||
### Stap 1: Verwijder Bestaande Service Connection
|
||||
|
||||
1. Ga naar **Azure DevOps** → **Project Settings** → **Service connections**
|
||||
2. Zoek de service connection: `zuyderland-cmdb-acr-connection`
|
||||
3. Klik op **...** (three dots) → **Delete**
|
||||
4. Bevestig verwijdering
|
||||
|
||||
### Stap 2: Maak Nieuwe Service Connection met Service Principal
|
||||
|
||||
1. **Project Settings** → **Service connections** → **New service connection**
|
||||
2. Kies **"Docker Registry"**
|
||||
3. Kies **"Azure Container Registry"**
|
||||
4. **Belangrijk**: Selecteer **"Service Principal"** als Authentication type (NIET Managed Identity!)
|
||||
5. Vul in:
|
||||
- **Azure subscription**: Selecteer je subscription
|
||||
- **Azure container registry**: Selecteer je ACR (`zdlasacr`)
|
||||
- **Service connection name**: `zuyderland-cmdb-acr-connection`
|
||||
6. Klik **"Save"** (of **"Verify and save"**)
|
||||
|
||||
**✅ Dit zou nu moeten werken!**
|
||||
|
||||
### Alternatief: Gebruik "Others" Optie met Admin Credentials
|
||||
|
||||
Als de Azure Container Registry optie nog steeds problemen geeft:
|
||||
|
||||
1. **Kies "Docker Registry" → "Others"**
|
||||
2. **Vul handmatig in:**
|
||||
- **Docker Registry**: `zdlasacr.azurecr.io`
|
||||
- **Docker ID**: (ACR admin username)
|
||||
- **Docker Password**: (ACR admin password)
|
||||
|
||||
3. **Haal ACR admin credentials op:**
|
||||
```bash
|
||||
az acr credential show --name zdlasacr
|
||||
```
|
||||
Gebruik `username` en `passwords[0].value` uit de output.
|
||||
|
||||
4. **Service connection name**: `zuyderland-cmdb-acr-connection`
|
||||
5. **Save**
|
||||
|
||||
---
|
||||
|
||||
## 🔴 Probleem: "Loading Registries..." blijft hangen
|
||||
|
||||
Als de Azure Container Registry dropdown blijft laden zonder resultaten, probeer deze oplossingen:
|
||||
|
||||
Reference in New Issue
Block a user