Error creating deployment credentials for azure - azure

I have a website successfully deployed to Azure and it's been working fine. Recently the website stops responding seemingly out of nowhere with "server encountered an internal error". It comes back on its own.
To troubleshoot this, I believe I need to FTP the logs from the website to review them.
To get the logs, I believe I need to create Deployment Credentials for the website (I normally deploy from within Visual Studio using a publishing profile.
When I go to create the deployment credentials, I repeatedly receive the error "Failed to Set Credentials with error: 'Cannot modify this user as there is another operation in progress.'"
I am not aware of any other operation in progress. Is there a way to look at what other operation is in progress? Does this even sound like a legitimate issue? Is this maybe a misleading error message where the issue is actually something else?
Thanks in advance

I'm able to access Logs through FTP like this:
Set your username and password in Deployment credentials section
Switch to Properties section to see FTP connection details
In your preferred FTP client create connection:
Server name: FTP_HOST_NAME:21/LogFiles
User name: FTP/DEPLOYMENT USER
Password: Password set in Deployment credentials
Use passive mode
No SSL explicit

See this recent link HERE
Someone from MSFT says that data center maintenance is happening. Not sure if that's the real reason though.

Did you try to use the credentials from the "Get Publish Profile" file?
You can also use the publish profile file to connect with FTP.
Go to the Overview category and click on get publish profile.
Then open this file with a file editor and use the following credentials:
userName: the normal username
userPWD: the password
publishUrl (The one with FTP): the host or server.

Related

Publish Azure Function

When I attempt to publish to Azure, a durable function, I am asked for credentials.
When I enter the credentials correctly the login screen disappears but the publish page does not advance and still requires me to log in.
I know my user ID and password are correct but just to be sure I used the wrong password and the screen says I've used the wrong password.
So I know I'm logging in correctly.
Is there any way to get other log information to see why I'm unable to publish my function to azure?
Also, in the upper right side of the dialog it does show that I am logged into Azure so I'm not sure why the additional login attempt is required.
If you are using Visual Studio code, you can publish your project directly from there. Just got to add the Azure extension and login in. Maybe try that

Problems publishing a ASP.NET Core 3.1 project to azure Getting a message "Your account is at risk"

I am trying to publish a project from Visual Studio 2019 (fully updated) to azure. But when I try to login I get the message:
Your account is at risk
To help you—and only you—get back into . I verify my account by sms message and enter the old and new email address. But then again when I try to login it again wants me to verify.
At the same time, the email works when I go into Azure portal and I also managed to deply a Microsoft SQL database into Azure SQL. (Though initially I had to add the IP address in the firewall on Azure). Also I updated the location of the user to Thailand (Where I am), in case the system matches the IP address to the location.
OTher things I have in place are for example the resource group. And I also tried to create an app in Azure portal and then publish it to this, but the issue is that I can't login from Visual Studio.
Any suggestions on how I can publish a project to Azure?
------- UPDATE --------------
Still in the loop of login, verify, new password and login again. The screen I get is like this:
The following screens are:
enter code send by sms
Enter old and new password
Login
-. And back at the verify screen again.
Any suggestions.
Based on the suggestion below I also removed some of the credentials in the credential manager (those that I thought might have to do with this issue).
One possiblity is that there is an old version of your password stored in Credential Manager.
When you try to login via Visual Studio it fails because the password is incorrect. Trying to login with the incorrect password also causes the account to lock, requiring you to verify with SMS.
If this is an Azure WebApp, your best bet is to download the publish profile and use it in your Visual Studio, this way you'll be able to publish your app.

Azure Digital Twin Authentication - InteractiveBrowserCredential Authentication Failed

Trying to run the sample from Azure-Samples/digital-twins-samples.
It is failing here in this code
client.GetDigitalTwin("---");
I have entered the required credentials in the authentication window and it gives an exception saying "InteractiveBrowserCredential Authentication Failed".
Inner Exception - "Only loopback redirect uri is supported, but urn:iet:wg:oauth:2.0:oob was found." Configure http://localhost or http://localhost:port both during app registration and when you create the PublicClientApplication object. See https://aka.ms/msal-net-os-browser for details
I have verified whether the role "Azure Digital Twins Owner (Preview)" is present for my user id and I am able to view/update the models & twins in the digital explorer sample from this example ADT explorer, but unable to update model through code. I believe there is some configuration missing in the reply url of the desktop/web url.
Any idea how to fix this issue.
After discussing directly on this issue, we observed that the Internet Explorer on Client Machine is causing/experiencing some blocking on pop-ups.
Resolution 1:
Please check if there are any pop-up blockers enabled on the browser.
Please change the default browser to another browser [like chrome]
and re-try.
Clear the browser cache and close all opened browser sessions.
Restart VS2019 and try to run the sample code.
Resolution 2:
Make sure you are using Azure.Identity latest NuGet Package. As of today 09/02/2020 the working version is Azure.Identity 1.2.2
Resolution 3:
Please make sure the AAD Application Authentication has a 'Mobile & Desktop Application' Platform added, along with the redirect URL.
For more information please visit this Github issue:

Web deployment task failed. ERROR_USER_UNAUTHORIZED

I am trying to deploy my Bot to azure. I have created it in azure and i downloaded the source code. But now im trying to deploy it again i'm getting the error on the title. I got all the credentials correct because i wrote it down before. This is the error.
Severity Code Description Project File Line Suppression State
Error Web deployment task failed. (Connected to the remote computer ("dotnetfpbot.scm.azurewebsites.net") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.)
Make sure the site name, user name, and password are correct. If the issue is not resolved, please contact your local or server administrator.
Error details:
Connected to the remote computer ("dotnetfpbot.scm.azurewebsites.net") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.
The remote server returned an error: (401) Unauthorized. AzureBot 0
If ever my username or password is wrong is there a way to change them?
please delete the publish profiles and rebuilt them by going through the wizard again.
Yes. Sign in to your Azure account and hit 'get publish profile' at the top of the dashboard after you click into your project and you can send it to Notepad. Much stuff there. It all repeats; It is userPWD="the long password is here"

Error 80045C17 when trying to login at Azure to manage account

Everytime I try to login im my azure account (http://manage.windowsazure.com/), I keep receiving the same error 80045C17, and the error message says nothing more then ask my to try later.
I Tried Every possible browser and the same result comes everytime!
I use the same username to log at every microsoft service.
I can't even stop my sites!
How to fix this?
I was able to fix this by first signing in to http://msdn.microsoft.com and then go to https://manage.windowsazure.com . It is using your Microsoft Live login session anyway so you have to log in to anything Microsoft. For example login.live.com
I think it happened to me because the azure portal was currently opened on another machine with the same account. Make sure you always sign out when you end using the Azure portal.
Thanks,
Alex Vezenkov

Resources