code change · fixPlatform, DevOps & Performanceofficial - Microsoftreviewed - checked by Opus

#2380 Fix device login initialization with a shared authentication action

A shared authentication action now handles device login initialization for AL-Go workflows, ensuring credentials are validated and helpers are available before sign-in instructions are displayed.

Pull request · merged into main on 2026-09-29 by aholstrup1 · 11 files (+474 -95), 7 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • New Authenticate action centralizes credential checks and device-login setup across workflows
  • Credentials passed through environment variables instead of PowerShell source interpolation
  • Existing credential precedence and admin secret name configuration preserved
  • Missing credentials and invalid responses now fail explicitly with detailed messages
  • Applied to CreateOnlineDevelopmentEnvironment and PublishToEnvironment workflows in both app templates
  • Behaviour changes for users or extensions.

AL objects touched

  • Actions/Authenticate/Authenticate.ps1: added, not in the BC? snapshot yet
  • Actions/Authenticate/README.md: added, not in the BC? snapshot yet
  • Actions/Authenticate/action.yaml: added, not in the BC? snapshot yet
  • Templates/AppSource App/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml: modified, not in the BC? snapshot
  • Templates/AppSource App/.github/workflows/PublishToEnvironment.yaml: modified, not in the BC? snapshot
  • Templates/Per Tenant Extension/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml: modified, not in the BC? snapshot
  • Templates/Per Tenant Extension/.github/workflows/PublishToEnvironment.yaml: modified, not in the BC? snapshot

Context

Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).