# Authenticate with Microsoft or Azure AD/Entra

> Source: https://agilitycms.com/docs/owners-admins/authenticate-with-microsoft-or-azure-ad

You can sign in to Agility with a personal Microsoft account or with your organization's Microsoft Entra ID (formerly Azure AD) account.

![The Agility sign-in page with the Sign in with Microsoft button](https://cdn.aglty.io/agility-cms-docs/images/block-editor/Screenshot%202025-10-24%20at%202.04.12%E2%80%AFPM-10242025180426.png)

Microsoft confirms who you are, and Agility matches your email address to a user that an administrator has already added to Agility. Nothing else is read from your Microsoft account. Groups, roles and other directory information aren't used, and your permissions come from your Agility role. If your Entra administrator requires MFA or other policies, they apply when you sign in.

## How to sign in

There are two ways:

- **From the email field.** Enter your email address on the sign-in page. If your organization uses Entra SSO, the password field disappears. Select **Login**, and you're sent to the Microsoft sign-in page to sign in as usual.
- **With the Sign in with Microsoft button.** You're sent straight to the Microsoft sign-in page. Enter your **UPN** (User Principal Name) email address.

> [!IMPORTANT]
> With the **Sign in with Microsoft** button, Agility accepts only the UPN email address. Microsoft Entra lets administrators give a user an email address that differs from their UPN, which an attacker could use to impersonate another address, so Agility doesn't trust it. Since October 2025, your Agility email address must be your UPN. If you can't see your instance after signing in, ask your instance administrator to check that your UPN has access.

Here is the sign-in process:

![The Agility sign-in flow for Microsoft and Entra users](https://cdn.aglty.io/agility-cms-docs/images/block-editor/image-10242025175626.png)

## Sign in with Microsoft or Enterprise SSO?

**Sign in with Microsoft** is available to everyone. It's a convenient way to sign in, but on its own it doesn't stop your users from also signing in with a password or another provider.

**[Enterprise SSO](/docs/owners-admins/enterprise-sso-with-agility-cms)** connects Agility to your organization's identity provider for your email domains. With the other sign-in methods turned off, every user must sign in through Entra, so your Conditional Access and MFA policies apply to every sign-in. Choose Enterprise SSO if your organization needs to control how and from where people sign in.

## Direct link to Entra sign-in

To send users straight to the Microsoft Entra sign-in page, for example from your intranet's app portal, use:

```text
https://manager.agilitycms.com/login?connection=azure-ad
```

---

## Related pages

- [User Authentication](https://agilitycms.com/docs/owners-admins/user-authentication.md)
- [Multi-Factor Authentication](https://agilitycms.com/docs/owners-admins/multi-factor-authentication.md)
- [Enterprise Single Sign-On with Agility](https://agilitycms.com/docs/owners-admins/enterprise-sso-with-agility-cms.md)
- [SAML Identity Provider Integration](https://agilitycms.com/docs/owners-admins/saml-identity-provider-integration.md)
- [Authentication and Profiles](https://agilitycms.com/docs/owners-admins/authentication-and-profiles.md)
- [Governing AI Access to Agility CMS](https://agilitycms.com/docs/owners-admins/governing-ai-access.md)
- [Security Review Guide](https://agilitycms.com/docs/owners-admins/security-review-guide.md)

Index of every docs page: https://agilitycms.com/docs/llms.txt
