powershell - Can't get Move-AzureResource working -


i'm trying move of resources (azure web apps, azure sqls, redis caches) 1 resource group another. i'm using azure resource manager powershell cmdlets.

here's i've tried:

ps c:\> move-azureresource -destinationresourcegroupname newresourcegroup -resourceid "/subscriptions/someguid/resourcegroups/default-web-westeurope/providers/microsoft.web/sites/somesite" 

or:

ps c:\> get-azureresource -resourcename somesite | move-azureresource -destinationresourcegroupname newresourcegroup 

or: move-azureresource, hitting enter , supplying parameters 1 one.

none of commands seems work. don't anything. no error, no output. when changed debug preference $debugpreference = "continue" got following:

debug: 12:16:06 - moveazureresourcecommand begin processing parameterset '__allparametersets'. debug: 12:16:06 - using account id 'my@account.tld'... 

please note i'm able create new resource group (new-azureresourcegroup), list resource groups (get-azureresourcegroup), list resources (get-azureresource), etc.

note: have call switch-azuremode azureresourcemanager before can use cmdlets. authentication done add-azureaccount.

articles i've been referring to:

reading azure forum looks have implemented cmdlet not resources support being moved yet.

we have released new powershell cmdlet move resources across resource groups. not resources have support yet, "main" ones hosted services, virtual machines & storage accounts.

looking @ example following, use vm's. based on think websites aren't supported yet. fact no error or warning returned unsupported resources bit poor.


Comments