In today's cybersecurity landscape, attacks targeting user identities are constantly increasing. Recent studies indicate that more than 80% of security breaches involve compromised credentials or identities. This highlights how crucial it is to protect identities in business environments. Microsoft Entra ID, formerly Azure Active Directory, is a powerful tool for managing identity and access in the cloud, but it needs specific adjustments to achieve maximum security.
At Allbit Solutions, our Microsoft 365 security audits review more than 300 critical settings, following Microsoft best practices and CCN-CERT guidance aimed at compliance with Spain's National Security Framework (ENS). This thorough analysis is the first step of our security service, designed to identify vulnerabilities and improve your organisation's protection.
The recommendations in this article are a subset of essential Entra ID measures that we check in our audit and correct, where necessary, as part of our security services. Although we cannot guarantee that these actions will completely prevent identity theft, they are a solid starting point to strengthen your company's security and mitigate risk.
This is the first in a series of Allbit Solutions articles covering minimum recommendations for different Microsoft 365 services. Let's get started!
1. Limit Global Administrators to 5 or fewer
Recommendation: make sure the number of Global Administrators in your tenant is five or fewer.
Why it matters: Global Administrators have full access to every Microsoft 365 setting and resource. Limiting their number reduces the risk of unauthorised access and possible security breaches.
How to implement it:
- Sign in to the Microsoft 365 admin center with Global Administrator credentials.
- Go to Users > Active users.
- Select Roles and then Admin roles.
- Review the users assigned the Global Administrator role.
- Reassign roles to reduce the number of Global Administrators to five or fewer.
- Assign lower-privilege roles to other administrators according to their duties.
2. Don't expire passwords, and enable multi-factor authentication
Recommendation: set passwords to never expire and make sure multi-factor authentication (MFA) is active.
Why it matters: expiring passwords can lead to insecure practices such as weak passwords. Combining non-expiring passwords with MFA significantly increases security by requiring an additional verification method.
How to implement it:
- In the Microsoft 365 admin center, go to Settings > Org settings.
- Select Security & privacy.
https://admin.microsoft.com/#/Settings/SecurityPrivacy/:/Settings/L1/PasswordPolicy - Turn off Set user passwords to expire after a number of days.

- Sign in to the Azure portal with Global Administrator credentials.
- Go to Microsoft Entra ID > Security > Conditional Access.
- Select Create new policy from templates.
https://portal.azure.com/#view/Microsoft_AAD_ConditionalAccess/ConditionalAccessBlade/~/Overview
- Review and apply the following minimum recommended templates:
- Require MFA for administrators:
- Protects accounts with administrative roles by requiring MFA at sign-in.
- Select the template and click Use template.
- Review the configuration and click Create.
- Require MFA for all users:
- Requires MFA for every user in the organisation when accessing cloud apps.
- Select the template and click Use template.
- Review the configuration and click Create.
- Require MFA for Azure management:
- Ensures that any access to Azure management tasks requires MFA.
- Select the template and click Use template.
- Review the configuration and click Create.
- Require MFA for administrators:
- Make sure you enable each policy after creating it.
Before enforcing Conditional Access policies, we recommend configuring them first in report-only mode. This lets you assess their impact without affecting user access, avoiding unexpected blocks or loss of access. This audit period also gives users enough time to set up Multi-Factor Authentication (MFA) properly, ensuring a smoother, controlled transition when the policies are finally enforced. Below, in "5. Make sure all users complete MFA registration", you can check that every user has registered before enforcing the policy.
- Notify users:
- Inform users about the new MFA requirement.
- Provide instructions on how to register their devices for MFA.
https://support.microsoft.com/en-us/office/set-up-your-microsoft-365-sign-in-for-multi-factor-authentication-ace1d096-61e5-449b-a875-58eb3d74de14 - Offer support for the initial setup.
Note: Conditional Access templates provide default configurations that follow security best practices. Using them simplifies the implementation of effective security policies without having to configure them from scratch.
3. Don't let users consent to untrusted applications
Recommendation: prevent users from granting permissions to untrusted applications.
Why it matters: allowing users to consent to unverified applications can expose the organisation to security risks, including unauthorised access and data leaks.
How to implement it:
- Sign in to the Azure portal as a Global Administrator.
- Go to Microsoft Entra ID -> Enterprise applications.
- Select Security -> User consent settings.
https://portal.azure.com/#view/Microsoft_AAD_IAM/ConsentPoliciesMenuBlade/~/UserSetting - Under User consent settings, select Do not allow user consent.
- Save the changes.

