ode) {
                    commands["DeviceCode"] = [`$tokens = Invoke-DeviceCodeFlow -ClientID '${app.client_id}'`];
                }

                // Refresh to FOCI
                if (String(app.foci).trim().toLowerCase() === "true") {
                    commands["Refresh from another FOCI"] = [`$tokens = Invoke-Refresh -RefreshToken $tokens.refresh_token -ClientID '${app.client_id}'`];
                }
                
                // Generate BrkRefresh command (static except for ClientID)
  