---
title: Registering your application to use Microsoft accounts
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

To enable users on your website to sign in with personal Microsoft accounts, you need to register an application with the Microsoft identity platform:

1. Sign in to the [Azure portal](https://portal.azure.com/).
2. Select the **Azure Active Directory** service and then **App registrations**.
3. Click **New registration**.
4. Enter an appropriate **Name** for your authentication application.
5. In the **Supported account types** area, select  **Accounts in any organizational directory and personal Microsoft accounts**.
6. In the **Redirect URI** area, select **Web** and enter the full URL of your website's default page (Home page).
7. Click **Register**.
8. On the application **Overview**, note down (copy) the **Application (client) ID** value.
9. Switch to the **Authentication** tab and add another **Redirect URI**:
   1. Set the type to **Web**.
   2. Enter the URL of your website's _CMSPages/LiveIDLogin.aspx_ system page. Include the fully qualified domain name (including the protocol and virtual directory), for example: _https://kenticositedomain.com/CMSPages/LiveIDLogin.aspx_
   3. Click **Save**.
10. Switch to the **Certificates & secrets** tab and click **New client secret**.
11. Create the client secret and note down (copy) the value.

> **Info:** For further information about Microsoft authentication applications, see: <https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app>

Your authentication application is ready. Next, you need to enter the Application ID and client secret values into the corresponding [settings in Kentico](https://docs.kentico.com/k12sp/managing-users/user-registration-and-authentication/configuring-third-party-authentication-services/windows-live-id-authentication/configuring-windows-live-id-authentication.md).
