Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

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

Open
tdwright opened this issue Jul 19, 2022 · 0 comments

Comments

@tdwright
Copy link

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.

Navigate to the source code where your Azure Function is and run `func azure account list`. This will ask you to login and you should ensure we are in the proper subscription where your Azure Function exist. You'll see something like the following:

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant