Open
Description
I have a dotnet project containing an Azure AD B2C Tenant.
I can successfully deploy the stack with pulumi up
from my machine logged in to Azure as my personal user.
When trying to deploy the stack from Azure Devops using the Pulumi@1
task it fails with Unauthenticated
error code:
Diagnostics:
2022-08-22T14:03:57.4210655Z pulumi:pulumi:Stack (MyB2CStack-dev):
2022-08-22T14:03:57.4213464Z error: update failed
2022-08-22T14:03:57.4213774Z
2022-08-22T14:03:57.4215416Z azure-native:azureactivedirectory:B2CTenant ([mycompanyb2cdev].onmicrosoft.com):
2022-08-22T14:03:57.4216032Z error: Code="Unauthenticated" Message="Unauthenticated" Target="Authentication"
The service principal used as the azureSubscription
is assigned the owner
role in the subscription I am deploying to. I am able to deploy a resource group using the same stack and service principal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment