I am trying to deploy my web app on azure but no available subscription is appearing where I have already subscribed in my azure account .
Check the subscriptions available on your Azure account
In the Eclipse >Tools>Azure>Sign-in
You can sign-in with device login or using Service Principal.
Here I have signed with device login - After clicking on device login you have to copy the code from Eclipse and paste the code in browser and then the final step is Logging into Azure using username password or Current user if already signed-in.
Refer here for more information on signing to Azure account using Eclipse.
Related
I want to deploy a private GitHub repository with Cloud Run on Google Cloud Plattform.
In GitHub, I properly installed Google Cloud Build Application by clicking "Authenticate" in Cloud Run.
But somehow, Google tells me "Currently not authenticated" even though I clicked it another time.
In Cloud Build I checked and it tells me "Google Cloud Platform was not authorised to list repositories".
What am I doing wrong?
For other persons, I my case, I use mutiples account of google, and my account of GCP is a seccond, when i auth in github, the callback redirect to first account. For resolve, I log-out all account and log-in only in my gcp account.
:)
I'm developing an azure function in VS Code. I have the Azure Functions extension installed.
I have created the function and its running locally just fine.
But when I sign in to azure using the extension it does not see any of my Azure subscriptions. Therefore I can't select a subscription and deploy the function.
Has anyone else encountered this and found a workaround?
I had the same problem and I was able to sign in by clearing the azure tenant id in the azure extension settings for VS Code
You can try to the following ways to troubleshoot.
1.Go to azure portal and login your account to check if the account has active subscription listed.
2.In VS code, try to sign out and sign in again.
3.Use the below script with azure cli to login your account
az login --debug
4.If you have set MFA for your account, re-open the browser and re-login to the portal, which triggered the wizard for me to configure all needed for MFA authentication. After that, az login works again.
Move your mouse to there, you will see a filter icon.
Click it, then you will find all subscriptions.
I am having issues deploying an update to a current app which was last deployed in July 2019.
It asked me to enable Cloud Build.
I had to first enable billing account for the app. I did this. I then enabled the cloud build API.
I now get a permission denied error when I run gcloud app deploy. The docs say to check the service account permissions, but when I load that page it says I need to enable the Cloud Build API. I click on the link and it shows me that the API is enabled. I click manage, go settings, and it says "The Cloud Build API needs to be enabled before changing the permissions of the service account."
Usually enabling an API takes few minutes before you can use it. Can you try again deploying your app?
Additionally, you don't need to add any new permission to your cloud build service account unless you are using cloud build in some kind of CI/CD pipeline. in That case you need to add some few more permissions to this service account.
You can always check which APIs are enabled using gcloud command line.
I'd suggest try to disable and re-enable the API, wait for a few mins and try again.
UPDATE:
The issue described might be a result of a known issue.
I suggest you star this Public Issue to stay updated.
I'm trying to set up a new instance of Aggregator CLI as an Azure function app. I've created the app on Azure and think I've installed Aggregator CLI, but don't know how to save my Azure DevOps (formerly VSTS) Personal Access Token (PAT) to Aggregator in order for the app to authenticate against DevOps. To be clear, I am not trying to install the server plugin (which requires an on-prem instance of TFS) nor am I trying to configure the webhooks version (which has been deprecated).
What I've done so far
Created a new resource group on Azure
Created a function app on Azure with storage account and application insights
Created an Azure service principle
Assigned permissions to the Azure service principle
Downloaded FunctionRuntime.zip v0.9.8 from https://github.com/tfsaggregator/aggregator-cli/releases
Deployed the code to the function app
Created a PAT in Azure DevOps
Expected behaviour
I expect to be able to save the PAT to the Aggregator_VstsToken application setting on the function app, so that the app can authenticate against VSTS. Setup.md doesn't describe how to do this. I expect to see the application settings shown in this screenshot on the app.
Actual behaviour
There isn't an application setting called Aggregator_VstsToken on the function app. There aren't any other Aggregator-specific settings either.
Environment
Azure DevOps (VSTS) cloud
Azure Function App
I am following instructions to link my account to TFS: https://learn.microsoft.com/en-us/bot-framework/azure/azure-bot-service-continuous-integration
It says to go to Team Services accounts, then to choose the account, and click on "Link" but that button is disabled for me. I tried a different account (different credentials, etc.) and I always see the Link button disabled.
Is it a permission issue? What can I do about it?
Image of disabled Link button
If you are not the team services owner, you won't have permission to link azure subscription.
For more possible reasons you can refer:
Q: Why can't I link my Team Services account?
A: This might happen
because:
You're not the Team Services account owner.
You're not at least Co-administrator on the Azure subscription that
you want to link.
If you don't see any Team Services accounts, your account might
already linked to another Azure subscription.
If your Team Services account uses Azure Active Directory (Azure AD)
to authenticate users, you might have a different directory selected
in the Azure portal than the directory that's connected to your Team
Services account.
To select the directory that your Team Services account uses, open the
Azure portal's Subscriptions list:
More details in https://www.visualstudio.com/en-us/docs/setup-admin/team-services/set-up-billing-for-your-account-vs#qa.