title: Authenticate once to both ARM and ASM in Azure PowerShell
body: <p>With Switch-AzureMode now deprecated, is it possible to authenticate <em>once</em> in a script instead of prompting separately with both Add-AzureRmAccount and Add-AzureAccount? This is for a script that uses Service Bus that is not yet available in ARM, so it needs Add-AzureAccount, but all other resources in the script are managed with AzureRm cmdlets.</p>