Terraform init fails to detect providers after install (Azure Pipelines)

I am struggling to find a solution for this one… Terraform init as a step in Azure Pipelines. Has anyone experienced the same issue?

Terraform 0.13.4
azurerm provider 2.32.0

The task output:

Initializing the backend…

Initializing provider plugins…

  • Finding hashicorp/azurerm versions matching “>= 2.30.0”…
  • Finding hashicorp/random versions matching “>= 3.0.0”…
  • Installing hashicorp/azurerm v2.32.0…
  • Installing hashicorp/random v3.0.0…

Error: Failed to install provider

Error while installing hashicorp/azurerm v2.32.0: after installing
registry.terraform.io/hashicorp/azurerm it is still not detected in the target
directory; this is a bug in Terraform

Error: Failed to install provider
Error while installing hashicorp/random v3.0.0: after installing
registry.terraform.io/hashicorp/random it is still not detected in the target
directory; this is a bug in Terraform