Azure Tenant Migration - Steps for using Terraform

Hi,

Terraform is used for creating, managing Azure resources in Azure subscription A in Tenant A. Now, Azure subscription A is migrated to Tenant B. what are the steps to make same terraform code (terraform state) to manage Azure resources in Azure subscription A but now in Tenant B. Can it be possible to still use all Azure resources managed using terraform state file.