https://pulumi.com logo
#dotnet
Title
# dotnet
l

late-lizard-19909

09/22/2022, 6:10 PM
I have an issue with creating a service principal in azure. I think what is happening is that my principal is not created quickly enough in azure ad to be used in the rest of my stack. I found a solution here where they add a timeout, but its typescript and I'm not advanced enough in C# to figure out how to do the equivalent. https://github.com/pulumi/pulumi-azure/issues/103#issuecomment-490600543
i

icy-doctor-13719

09/22/2022, 7:03 PM
What type of resource are you planning to use the service principal with? Is this Azure AD service principal object or Managed Identity (User or System)?
l

late-lizard-19909

09/22/2022, 7:21 PM
Azure AD service principal
Basically what happens is I get this message error: Code="ServicePrincipalNotFound" Message="Service principal clientID: xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx, If i wait about 2 minutes and run pulumi up again it works
2 Views