Unable to replicate azure VM data disk using terraform

I’m trying to replicate azure windows VM, OS disk is replicating properly but unable to replicate the data disk, getting same error after trying multiple times

error :-

azurerm_site_recovery_replicated_vm.vm-replication: Still creating… [31m11s elapsed]
azurerm_site_recovery_replicated_vm.vm-replication: Still creating… [31m21s elapsed]

│ Error: updating replicated vm vm-replication (vault example-recovery-vault): polling after Update: polling failed: the Azure API returned the following error:

│ Status: “150153”
│ Code: “”
│ Message: “Could not update the properties of the virtual machine ‘example-machine’ because of following invalid disk Ids: ‘/subscriptions/cab0dd75-6443-42cd-887e-ad4a333f38c9/resourceGroups/tfex-vm-primary001/providers/Microsoft.Compute/disks/data’.”
│ Activity Id: “”

│ —

│ API Response:

│ ----[start]----
│ {“error”:{“code”:“150153”,“message”:“Could not update the properties of the virtual machine ‘example-machine’ because of following invalid disk Ids: ‘/subscriptions/cab0dd75-6443-42cd-887e-ad4a333f38c9/resourceGroups/tfex-vm-primary001/providers/Microsoft.Compute/disks/data’.”,“details”:null},“id”:null,“name”:“0c89a2e3-3c94-4893-8d01-e949fe5aae15”,“properties”:null,“status”:“Failed”,“startTime”:“2024-02-02T16:59:24.6212748Z”,“endTime”:“2024-02-02T16:59:25.0000000Z”,“percentComplete”:null}
│ -----[end]-----


│ with azurerm_site_recovery_replicated_vm.vm-replication,
│ on main.tf line 92, in resource “azurerm_site_recovery_replicated_vm” “vm-replication”:
│ 92: resource “azurerm_site_recovery_replicated_vm” “vm-replication” {

my code:

managed_disk {

disk_id = “/subscriptions/cab0dd75-6443-42cd-887e-ad4a333f38c9/resourceGroups/tfex-vm-primary001/providers/Microsoft.Compute/disks/example-machine_OsDisk_1_6523c7a43ccf4a54a629dcf70a8f06e4”

staging_storage_account_id = azurerm_storage_account.primary.id

target_resource_group_id = azurerm_resource_group.secondary.id

target_disk_type = “Premium_LRS”

target_replica_disk_type = “Premium_LRS”

}

managed_disk {

disk_id = “/subscriptions/cab0dd75-6443-42cd-887e-ad4a333f38c9/resourceGroups/tfex-vm-primary001/providers/Microsoft.Compute/disks/data”

staging_storage_account_id = azurerm_storage_account.primary.id

target_resource_group_id = azurerm_resource_group.secondary.id

target_disk_type = “Premium_LRS”

target_replica_disk_type = “Premium_LRS”

}

all the values are correct facing issue with data disk replication only