You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am intermittently seeing this error when deploying a resource of type Microsoft.DBforPostgreSQL/flexibleServers/administrators via ARM template.
StatusCode: Conflict, Status: Failed, ErrorCode: AadAuthOperationCannotBePerformedWhenServerIsNotAccessible, ErrorMessage: The server '{server name}' is not in an accessible state to perform Azure AD Principal operation. Please make sure the server is accessible before executing Azure AD Principal operations.
I first deploy a postgres server (Microsoft.DBforPostgreSQL/flexibleServers) and explicitly depend on this server for the deployment of the Microsoft.DBforPostgreSQL/flexibleServers/administrators resource.
This situation complicates having stable, reliable deployments as sometimes the dependsOn condition is satisfied when apparently the postgres server is not ready for an Azure AD operation. I think this is a bug, the dependsOn condition for the postgres server should not be fulfilled until the server is ready for an Azure AD operation.
example arm operation id: A6CE82DD8683DCEF, sadly don't have the correlation id available
The text was updated successfully, but these errors were encountered:
aj9411
changed the title
Getting AadAuthOperationCannotBePerformedWhenServerIsNotAccessible on ARM template with dependsOn
Getting AadAuthOperationCannotBePerformedWhenServerIsNotAccessible on ARM template when deploying server admin with dependsOn for server
Jan 2, 2025
Hello, I am intermittently seeing this error when deploying a resource of type
Microsoft.DBforPostgreSQL/flexibleServers/administrators
via ARM template.StatusCode: Conflict, Status: Failed, ErrorCode: AadAuthOperationCannotBePerformedWhenServerIsNotAccessible, ErrorMessage: The server '{server name}' is not in an accessible state to perform Azure AD Principal operation. Please make sure the server is accessible before executing Azure AD Principal operations.
I first deploy a postgres server (
Microsoft.DBforPostgreSQL/flexibleServers
) and explicitly depend on this server for the deployment of theMicrosoft.DBforPostgreSQL/flexibleServers/administrators
resource.This situation complicates having stable, reliable deployments as sometimes the
dependsOn
condition is satisfied when apparently the postgres server is not ready for an Azure AD operation. I think this is a bug, thedependsOn
condition for the postgres server should not be fulfilled until the server is ready for an Azure AD operation.example arm operation id: A6CE82DD8683DCEF, sadly don't have the correlation id available
The text was updated successfully, but these errors were encountered: