Can you use the Azure AD spoke to connect to multiple domains with different credentials

Community Alums
Not applicable

Hi all 

Has anyone got any advice on how to set up the AD Spoke on flow designer to work with multiple domains each of which requires different credentials? 

I.e.
domain1.com admin@domain1.com
domain2.com admin2@domain2.com
domain3.domain4.com admin3@domain3.domain4.com 

Getting it working on a single domain is easy, but on multiple, I'm stumped! 

 

Thanks
Mike

1 ACCEPTED SOLUTION

Community Alums
Not applicable

FYI for anyone searching this - Hi has responded to me with the solution: 

 

1) Only single alias - AzureAD is shipped

2) Create 2 connections in the alias , with each having own credential and token retrieved

3) Set active=false in the 2 connections (Set_all_connections_false.jpg)

4) Create flows where each connection is active only when the steps related to that connection are executing. PFA the Flow design (Flow_With_Multiple_connections.jpg)

 

Images attached also from Hi

View solution in original post

3 REPLIES 3

Community Alums
Not applicable

FYI for anyone searching this - Hi has responded to me with the solution: 

 

1) Only single alias - AzureAD is shipped

2) Create 2 connections in the alias , with each having own credential and token retrieved

3) Set active=false in the 2 connections (Set_all_connections_false.jpg)

4) Create flows where each connection is active only when the steps related to that connection are executing. PFA the Flow design (Flow_With_Multiple_connections.jpg)

 

Images attached also from Hi

Hello. My team is having a similar issue, but it's with the Microsoft AD spoke, not AzureAD. We have multiple prod AD domains that we need to use in a single flow, but due to the constraints of the connection alias we are only able to connect to a single AD domain for the entire flow. We are trying to determine if there is a way to loop through the connections inside of a connection alias turning them on and off like you did in your example so we are able to hit both of our AD domains in one flow. Thanks!

brian_
Tera Guru

In Paris and beyond there is a native way to support multiple domains. Hopefully this info will help others on this journey.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0862295