profileSyncFieldOptions(); $syncProfileFieldsRaw = $values['sync_profile_fields_list'] ?? ($values['sync_profile_fields'] ?? []); $syncProfileFields = $tenantSsoService->normalizeProfileSyncFields($syncProfileFieldsRaw); $tenantId = (int) ($values['id'] ?? 0); $ssoUiState = is_array($ssoUiState ?? null) ? $ssoUiState : $tenantSsoService->buildMicrosoftUiState($tenantId, $values); $ssoConfigComplete = !empty($ssoUiState['config_complete']); $ssoConfigErrorLabel = trim((string) ($ssoUiState['config_error_label'] ?? '')); $ssoPasswordMode = (string) ($ssoUiState['password_mode'] ?? ($microsoftEnforce ? 'microsoft_only' : 'local_and_microsoft')); $ssoCredentialSource = (string) ($ssoUiState['credential_source'] ?? ($useSharedApp ? 'shared' : 'override')); $ssoSyncNeedsGraph = !empty($ssoUiState['sync_needs_graph']); ?>

>

>


+







$syncFieldLabel): ?>


t('Active'), 'inactive' => t('Inactive'), ]; $statusFieldHint = t('Inactive tenants are excluded from user access and tenant-scoped data.'); require templatePath('partials/app-visibility-status-field.phtml'); ?>