Hi Devesh, your problem seems to have already existed in a similar form in the community.
Please check whether 3rd party connections are allowed in the security settings in the organization settings.
This is required to allow other apps such as Custom Deyploments to communicate with Devops.
If you need further screenshots or info, please check out the following answered thread:
If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you!