Microsoft Identity platform Configure dependencies never finish - model-view-controller

I tried to add Microsoft Identity platform to a MVC project in Visual Studio 2019, on Connected Services page, I clicked on Configure next to Microsoft identity platform, then followed the steps:
chose my Azure tenant (b2c)(I am a admin)
chose / create an new app registration
on summary of changes, it said : project changes for dependencies being added or configured:
click finished, the Dependency configuration progress windows showed nothing and stayed open even checked "Automatically close when succeeded",
after sometime, nothing happened, then I canceled it and returned back to Connected Service page, the Microsoft identity platform still show "Configure" icon, not configured like other option (secrets.json(local) which configured in few seconds)
I have tried different projects types, also tried to download a sample project, still the same, am I missing any updates/components/libraries? please advice, thank you very much

I was stuck here too. Tried again and clicked "Finish" instead of Next and it worked.

Related

PUBLISH button is not appearing on the Context Menu

I have been trying to deploy a web application is a .Net Framework
When I right-click on the project Solution, PUBLISH is nowhere to be found I tried Visual Studio 2017 and re-installed, checked and updated the workloads.
I check the checkbox: One-click publishing.
I gave up, I uninstalled it and installed Visual Studio 2019 same thing PUBLISH is not appearing anywhere.
I reset settings on import-export. I look everywhere on the NuGet package manager.
I am out of ideas.
Any hint would be appreciated. I will keep on digging. If ever I find a solution I will create a video because I spent several hours and my client is waiting for this application to be deployed on Godaddy Plesk. It is the first time I do this, I usually install scripts on LAMP Cpanel really easy.
This has been a nightmare for me, everywhere I see seems easy, right-click, click on Publish and create a profile or do Ftp or system files, azure.
But I can not get that blip Button PUBLISH.
Sorry, I am ranting.
You don't right click the solution itself to publish, you right click the web layer of your project and you would see the publish button
here
Ok I do not know if all the re-install and all did something but #fatihyildizhan suggested to click on the web app logo below the solution and it did the trick!

This account has no subscription - Publishing to Azure from Visual Studio

Earlier this year I successfully deployed a MVC app to Azure from Visual Studio.
Now I'm trying to do the same thing again, but now I am told my azure account "has no subscription".
However I am 100% positive I do have a subscription associated with my email. My old MVC app still runs and I can see my Pay-as-you-go is properly charged.
What I Have tried to fix it
Emptied my browser caches, history, cookies etc.
Removed my account from Visual Studio, restarted, and added them again.
Formatted my computer and reinstalled everything (not really because of this problem, but the timing was perfect).
Updated the Azure SDK to the newest 2.9.5.
I did the following things above based on advice from these pages:
Visual Studio not finding my Azure subscriptions
Unable to publish to Azure with VS2015
No subscription found in windows azure account
But alas, no luck.
The only thing that comes to thought is I tried to add an Azure Pass to my account, but without luck. But I can't see how that should change anything...
So my question is: How do I make Visual Studio recognize my current Pay-as-you-go subscription, so I can publish my services, apps, etc. from Visual Studio directly?
Or at least: What has gone wrong? Whom can I contact to get help with this?
As always, thank you for your time and patience, and please write a comment if you need further information.
You may try to connect first via the server explorer (ctrl+alt+s). (The server explorer has an azure root node, if the azure sdk installed)
If you have connected, the publish wizard won't ask (usually) for sign in again.
In my case, the solution was as follows:
Open Server Explorer in Visual Studio, right-click on Azure and select "Manage and filter subscriptions":
Screenshot of Manage Subscriptions Dialog
Click the Certificates tab, click Import, then click Download subscription file. This will take you to the azure portal page where you can download a .publishsettings file for your subscription. After downloading that file, click the Browse button in the Import dialog shown above and select that file.
I had the same issue. To solve it I opened the server explorer (ctrl+alt+s) and refreshed the Azure connection. It still said 0 subscriptions, but in the publishing options I could connect without any issue.

Visual Studio loses password for Azure Website Publish

I am new to publishing to Azure websites straight from Visual Studio. I am running VS 2015, have setup my Azure website with 1 channel so far and have successfully published to the website. I then, went about my week (several reboots) and finally came back to the project, made some changes then tried to publish with the saved publish settings. The password was missing! And, as you know, it is not really a password but rather the hash of the password.
How do you save this information so you are not forced to build a new publish every time you restart Visual Studio? I now have a half dozen publish profiles, all for the one site!
In your publish profile, next to Resource Group, click "Manage in
Cloud Explorer".
In Cloud Explorer, navigate to your App Service.
In the bottom window, click "Download Publish Profile".
In this file you can find your password.
Make sure you are signed in with your azure account by entering your credentials every so often.
If you are signed in, try not changing or clicking on the password field. Just click on publish without touching the previous info.
I always either import the XML from Azure Web portal, or I select the website by signing into Azure in Visual Studio.
Please let me know if this helped.

Visual Studio web project has IIS configuration warnings

One of the web application projects in my visual studio solution has a blue exclamation mark icon on it and the tool tip shows The Web project <Project.Name.Here> has IIS configuration warnings
I can't see anything in the project Properties pages, or in the web.config file. It started yesterday, and I assumed restrating VS and reloading the project may get rid of the warning, but it has not.
What is this and how do I go about resolving this issue?
Google has not been helpful this morning!
Try right clicking the solution in the Solution Explorer, the option Resolve Errors should be available.
Selecting this should show you the message behind the icon you're seeing on the project. For me, this was:
ASP.NET 4.0 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.0 in order for your site to run correctly.
If this is the message you're receiving, this MS blog post may help you fix it.
Update
Note that once you've selected this option, the IDE assumes you've resolved the errors and removes the icon and menu option (!). So make sure you read it or restart VS to see it again.

Cannot use remote debugging for Azure Cloud Service, Symbols have not been loaded

I am trying to use the Remote Debugging from visual Studio of a Cloud Service web role and/ or Worker role.
I am using VS 2013 Ultimate with update 4.
I am using the Azure 2.6 SDK.
No matter what I do, my breakpoints have the warning, 'the breakpoint will not be hit, no symbols have been loaded for this document.'
I have tried many things based on various posts, including:
Of course I have checked the 'Remote Debugging' when deploying the cloud project.
I am using Debug Deployment.
I have confirmed using RDP that compilation debug=true is in the web.config.
I have tried both checked and unchecked for VS setting 'Enable Just My Code'.
I have added the path to my local bin folder in the Symbols dialog in VS.
I have tried choosing both WP3 and WAIISHost processes, both individually and both at the same time.
I have tried both 'Automatic' and selecting the managed .NET 4.0 4.5 in the 'Attach To' (Note that when I click Select, and it opens with the 'Automatic' radio button, none of the checkboxes are selected. I saw a screenshot in one of the articles that showed this with 2 of the checked when Automatic was lit). All of my projects target the 4.5 Framework. I have tried checking just 4.5 and 4.5 and Native both (which issues a warning about role restarting when debugging stops.
OK, I just redeployed (Published) again, and the only thing I changed was unchecking the 'Deployment update' checkbox. Not sure if this was it, or just something went wrong before, however it is working now.

Resources