Azure cloud service publishing wizard failing - azure

For some unknown reason, I now get this error when I try to publish my cloud service. (I'm shown as logged into visual studio, but the wizard seems to not recognise this - and step 1 of the wizard has a link to "re-enter credentials" - which gives this error too)
The service is a simple one: just a single web role.
I have tried everything I can think of, in this order:
Restart Computer
Restore last known working copy of the solution
"Clean" the project
Reset my visual studio (2013) as per this stack overflow answer
Any help / pointers would be very very welcome, I'm stumped - and I'm stuck with a cloud service that I can't publish to!!!
Here is my visual studio info:
Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.50938
Installed Version: Professional
LightSwitch for Visual Studio 2013 06177-004-0447006-02367
Microsoft LightSwitch for Visual Studio 2013
Team Explorer for Visual Studio 2013 06177-004-0447006-02367
Microsoft Team Explorer for Visual Studio 2013
Visual Basic 2013 06177-004-0447006-02367
Microsoft Visual Basic 2013
Visual C# 2013 06177-004-0447006-02367
Microsoft Visual C# 2013
Visual C++ 2013 06177-004-0447006-02367
Microsoft Visual C++ 2013
Visual F# 2013 06177-004-0447006-02367
Microsoft Visual F# 2013
Visual Studio 2013 Code Analysis Spell Checker 06177-004-0447006-02367
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 12.4.60425.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Web Apps
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.21010.0
For additional information, visit http://www.asp.net/
Common Azure Tools 1.4
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Microsoft Azure HDInsight HQL Service 2.0.1000.0
Language service for Hive query
Microsoft Azure HDInsight Tools for Visual Studio 2.0.1000.0
An integrated development environment for HDInsight application development.
Microsoft Azure Mobile Services Tools 1.3
Microsoft Azure Mobile Services Tools
Microsoft Azure Tools 2.6
Microsoft Azure Tools for Microsoft Visual Studio 2013 - v2.6.30423.1601
NuGet Package Manager 2.8.50926.663
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Office Developer Tools for Visual Studio 2013 ENU 12.0.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 12.0.41012.0
Microsoft SQL Server Data Tools
Windows Phone 8.1 SDK Integration 1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.
Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Ok, so by sheer chance (and after much frustration - most of a day wasted), I clicked into the "Manage" dialog for the subscription (the blue item here:)
This had a link for me to sign out, then when I signed back in again all was ok... strange, because the "re-enter your credentials" link on the main dialog didn't resolve thing... oh well - posted here in case some other poor sod has the same problem: hope it saves you some time!

I had faced the same issue in the past. VS 2015 throws this error but VS 2017 doesn't. With the help of fiddler I was able to find out the root cause of it. VS 2015 was trying to authenticate my account against the tenant on which I do not have access any more. Now when I say access, there could be many reasons for it. Like, when I was trying to authenticate with my org account, I saw "User is disabled" error in fiddler logs. So I asked my administrator to enable my account, and since then it is working fine for me.
Similarly, I faced the same issue with my personal account as well. But this time, I could not see any error in fiddler logs. However, through fiddler I got to know which tenant is being used by VS 2015 to authenticate my account. Then I logged into Azure portal and found that i do not have any subsricption assigned to me on that tenant. So i asked the administrator of that tenant to completely remove me from this tenant. Once that happened everything worked fine.
So I believe, the issue is, VS 2015 always try to authenticate your account on which you do not have access anymore and thats why we recieve that error.
Fiddler traces
1) The first http call returns the list of all the tenants associated with your account.
2) Subsequent calls clearly tells you which tenantId is being used to authenticate.
3) And, one of the call will also tell you about actual AD error (if any)
Thats how it helped to fix this issue.

Related

Deploy To Azure Container Apps is Missing from Publish Targets in VS2022

