Search

Steve's Stuff

Random postings of tech and other life things…

Category

Mac

Fixing Authentication Failed error in Outlook 2016 on the Mac

I had a weird issue this morning. When logging into all my apps to begin my work day I noticed that my Exchange account wasn’t connecting in Outlook.  We use Office 365 with SSO, and it was continually prompting me with our SSO page to logon in a loop.  I checked the Mail app and everything appeared fine in there, so I knew it wasn’t Office 365 but something with my local Outlook app.  I attempted to remove and readd the account and then started to get “Authentication failed. Check your account information and try again.” It was this point I went to keychain access.  I figured something in keychain had been saved or set wrong and it was passing bad credentials to Office 365 from keychain.  There are 3 sets of items you will need to delete to clear everything being used by Outlook.

  • Open up Keychain Access
  • With “login” highlighted search for the following 3 items
    • Search “Exchange” and delete everything
    • Search “Office” and delete everything
    • Search “ADAL” and delete everything

After I performed those steps, I returned to Outlook and it allowed me to add my account back to the app as expected. I hope this can help others that might have this issue as well.

Editing Powershell on a Mac

So I’ve been looking for something like this for a long time but apparently just not hard enough.  I finally found this blog that had exactly what I’ve been looking for. The original blog is here.

http://www.jonathanmedd.net/2013/03/writing-powershell-code-on-os-x-using-sublime.html

Basically, this will give you a text editor to highlight the syntax of powershell for editing powershell scripts on the Mac.  Most of the time you will have to have a windows machine to do the testing of the script, but it’s nice to have something like this when it’s needed.

First, download Sublime from here: download

Next, download the Zip package (button in the bottom right corner of the page) from here https://github.com/SublimeText/PowerShell

Then, copy the entire powershell folder into the directory here: Users\Username\Library\Application Support\Sublime Text 2\Packages.  The original poster noted that you can just open sublime and navigate to the menus Sublime – Preferences – Browse Packages to open this location.

Once that’s copied in there, just quit and reopen Sublime and then you can navigate to the View menu – Syntax – Powershell v2 and it will highlight the code properly.

I hope this helps anyone else out there that had been looking for this.

Blog at WordPress.com.

Up ↑