Before you start any of this, create a new Azure Mobile Apps as we described in Enter your application URL + /.auth/login/facebook/callback in the Valid OAuth .