I'm in need of implementing two level approval checks in uat deployment. Once the first level approval is completed it should go to the second level of approval.
Asked
Active
Viewed 574 times
-1
-
Is there any update about this ticket? Feel free to let me know if the suggestions could give you some help. Just a remind of [this](https://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work) – Kevin Lu-MSFT Aug 18 '21 at 09:24
2 Answers
1
You could try to use the Manual Validation task in Agentless job.
Here is an example:
You could add two tasks in Agentless job, they can be treated as a two-level approval to work.
Note: You need to add the Agentless job before deployment job.

Kevin Lu-MSFT
- 20,786
- 3
- 19
- 28
0
You could try to use the Define approvals and checks with enviroment in your pipeline.
Here is an example:
- stage: Level_1
condition: succeeded()
jobs:
- deployment: Approval
environment: Level_1
strategy:
runOnce:
deploy:
steps:
- script: echo "Approved Level_1"
- stage: Level_2
dependsOn: Level_1
condition: succeeded()
jobs:
- deployment: Approval
environment: Level_2
strategy:
runOnce:
deploy:
steps:
- script: echo "Approved Level_2"
You need to add the two stage for example stage level 1 and stage lavel 2 with your group approvals.

Roberto Ramos
- 553
- 6
- 16