I'm following the deployment tutorial for a simple BackgroundService I created with Docker Support Enabled, but when I get to the Section entitled "Create the Resources", I do not have the proper publish targets available. The tutorial shows many options, including "Azure Container Apps (Preview)", but I do not have that option. I do have all of the prerequisites listed. The targetOS in the project file is linux <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>.
Targets from Tutorial Page
Targets on my local machine
VS Info
Microsoft Visual Studio Professional 2022
Version 17.1.1
VisualStudio.17.Release/17.1.1+32228.430
Microsoft .NET Framework
Version 4.8.04161
Installed Version: Professional
.NET Core Debugging with WSL 1.0
.NET Core Debugging with WSL
ADL Tools Service Provider 1.0
This package contains services used by Data Lake tools
ASA Service Provider 1.0
ASP.NET and Web Tools 2019 17.1.358.51495
ASP.NET and Web Tools 2019
ASP.NET Web Frameworks and Tools 2019 17.1.358.51495
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 17.1.358.51495
Azure App Service Tools v3.0.0
Azure Data Lake Tools for Visual Studio 2.6.5000.0
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 17.1.358.51495
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.6.5000.0
Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools 4.1.0-5.22109.6+0c82c4114a4e4b8b723b915eee3b13261db6717f
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Fabric.DiagnosticEvents 1.0
Fabric Diagnostic Events
Microsoft Azure Hive Query Language Service 2.6.5000.0
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio 17.0
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service 2.6.5000.0
Language service for Azure Stream Analytics
Microsoft Azure Tools for Visual Studio 2.9
Support for Azure Cloud Services projects
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 2.1.161+abc97ecc7d.RR
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio Tools for Containers 1.2
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Node.js Tools 1.5.40105.1 Commit Hash:1822ee94b29c6cf748a19825f14cc26d30b0b871
Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager 6.1.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
Razor (ASP.NET Core) 17.0.0.2206201+62a2c1d6162f828801565a7ca26d9d48b810a05b
Provides languages services for ASP.NET Core Razor.
SQL Server Data Tools 17.0.62201.12090
Microsoft SQL Server Data Tools
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
TypeScript Tools 17.0.1229.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 4.1.0-5.22109.6+0c82c4114a4e4b8b723b915eee3b13261db6717f
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 17.1.0-beta.21610.4+07b5673e4f2fa7630e78abe37f16b372353a7242
Microsoft Visual F# Tools
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Container Tools Extensions 1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio IntelliCode 2.2
AI-assisted development for Visual Studio.
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
You need to use Visual Studio version 17.2.1 vs 17.1.1 (your mentioned version). Refer announcement.

Azure Logic App Integration Tools in Visual Studio 2017

I am an experienced BizTalk developer who is now moving on to Azure logic apps. I have installed Visual Studio 2017 and added the "Azure Logic Apps Tools for Visual Studio" through the Tools|Extensions and Updates menu. However, I don't see an option for creating/editing XML schemas(.xsd files), I don't see the BizTalk EDI X12 schemas and there is no option for creating a map. What am I missing? I have searched and searched with no luck. Thanks.
XSD & Maps are part of the Azure Integration Account service. You need the Microsoft Azure Logic Apps Enterprise Integration Tools in order to use those. You will see that the mapper is very similar to what you know from the BizTalk-world.
I'm not sure Microsoft Azure Logic Apps Enterprise Integration Tools is already supported in VS 2017. I know it's supported on VS 2015.
On a side note, xsd's and maps created using a BizTalk Server Project will also work fine in an Azure Integration Account and Logic Apps,but might lead to a more complex ALM-story.
Right now there is no tooling available for Visual Studio 2017, only for Visual Studio 2015.
The tools are based on the BizTalk components and those components are only available for Visual Studio 2015.
You can download EDI schemas from Open Source Github, but only EANCOM and EDIFACT, X12 messages have been removed due to licensing questions https://github.com/Microsoft/Integration/tree/master/BizTalk%20Server/Schema

Visual Studio 2017 ver 15.3.2 missing Azure Mobile App Template

I am using Visual Studio 2017 Version 15.3.2 to write Xamarin mobile apps.
My issue is that File->New->Project does not offer Azure Mobile Apps anymore. I have attempted to find the templates online and run repair on my Visual Studio installation, but the project template is no where to be found.
Any suggestions?
You could choose Cloud->ASP.NET Web Application template and you will find that Azure Mobile App is a sub project template of ASP.NET Web Application.

Visual Studio Ultimate 2013 doesn't show Windows Azure node in Server Explorer

Just installed VS Ultimate 2013 version 12.0.30110.00 Update 1, then went to the Windows Azure site and created an account. Also downloaded and installed the Windows Azure 2.2 SDK.
I open visual studio and go to Server Explorer. I see Data Connections, Servers (my machine), and SharePoint Connections. I don't see a Windows Azure Node. I look under the tools menu and see Connect to Database, Connect to Server, Add SharePoint connection.
So I download VS 2013 Express for Web, I open it and see under the tools menu Connect to Database, Connect to Windows Azure. I open the server explorer and see Data Connections, Servers, Windows Azure.
Does the Azure functionality only exist in the Web Express version and not in the Ultimate 2013 version of Visual Studio?
There is a separate set of tools for Windows Azure and Visual Studio. Depending on how you installed the SDK, you may not have received these tools: http://msdn.microsoft.com/en-us/library/windowsazure/ee405484.aspx
Additionally, you may need to "sign in" via visual studio for it to see the items in your subscription. You should be able to do this by clicking on the "connect to windows azure" option in the server explorer.
The Windows Azure node ships in the Azure SDK 2.2 and 2.3 as well as in all SKUs of Visual Studio 2013 Update 2. So you should be seeing the node if you have one of those installed.

How to get Windows Azure Biztalk Services SDK in Visual Studio 2013 RTM?

How to get Windows Azure Biztalk Services SDK working on Visual Studio 2013 RTM?
When I try to install it ask for Visual Studio 2012. Does it support VS2013 RTM?
Thanks!
I don't think WABS (Windows Azure BizTalk Services) SDK is ready for Visual Studio 2013. You probably need to wait. Since there is always a dependency between the tools (VS,SQL, Windows) and BizTalk (or even BizTalk Services SDK in this case), typically there will be a delay in supporting the latest developer tools.

Resources