I am uploading my nodejs project in azure for that I used a yml file but on deploy it gives error no subscription id found for this app id and please use az login to auth.
here is my yml file :
az login --service-principal --username ef742fcb-f880-4958-98f5-260b8ba0f1 --password DQ.8Q~NCDdjosREDAFDEDwVNAA3NK.4uQxFczd --tenant 6c0e7d7d-d39e-480e-82fa-181c948e37
ERROR: No subscriptions found for ef742fcb-f880-4958-98f5-260b8ba0f1.
ERROR: Please run 'az login' to setup account.
ERROR: Please run 'az login' to setup account.
@ANKIT MANGLA hi. This error means you provided wrong credentials to authenticate to azure cloud.
Check these variables:
Also maybe you have to set an AZURE_SUBSCRIPTION if you use it?
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ankit Mangla Try to authorize with your credentials from your local computer to exclude problems with azure login.
Also in the output you could see the generated command:
az login --service-principal --username ef742fcb-f880-4958-98f5-260b8ba0f1 --password DQ.8Q~NCDdjosREDAFDEDwVNAA3NK.4uQxFczd --tenant 6c0e7d7d-d39e-480e-82fa-181c948e37
Also keep in mind that you exposed your credentials. I suggest you to change password.
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.