How to Allow Only MFA Configuration in Microsoft 365 for VPN Users
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.

- 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.
Ensure you have Security Administrator or Global Administrator privileges in your Azure Active Directory (Microsoft Entra ID) to modify Conditional Access policies.
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.
Log in to the Azure Portal, navigate to 'Security', and select 'Conditional Access'.
Select 'New policy' or choose your existing policy applied to external VPN users.
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'.
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.

Integrate Native VPN MFA or an External Identity Provider
Bypass Microsoft 365 restrictions entirely by utilizing your VPN provider's built-in MFA integration or a dedicated third-party identity provider for external access.
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. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the software: Run the downloaded installer file and follow the simple on-screen instructions to complete the setup.
- 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.

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.




