Connect your app to Microsoft Account
To connect your Auth0 app to Microsoft Account, you will need to create an app on the Microsoft Application Registration Portal, generate an
Application Id and
Secret, copy these credentials into Auth0, and enable the connection.
This doc refers to the client steps to connect your client. If you are looking to manage authentication in your application, see Next Steps below.
1. Create an application
Login to the Microsoft Application Registration Portal.
Click Add an app.
NOTE: If you have existing apps, there may be two Add an app buttons. Select the first.
Name your new app and click Create application:
2. Copy your Application Id
On the Registration page that follows, copy the Application Id. This is your
3. Get your password
Click Generate New Password.
Copy your password. This is your
4. Enter your callback URL
Click Add Platform, then select Web.
Enter the following under Redirect URIs:
Scroll down to Advanced Options and make sure Live SDK support is checked.
5. Copy your Client Id and Client Secret
Go to the Auth0 Dashboard and select Connections > Social from the left menu.
Select the Microsoft connection.
Client Id and
Client Secret you saved earlier into the fields on this page on Auth0.
6. Enable your apps
Select the Apps tab of the Microsoft Account settings page in Auth0 and enable the applications you want to use with this connection.
7. Test your connection
On the Social Connections page in the Auth0 dashboard, click the Try button next to the Microsoft connection.
Click Yes to allow your Microsoft app to access your information.
If you see the It Works! page, you have successfully configured your connection to Microsoft Account.
For detailed instructions and samples for a variety of technologies, refer to our quickstarts:
For more background information on client authentication refer to Client Authentication.