microsoft / AzureTipsAndTricks

Learn some of our favorite Azure tips and tricks—some long-standing, and new ones that have recently been added to become more productive with Azure. Star the repo now to shave hours off your coding tasks tomorrow.
http://azuredev.tips
Creative Commons Attribution 4.0 International
1.49k stars 489 forks source link

Tip 136 - Azure Functions Core Tools no longer supports listing accounts (use Az CLI instead) #163

Open tdwright opened 2 years ago

tdwright commented 2 years ago

This tip is really helpful. I've discovered it independently on several occasions over the last few years.

One aspect is out of date. I'm not sure how actively these are being maintained, but here's a report just in case. 😉

The tip says to use func azure account list to prompt a login and verify that the tool will use the right subscription.

https://github.com/microsoft/AzureTipsAndTricks/blob/5beaac0c3d5c627869bf6730aaa15d83abf89273/blog/tip136.md?plain=1#L51

Unfortunately, that command is now deprecated, with the functionality having been shifted over to the Az CLI tool:

This command has been removed. Please use az-cli (https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) or Azure Powershell (https://docs.microsoft.com/en-us/powershell/azure/overview) for management commands.