I have an issue with creating a service principal ...
# dotnet
l
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
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
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