B2B Integration

 View Only

 Multiple CA certs for Login.microsoftonline.com

Vivek Mittal's profile image
Vivek Mittal posted Mon June 16, 2025 12:08 AM

Hi,

I am trying to use a REST API hosted on Azure and protected using OAuth2 client credentials.  So, the first step was to use the HTTP Client POST service to hit https://login.microsoftonline.com/<tenant>/oauth/v2.0/token and pass in the client id, secret etc so that I can retrieve the access token.  

However, as I read in the B2B Mail Adapter thread; that endpoint surfaces different CA chains. I have downloaded the CA certs for both Digicert and the MS Azure RSA TLA issuing cert; but how do I specify both in the CACertificateId field in the POST service.

One way would be to try one and if it fails, try the other; but is there a nicer solution.

Best Regards,

Vivek Mittal

Manuel Frank's profile image
Manuel Frank

Hi Vivek,

you can use a profile in the http begin service instead. Then you can define more than one CA certificate.

Best regards

Manuel