Reference the client ID of a Service Principal as a variable

is there anyway to reference the properties of the service principal in variables?
I know i can use it in a process by referencing serviceprincipalaccountname but i could do with passing the cientID to a step. does the concept of serviceprincipalaccountname#{clientID} work here?

Hi Matthew,

Thanks for reaching out. I’m afraid I’m not quite getting what you want to achieve here. Would you mind sharing some screenshots of what you want to do exactly?