https://pulumi.com logo
Title
a

average-portugal-80684

02/07/2020, 3:18 PM
Just getting started with this stuff: I'm using typescript. I've figured out how to authenticate to Azure using a ServicePrincipal that I created myself. Now I'd like to automate the creation of a ServicePrincipal and give it the built in "Contributor" role on a Subscription. I can create the Application, ServicePrincipal and set the password - but how do I assign it the Contributor role on a Subscription?
t

tall-librarian-49374

02/07/2020, 4:15 PM
a

average-portugal-80684

02/08/2020, 12:44 PM
Fantastic, thanks.