blog.scoreman.net

Archive for November, 2012

SharePoint 2013 – 401 UNAUTHORIZED

Wednesday, November 7th, 2012

Just started using my new SharePoint 2013 server (hosted in Azure) I noticed that I was getting 401 UNAUTHORIZED when I accessed the site using http://{COMPUTER NAME} but it was working when I accessed it through http://localhost. Turns out this was caused by alternate access mappings not being configured for {COMPUTER_NAME} and because of this the new OAuth authorization was not working properly. You can read more about OAuth here : http://msdn.microsoft.com/en-us/library/fp179932(v=office.15).aspx

Also if you are browsing from the server make sure you configure loopback check exceptions: http://support.microsoft.com/kb/926642/en-us