Duplicate plugin error

Block previously seen at windowsfresh.pkr.hcl:3,13-6,6 is already named “azure”.
Names at the left hand side of required_plugins are made available to use in
your HCL2 configurations.
To allow to calling to their features correctly two plugins have to have
different accessors.

Here is the 2 files I am using, Please suggest

packer {
  required_plugins {
    azure = {
      version = ">= 1.0.0"
      source  = "github.com/hashicorp/azure"
    }
  }
}

source "azure-arm" "example" {
  # Using Azure CLI for authentication
  use_azure_cli_auth = true
  location           = "eastus2"
  os_type            = "windows"


  shared_image_gallery {
    resource_group = "cg"
    gallery_name   = "gallery1"
    image_name     = "webserver"
    image_version  = "1.0.0"
    subscription   = "93048f2d-2d0f-44cc-b12c-4df25a3c5ff5"
  }

  shared_image_gallery_destination {
    resource_group       = "cg"
    gallery_name         = "gallery1"
    image_name           = "webserver"
    image_version        = "1.0.1"
    replication_regions  = ["eastus"]
    storage_account_type = "Standard_LRS"
  }
}
build {
  sources = [
    "source.azure-arm.example"
  ]


  provisioner "powershell" {
    inline = [
      "Remove-WindowsFeature Web-Server",
      "while ((Get-Service RdAgent).Status -ne 'Running') { Start-Sleep -s 5 }",
      "while ((Get-Service WindowsAzureGuestAgent).Status -ne 'Running') { Start-Sleep -s 5 }",
      "& $env:SystemRoot\\System32\\Sysprep\\Sysprep.exe /oobe /generalize /quiet /quit",
      "while($true) { $imageState = Get-ItemProperty HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\State | Select ImageState; if($imageState.ImageState -ne 'IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE') { Write-Output $imageState.ImageState; Start-Sleep -s 10  } else { break } }"
    ]
  }



}

2nd file:

packer {
  required_plugins {
    azure = {
      version = ">= 1.0.0"
      source  = "github.com/hashicorp/azure"
    }
  }
}

source "azure-arm" "example" {
  # Using Azure CLI for authentication
  use_azure_cli_auth = true
  location           = "eastus2"

  image_publisher = "MicrosoftWindowsServer"
  os_type         = "windows"
  image_offer     = "WindowsServer"

  image_sku = "2016-Datacenter"

  shared_image_gallery_destination {
    resource_group       = "cg"
    gallery_name         = "gallery1"
    image_name           = "webserver"
    image_version        = "1.0.1"
    replication_regions  = ["eastus2"]
    storage_account_type = "Standard_LRS"
  }
}


build {
  sources = [
    "source.azure-arm.example"
  ]



  provisioner "powershell" {
    inline = [
      "Remove-WindowsFeature Web-Server",
      "while ((Get-Service RdAgent).Status -ne 'Running') { Start-Sleep -s 5 }",
      "while ((Get-Service WindowsAzureGuestAgent).Status -ne 'Running') { Start-Sleep -s 5 }",
      "& $env:SystemRoot\\System32\\Sysprep\\Sysprep.exe /oobe /generalize /quiet /quit",
      "while($true) { $imageState = Get-ItemProperty HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\State | Select ImageState; if($imageState.ImageState -ne 'IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE') { Write-Output $imageState.ImageState; Start-Sleep -s 10  } else { break } }"
    ]
  }
}

Error: