Why Outlook can't remember my password - credentials

I'm having trouble with Outlook 2016. It's always asking to enter our credentials even if it's supposed to remember it.The password is still valid.
We are also using skype for business but it's NOT linked with outlook (most of the functionalities) and it's using our local network credentials. Outlook is not using the same credential.
I need to know witch file/gpo I need to change to fix it and make sure it really can remember the password.
Thanks

The problem is not with outlook but it's more related to Windows credentials manager.
when you ask Outlook to save your password, this will be saved in your windows credentials, and outlook will reuse it whenever you are opening it.
for some reason when you have to change your account password, outlook will fail to update the one stored in Windows credentials.
Long story short, you will have to open your credentials manager (Start => look for "Credential manager")
Then you need to click on "Windows Credentials" to see a list of all stored credentials in which you wanna look for one that starts with "MS.Outlook", which will represent your saved email information that will be used whenever you open Outlook.
all you have to do is to expand the account details, then click on Edit, and provide the current password for your email account.
after you save the new password, now outlook will not complain anymore about your credentials :)

Related

User management via google login and custom sign-in. How to avoid conflicts when emails are the same?

I'm working on my first MERN fullstack project (an e-commerce demo). I have almost finished the authentication part, but I am having doubts about how to manage the users who have the same registration email both through custom sign-in and google login on the MongoDB database.
While doing various researches, I noticed that one of the methods used is the following:
1- If the email of the user who logs in via google login is already saved in the database as the same user had already registered via traditional sign-up, a new user will not be created in the database, but with both methods of signing -in we will point to the same user already saved with that email.
2- If there are no users saved in the database with that email (as the user logged in for the first time with google login and did not first register traditionally), once the user logged in with google login, it will be saved to the database for the first time.
However, this method presents problems with regard to the second type of users mentioned above.
In fact, if we merge the accounts with the same email on the database, if the user logs in for the first time with google, no password will be saved on the database. Therefore, if the same user decides in the future to log in in the traditional way, he will not be able to do so because he will not be able to fill in the password field.
How to solve this problem?
Usually sites with the "first Google login immediately creates an account" have 2 solutions to this problem:
As part of the "immediately create an account", they directly ask the user to choose a password.
Alternatively, their "Change password" section allows creating a password should there be none yet. Therefore the account is indeed passworld-less at the beginning, but the user can opt to add a password.
For the 2nd solution, there's the small problem that if the user loses access to their Google account and didn't set a password, they're locked out. Rare case which might not be worth looking out for. And perhaps your Customer Service can still help them out.

Azure: Unable to start the sandbox on Azure Training

I am doing the Azure fundamentals course and require the sandbox environment to do the course.
But despite refreshing the page a hundred times( following the instruction from the troubleshooting page ) I see the same error.
`Email is required to activate a sandbox
Your Microsoft account must be linked to a valid email to activate a sandbox. Go to Microsoft Account Settings to link your email and try again.`
Not sure why I am seeing this error as I am already logged in.
Any ideas that might help?
In my case the email address was verified, yet I still had the same issue.
Here is what I do to make Azure Sandbox work:
Log out from https://learn.microsoft.com
Log out from https://account.microsoft.com
Log in using email address on https://learn.microsoft.com
in my case, long ago, I created the account with an alias when I signed up for skype. Recently I added the #outlook.com email.
I fixed the issue by login using the email #outlook instead of my skype login.
I was also facing the same issue. This was working for me a few months back. Also my account alias seems to be verified since there is no "Verify" button against it on the "Manage how you sign in" page.
I had created the Microsoft account with a username and email id(alias) logging in with the email id solved this issue. This check for email id must have been added recently, because I'd run the sandbox with my username login multiple times in the past.
Hope this helps!
It seems that you haven't verified your email address linked to your MSA.
When you sign up for a Microsoft account or add an email address to your account, a request will be sent to that email for you to verify. To finish the process, just follow the verification link in the email. If you need a new verification email:
Sign in to Manage how you sign in to Microsoft.
A Verify button will be next to any unverified aliases.
Click Verify next to your email address, and then click Send email.
See details here.
It used to work for me too, until it didn't.
This helped: https://learn.microsoft.com/answers/questions/7694/sandbox-activation-failing-1.html
Essentially, what worked for me was to go to the Profile (click the icon at the top right of the page and click "Profile"), under "Settings", add my email address to the "Email for notifications" field.
Then make sure to log out and then back in and try again.
Navigate to Profile
Click Settings
locate "Manage your email preferences", enter your email address and press save.
Retry and it should work. At least it did for me
I had this same issue when working on some Azure training courses.
When I try to activate the sandbox, I get the error:
Email is required to activate a sandbox or lab
Your Microsoft account must be linked to a valid email to activate a sandbox or lab. Go to Microsoft Account Settings to link your email and try again.
For more information, please check the troubleshooting guidance page.
Here's how I solved it:
The problem was that I was logging in with my username instead of my full email.
So instead of my-username#outlook.com, I was using the username my-username.
All I had to do was to log out from https://learn.microsoft.com and https://account.microsoft.com
Afterwhich, I logged in to https://learn.microsoft.com/ with my email which is my-username#outlook.com
This time everything worked fine.
That's all.
I hope this helps
Just Sign out yourself, and Sign in using your email address. it will solve the issue.
Make sure you have linked your outlook email.
If its already linked then log out from MS Learn and try login again.
Here: https://learn.microsoft.com/
It worked for me.
I just ran into this problem.
I had added an outlook.com email alias to my account and set it as the primary.
No matter how I logged in, be it the new outlook.com address or my original hotmail.com address, I would get that error.
Setting my original hotmail.

