Last active
October 24, 2019 06:10
-
-
Save dzeyelid/5a6b3d289e48fe200ecd790c536cf47b to your computer and use it in GitHub Desktop.
Example of an authentication error when login to Azure with using `sls deploy`. See https://link.medium.com/eEGXRL1v20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sls deploy | |
Serverless: Removing .serverless directory | |
Serverless: Parsing Azure Functions Bindings.json... | |
Serverless: Building binding for function: hello event: httpTrigger | |
Serverless: Parsing Azure Functions Bindings.json... | |
Serverless: Building binding for function: goodbye event: httpTrigger | |
Serverless: Packaging service... | |
Serverless: Excluding development dependencies... | |
Serverless: Logging into Azure | |
Serverless: Error logging into azure | |
Error -------------------------------------------------- | |
Error: Authentication returned an empty list of subscriptions. Try another form of authentication. See the serverless-azure-functions README for more help | |
at AzureLoginPlugin.<anonymous> (serverless-azure-functions/lib/plugins/login/azureLoginPlugin.js:106:35) | |
at step (serverless-azure-functions/lib/plugins/login/azureLoginPlugin.js:45:23) | |
at Object.next (serverless-azure-functions/lib/plugins/login/azureLoginPlugin.js:26:53) | |
at fulfilled (serverless-azure-functions/lib/plugins/login/azureLoginPlugin.js:17:58) | |
at process._tickCallback (internal/process/next_tick.js:68:7) | |
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable. | |
Get Support -------------------------------------------- | |
Docs: docs.serverless.com | |
Bugs: github.com/serverless/serverless/issues | |
Issues: forum.serverless.com | |
Your Environment Information --------------------------- | |
Operating System: linux | |
Node Version: 10.16.3 | |
Framework Version: 1.55.1 | |
Plugin Version: 3.2.0 | |
SDK Version: 2.1.2 | |
Components Core Version: 1.1.2 | |
Components CLI Version: 1.4.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment