Jenkins
pipeline {
agent any
stages {
stage('Notify') {
steps {
sh 'teams message send --team "$TEAM_ID" --channel "$CHANNEL_ID" --body "Jenkins build passed" --output json'
}
}
}
}
Run Jenkins under an account that has access to the selected config and token source.