Dear Sasa Popovic,
I just tried to use Az.Sql PowerShell to execute a cross subscription copy of a SQL MI database, but I have been not successfull:
Depending on whether the context is the Target subscription or the Source subscription, I received different failures:
Context: Target Subscription
Error-Message: Resource group 'Source-RG' could not be found
Context: Source Subscription
Error-Mesage:
Copy-AzSqlInstanceDatabase : Long running operation failed with status 'Failed'. Additional Info:'Database 'copy'
operation failed because there is no network connectivity between source instance 'source-instance' and target instance
'target-instance'.'
The error occurs regardless of Powershell is running on my local computer with azure cli and Az-cmdlets installed, or in a Azure Cloud Shell.
Doing an Cross-subscription database copy via the Azure Web-GUI works fine.
Any idea?
Thanks in Advance,
Michael