We recently changed our existing Azure subscription to Azure Germany and got a new account like name#company.onmicrosoft.de. Afaik this kind of domain is also used for Ofice365 accounts. Now i tried to add this account to my Visual Studio (2015 Community Edition), but i get this error (translated from german):
The account "" could not be added. Object reference not set to an object instance.
On the classic US Azure subscription we worked with our regular domain-Logins (name#company.de). Does anybody know how to connect to my new azure subscription, so that i can browse and debug? Thanks in advance!
Answer
As far as I know, it is not possible to add Azure Germany accounts to Visual Studio. But there are some workarounds for common tasks you do with Visual Studio.
According to Microsoft Technical Evangelist Malte Lantin, there seems to be something hardcoded in Visual Studio, that prevents VS from connecting to Azure Germany.
Workarounds
Deploy a solution
Download the publishing profile in Azure Portal and use it to deploy your solution
View SQL Databases
Navigate to the Azure Portal and click, view in Visual Studio
Related
I want to publish an Azure Function Project using the Visual Studio 2022 publish option, but the Create button is always disabled without any visible reason for it:
How can I further research on this, get any error message or so?
Multiple times, Even I too faced the similar issue and haven’t found any permanent solution to it where I’m having the latest Version of Azure Functions Core Tools (4.0.4915), VS 2022 17.4.4 Version, .NET 6 SDK & Runtime installed.
I found the Similar SO issue where many users faced this issue #67813149.
I also found one of the causes of above issue - i.e., If we do not have access to the Azure Subscription, then I observed this Create button is greyed or disabled in the Visual Studio Azure Functions Project > Publish > Create New Function App Window.
Also, Please check you have right RBAC Access to manage the resources in the Subscription such as Contributor role for the Azure Function App Management. Visit this MS Q&A #669276 for more information.
After Sign-out and Sign-in in Visual Studio, System Restart, I got this fixed and working good as of now, but this should not be the fix. If you are facing this issue frequently, mail to azcommunity#microsoft.com.
How to fix this bug?
Open Cloud Explorer (logged in)
Open "Files" folder for some Azure Web App (former Azure Website)
Result:
Cloud Explorer has encountered an unexpected error: Unable to retrieve
child resources.
Details: 'Newtonsoft.Json.Linq.JObject' does not contain a definition
for 'requestNamespace'
I'm using:
Microsoft Visual Studio Community 2015 Version 14.0.25431.01 Update 3
Azure App Service Tools v2.9.6 14.0.21111.0
Common Azure Tools 1.8
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.41104.6
I had this problem and it was a permissions issue, mine was with a Cosmos Document DB database node.
I had my DevOps guy add me as a contributor to the IAM Azure role and it started working for me. So check all the permissions, and it is the cloud so sometimes you have to give it time to propagate the changes too.
I had this issue when both Azure Storage Emulator and Azure Storage Explorer trying to run at the same time. Try uninstall one or run only one at a time to solve the issue.
Have a look at troubleshooting guide might also help.
I've recently built an ASP.NET website using C#.
Using the publishing wizard within Visual Studio 2013 I see that I can publish to "Microsoft Azure Websites", and I have done so. It worked great.
However, logging into the Azure account I'm not able to locate this website anywhere so that I may manage it directly, and see what the burn rate (costs) are.
Where are these "Microsoft Azure Websites" stored once they are published, within Azure?
Many thanks in advance.
Bob
Under Web Apps in the old portal and under App Services in the new one.
I try to setup my deployment source in azure portal for a given web app.
When i navigate to Web App > Deployment Source > Choose Source > Visual Studio Team Services i am not able to choose my Visual Studio Team Services account.
after selecting Visual Studio Team Services a cannot choose any project. Believe me, there are projects...
There are two things that you need to make sure of for this to work:
your VSTS account needs to be backed by AAD
you need to link it in the Azure portal
For more detail on exactly what this means, see this wiki page.
I have my website up and running on local server I want to published it to azure. I searched a lot but unable to do so however succeeded in publishing without database.Can any one provide a step by step guide how to published to azure and what tools to download from azure management portal.
Thanks.
Try this http://www.asp.net/mvc/overview/getting-started/database-first-development/publish-to-azure and let us know if you need more help. You will just need Visual Studio 2013.
You can't use localdb with Azure Websites.
That said, you can use localdb for development, but change the connection string on deployment to use some other database, such as SQL Azure (see http://azure.microsoft.com/blog/2013/07/17/windows-azure-web-sites-how-application-strings-and-connection-strings-work/)