Vb Script to refresh excel with Credentials

I have an excel file that has data connections linked to SharePoint.
It asks for credentials to connect to SharePoint
I already have a VBScript in place that refreshes the excel automatically and saves it.
Is there a way in which I can embed the credentials and enter into the pop-up.
I am new to VBScript. Any help is appreciated.
Can you embed the credentials? Probably. The real question you should as is should you? If anyone were to gain access to your script, they would have the username and password to a domain account (or even a domain admin account if that is what you are using). Not good.

How does outlook encrypt the password for windows credentials

I using IMsgServiceAdmin::ConfigureMsgService to configure a outlook profile for my exchange server.
When calling this function, windows will popup a dialog to enter the credentials. After I enter the credentials and save, I found it will create a Generic Credentials : MS.Outlook:#.:PUT and the password is encrypted. Such as "##...yBA"
I would like to how does outlook encrypt my password as I want to manually create the credentials before I call ConfigureMsgService so that the credentials windows won't show.
Thanks in advance.
I'm a Senior Escalation Engineer for Outlook here at Microsoft and received this exact question from a customer in the past. We asked the product team if they would be able to document the format used to publish credentials in credential manager. The answer is, no, we can't, because we routinely change the format as new scenarios crop up. It may not be obvious, but the target name of the credential will be different for different scenarios. That's the critical part. Without knowing all of the details for constructing that target name, knowing how to protect the password won't help you.
For Outlook 2010 and below, use CryptProtectData(). The data to protect is a Unicode string containing the password. The length of the data (in bytes) is 2*length of the password in chars excluding terminating 0x0.
For Outlook 2013 and up, CryptProtectData is not used - CredWrite takes the password.

Connecting to SSAS 2005 from Excel 2007 over http: how to make it ask for username and password?

I'm trying to let my users connect to OLAP cube in SSAS 2005 using Excel 2007 over the Internet.
I've set up dynamic security using fact table in cube. It uses UserName function, so users should authenticate to SSAS using windows accounts. I've set up msmdpump.dll component on IIS, allowing windows authentication, but not anonimous one. I created windows accounts on web/SSAS server for remote users. My users' machines are out of my control, I can not use pass-through windows authentication.
Now, if I create connection in Excel and save username and password in it, everything works. But I want users to download Excel file without embedded credentials from my web site, and than be able to enter their credentials. Best option is if they will enter password when opening Excel file.
Problem is as soon as I clear checkbox "save password" in connection properties, or remove "User ID"/"Password" properties from connection string, Excel gives me authentication error and does not save connection properties. So I cannot create a template document or connection file without embedded credentials.
Moreover, I suspect, Excel will not ask user for login/password anyway.
Do you know a solution to my problem? Maybe some workarounds/alternative ways? I appreciate any help.
it is really tough to get what you want to work, if at all. I don't think it will work "over the internet" like you want. They would have to be VPN'd in. Their machine doesnt have to be on the network, but they can still pass the AD credentials through.
http://blog.stevienova.com/2008/01/14/how-to-connect-to-sql-server-vs-tfs-etc-using-windows-authentication-when-computer-is-not-on-active-directory-domain-xp-and-vista/
There are other options to expose the cube in some other ways (SSRS, Excel Services, 3rd party OLAP through Web) that would allow you to do what you want.
Here's something that might be worth trying - in your connection string, get rid of the username and password and add 'prompt=1;'. This will force Excel to ask for the user's credentials before it tries to authenticate them, instead of just using empty credentials to do the authentication.

Resources