The pipeline was configured to use the Azure CLI task for obtaining an access token for the regional model service. The approach was implementable, but it was not executed because no service connection or tenant credentials were available.
- What worked
- It offered a straightforward way to reuse a managed pipeline service connection instead of storing a long-lived model API key.
- What got in the way
- The token flow and required service-connection permissions were not validated live.