4. Enable a policy to block legacy authentication
Recommendation: implement a policy that blocks legacy authentication protocols.
Why it matters: legacy authentication protocols do not support modern security methods such as MFA, which makes them vulnerable to attack.
How to implement it:
- In the Azure portal, go to Microsoft Entra ID -> Security > Conditional Access.
- Create a new policy from the template: Block legacy authentication
https://portal.azure.com/#view/Microsoft_AAD_ConditionalAccess/CaTemplates.ReactView
- Under Assignments, select Users and groups and choose All users.
- Under Cloud apps or actions, select All cloud apps.
- Under Conditions, configure Client apps and tick Legacy authentication.
- Under Access controls, select Block access.
- Enable the policy.
Note: when creating a new Conditional Access policy from the "Block legacy authentication" template, it is important to exclude accounts that, for compatibility reasons, need to use older protocols such as SMTP. For example, some multifunction printers or older applications may require them. Make sure you keep both the affected users and the source IP addresses to a minimum.
In addition, enable the policy in report-only mode first to monitor its impact and make sure the exclusions and restrictions work correctly without disrupting critical services. Once the behaviour has been validated, you can enforce it.
5. Make sure all users complete MFA registration
Recommendation: make sure every user has completed MFA registration.
Why it matters: full MFA adoption improves the overall security posture. Enabling MFA is not effective if users don't complete the registration process.
How to implement it:
- In the Azure portal, go to Authentication methods > User registration details
https://portal.azure.com/#view/Microsoft_AAD_IAM/AuthenticationMethodsMenuBlade/~/UserRegistrationDetails - Review the MFA status of all users.
- Contact users who have not completed registration.
- Provide guidance and support as needed.
6. Protect all users with a sign-in risk policy
Recommendation: implement a sign-in risk policy to protect users based on detected risk.
Why it matters: sign-in risk policies help protect automatically against suspicious sign-in attempts. Note: requires a Microsoft Entra ID P2 licence.
How to implement it:
- In the Azure portal, go to Microsoft Entra ID -> Security > Identity Protection > Sign-in risk policy.
https://portal.azure.com/#view/Microsoft_AAD_IAM/IdentityProtectionMenuBlade/~/SignInPolicy - Configure the policy to include All users.
- Under Conditions, set the Sign-in risk level to Low and above.
- Under Access, select Block access.
- Enable the policy.

7. Protect all users with a user risk policy
Recommendation: implement a user risk policy to deal with compromised accounts.
Why it matters: user risk policies help detect and remediate compromised user accounts. Note: requires a Microsoft Entra ID P2 licence.
How to implement it:
- In the Azure portal, go to Microsoft Entra ID > Security > Identity Protection > User risk policy.
https://portal.azure.com/#view/Microsoft_AAD_IAM/IdentityProtectionMenuBlade/~/UserPolicy - Include All users.
- Set the User risk level to Medium and above.
- Under Access, select Block access.
- Enable the policy.

8. Prevent users from creating security groups
Recommendation: restrict users from creating security groups.
Why it matters: controlling group creation prevents insecure configurations and keeps administration tidy.
How to implement it:
- In the Azure portal, go to Microsoft Entra ID > Groups > General settings.
https://portal.azure.com/#view/Microsoft_AAD_IAM/GroupsManagementMenuBlade/~/General - Set Users can create security groups in Azure portals to No.
- Save the changes.

