How to setup connection for Azure CI/CD Pipeline

Nisha30
Kilo Sage

Hello Experts,

 

We are using "Azure Devops" - to trigger CI/CD Pipeline for automated jobs done.

 

Question is :

What credential do we use here ?

Where is that to be created ? 

 

We have used SGC- Azure  and we created initially OAuth2.0 authentication.

 

But i am not clear for triggering Pipelines, what Type of Authentication is needed?? and where do i need to create them ? Is it 

Credentials --> Azure Service Principal  ...I am not sure.

 

Please guide.

 

Thanks

 

1 ACCEPTED SOLUTION

Hi  

The first step is to create a Connection & Credential Alias and configure the required credentials. Once that is completed, provide the target endpoint URL and associate the appropriate credentials to establish connectivity with the third-party system.

 

https://www.servicenow.com/community/queensland-snug/understanding-connection-amp-credential-alias/b...

https://www.servicenow.com/docs/r/platform-security/connections-and-credentials/connection-alias.htm...

https://www.servicenow.com/community/queensland-snug/understanding-connection-amp-credential-alias-p...

 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

7 REPLIES 7

Dr Atul G- LNG
Tera Patron

https://www.servicenow.com/docs/r/it-operations-management/cloud-services-catalog/integrating-azure-...

 

https://www.servicenow.com/docs/r/xanadu/it-operations-management/cloud-services-catalog/integrating...

 

https://marketplace.visualstudio.com/items?itemName=ServiceNow.vss-services-servicenow-cicd

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG  Thanks for document  but i am confused they seem to be setup mostly on Azure end . Might be i am wrong.

It is not clear do we need to create credentials in ServiceNow for connecting ?

 

Thanks

You are right its more in Azure side only.  

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG 

So do we at all need to have credentials at ServiceNow end ??? Without it how the URL test connection to pipeline works?

 

the Connection needs either basic/OAuth  as per this interface and CredentialAlias (which in turn needs credential)

Nisha30_0-1781252573679.png

 

Thanks