Hi ishan saxena ,
Thank you for reaching out us on Microsoft Q&A forum.
You can follow below PowerShell command to disable vTPM on a windows 11 VM when hosted in a Azure environment. You need to modify UEFI properties of a Virtual Machine.
$VM = Get-AzVM -ResourceGroupName "<your resource group name>" -VMName "<your VM name>" Set-AzVMUefi -VM $VM -EnableVtpm $false -EnableSecureBoot $false
You can use the above PowerShell command and modify the input values based on your requirement before executing the command.
You can follow below documentation for more information ;
https://learn.microsoft.com/en-us/powershell/module/az.compute/set-azvmuefi?view=azps-13.1.0
If the information is helpful, please consider by clicking the "Accept Answer" & "Upvote".
If you have any further queries, please let us know we are glad to help you.