9. Prevent users from creating Microsoft 365 groups
Recommendation: prevent users from creating Microsoft 365 groups.
Why it matters: limiting group creation avoids a proliferation of unnecessary resources and possible security risks.
How to implement it:
- In the Azure portal, go to Microsoft Entra ID > Groups > General settings.
https://portal.azure.com/#view/Microsoft_AAD_IAM/GroupsManagementMenuBlade/~/General - Set Users can create Microsoft 365 groups in Azure portals to No.
- Save the changes.

10. Guest users should have limited access to properties and memberships of directory objects
Recommendation: make sure guest users have limited access to directory properties and memberships.
Why it matters: limiting guest access protects sensitive information and reduces the risk of data leaks.
How to implement it:
- In the Azure portal, go to Microsoft Entra ID > Users > User settings.
https://portal.azure.com/#view/Microsoft_AAD_UsersAndTenants/UserManagementMenuBlade/~/UserSettings - Under Guest user access, set Guest user access restrictions to Guest users have limited access to properties and memberships of directory objects.
- Save the changes.

11. Only users assigned to specific admin roles can invite guest users
Recommendation: allow only certain administrative roles to invite guest users.
Why it matters: controlling who can send invitations reduces the risk of unauthorised access and protects internal information.
How to implement it:
- In the Azure portal, go to Microsoft Entra ID > Users > User settings > Manage external collaboration settings.
https://portal.azure.com/#view/Microsoft_AAD_IAM/AllowlistPolicyBlade - Under Guest invite settings, select Member users and users assigned to specific admin roles can invite guest users including guests with member permissions.
- Assign the Guest Inviter role to users who need this capability.

12. Don't allow consent to applications that access data
Recommendation: prevent users and group owners from consenting to applications that access organisational data.
Why it matters: this stops unauthorised applications from accessing sensitive data through group owner consent.
How to implement it:
- In the Azure portal, go to Microsoft Entra ID > Enterprise applications > Consent and permissions > User consent settings.
https://portal.azure.com/#view/Microsoft_AAD_IAM/ConsentPoliciesMenuBlade/~/UserSettings - Under User consent for applications, select Do not allow user consent.
- Save the changes.

- Under Admin consent settings, set Users can request admin consent to No.

- Save the changes.
13. Shared mailboxes should have sign-in blocked
Recommendation: make sure sign-in is disabled for all shared mailboxes.
Why it matters: shared mailboxes are designed to be accessed without individual credentials; enabling sign-in can be a security risk.
How to implement it:
- In the Microsoft 365 admin center, go to Active users.
https://admin.microsoft.com/Adminportal/Home#/users - Find and select the accounts associated with shared mailboxes.
- Make sure the Sign-in option is set to Blocked.
- Repeat the process for every shared mailbox.

14. Enable Temporary Access Pass
Recommendation: enable Temporary Access Pass (TAP) for user onboarding.
Why it matters: a TAP offers a secure way to set up authentication methods without exposing permanent passwords.
How to implement it:
- In the Azure portal, go to Microsoft Entra ID > Security > Authentication methods > Temporary Access Pass settings.
https://portal.azure.com/#view/Microsoft_AAD_IAM/AuthenticationMethodsMenuBlade/~/AdminAuthMethods - Enable Temporary Access Pass.

- Configure the options to suit your organisation's needs.
- Save the changes.
15. Configure company branding for the sign-in page
Recommendation: set your company branding on the sign-in page.
Why it matters: a customised sign-in page helps users verify its authenticity, reducing the risk of phishing attacks.
How to implement it:
- In the Azure portal, go to Microsoft Entra ID > Company branding.
- Click Customize.

- Upload your logo and customise the branding elements.
- Save the changes.
Don't put off applying these basic Entra ID security measures any longer. The effort needed to configure them is small compared with the large benefits they bring, and the risk of not doing so is too high. Implementing them will protect your organisation from major threats and considerably improve the security of your tenant. If you need our help to put them in place or have any questions along the way, don't hesitate to contact us. If you found this article interesting but you are not the person responsible for security in your organisation, please share it with the right person. And if you don't have a security lead, we are here to help you fill that gap.

