MFA Security Issues

How to Allow Only MFA Configuration in Microsoft 365 for VPN Users

Ayan MasoodAyan Masood Nov 2, 2026 871 views

Question details

The user wants to configure Microsoft 365 to allow Multi-Factor Authentication (MFA) setup for external vendors connecting via VPN, while completely blocking their access to Microsoft 365 cloud applications like SharePoint.

Can Microsoft 365 Allow MFA Configuration Only for VPN Users?
Product
Microsoft 365
Device & OS
not provided
Scenario
Setting up MFA for external vendor VPN authentication without granting access to internal Microsoft 365 resources or requiring standard user licensing.
Observed behavior
Conditional Access policies that block all cloud applications also inadvertently block the required MFA configuration flow, preventing an MFA-only service state.
Before you start

Ensure you have Security Administrator or Global Administrator privileges in your Azure Active Directory (Microsoft Entra ID) to modify Conditional Access policies.

Solution 1Recommended

Use Scoped Application Policies in Conditional Access

Instead of applying a blanket block on all cloud apps, specifically block individual Microsoft 365 resources while leaving authentication and MFA setup portals available.

Microsoft 365 does not offer a dedicated whitelist for MFA configuration when 'All cloud apps' are blocked. The authentication portals themselves are treated as cloud applications by Azure AD. Blocking all apps universally prevents users from registering their Microsoft Authenticator app.

1
Access Conditional Access policies

Log in to the Azure Portal, navigate to 'Security', and select 'Conditional Access'.

2
Create or modify a policy

Select 'New policy' or choose your existing policy applied to external VPN users.

3
Scope the target resources

Under 'Target resources', change the selection from 'All cloud apps' to 'Select apps'. Individually select the Microsoft 365 resources you want to restrict, such as 'Office 365 SharePoint Online' and 'Exchange Online'.

4
Save and verify access

Save the policy changes. Instruct a test external user to attempt logging in to configure their MFA. They should now be able to register their device without gaining access to your internal SharePoint sites.

Use Scoped Application Policies in Conditional Access
Licensing Requirements: Even if users are unassigned from Microsoft 365 licenses to prevent application use, applying Conditional Access policies still requires the tenant to have appropriate Azure AD Premium P1 licensing.
Free Microsoft Office alternative

Looking for a Secure, Lightweight Alternative to Microsoft 365?

While configuring complex MFA and Conditional Access policies for Microsoft 365 can be challenging and costly, managing your daily office documents doesn't have to be. WPS Office offers a free, highly compatible alternative to Microsoft Office, providing powerful tools without the heavy tenant licensing and access policy burdens.

  1. 1. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install the software: Run the downloaded installer file and follow the simple on-screen instructions to complete the setup.
  3. 3. Start creating documents: Launch WPS Office to immediately begin opening, editing, and saving your Microsoft Office compatible files without requiring an expensive cloud subscription.
Fully compatible with Microsoft Office formats (Word, Excel, PowerPoint)Free and lightweight with a familiar, easy-to-learn user interfaceNo complex tenant licensing or cloud access conditional policies requiredBuilt-in PDF editing, sharing, and robust document security features
microsoft office alternative - wps office

Frequently Asked Questions

Why does blocking all cloud apps in Conditional Access block MFA configuration?

Microsoft Azure AD treats its own authentication and security registration portals as cloud applications. When a Conditional Access policy blocks 'All cloud apps', it universally blocks access to these portals, preventing users from completing the necessary MFA setup flow.

Can I assign an MFA-only license in Microsoft 365?

No, Microsoft 365 does not offer a specific 'MFA-only' service account license. Users typically require standard licensing, or the tenant requires Azure AD Premium P1/P2 licenses to properly enforce Conditional Access policies on the directory accounts.

Will removing a user's Microsoft 365 license prevent them from accessing cloud applications?

Yes, unlicensing a user removes their right to use Microsoft 365 applications like SharePoint, OneDrive, and Exchange. However, because they still exist in the Azure AD directory, they can still be used for authentication and be subjected to Conditional Access policies.