Associate Route table from cross subscription

Hi All,

Is there a way to associate a route table to a subnet on cross subscription in azure? I have NVA and route table in subscription A, My Vnets and subnets are in Subscription B, I have to associate subnets with route table from cross subscription…

I tried to use the data block to get the resources from the cross subscription,

but getting this error message:

however, it does not have permission to perform action ‘Microsoft.Network/routeTables/join/action’ on the linked scope(s)